X123M3-256
3c4e32458a
Add large sloped turns to hybrid and single rail ( #19547 )
...
* Implement large sloped turns
* Fix formatting
* Add sprites
* Fix large turns button being active on steep slopes
* Remove bad comment
* Increment network,plugin,park version numbers
* Update changelog
* Increment park file version again
2023-04-05 13:47:56 +01:00
Michael Steenbeek
049164c400
Pass dpi as ref when drawing object preview
2023-03-13 16:52:49 +01:00
spacek531
fdbc3d29bb
steam position modifier and animation speed properties ( #11269 )
...
* Add speed and frame properties
* add steam position modifier
* copy code from OpenLoco
* update sin and cos
* add computation function
* finalize locomotion code
* fix formatting
* refine code
* refactor things slightly
* manually fix formatting
* use PascalCase and rename
* fix copyright notice
* fix name again
* rename function, move outt of namespace
* fix rebase issues
* remove pitch table derived from physics
* rename some stuff
* flip vertical component sign to make sense
* change json structure
* create steam particles based on number of animation frames
* fix formatting
* add slope for spiral lift hill down
* fix formatting again
* parens around bitwise and
* make animations separate functions
* rename MultiDimCoaster to MultiDimension
* use EnumValue method
* rework multidim frame count
* bump network to be safe
* fix formatting
* move array out of function
* make table const
* move struct into RideObject.cpp
* try new method to fix numbers in multidim
* implement ZehMatt modulo
* add documentation to new function
* include Yaw.hpp
* rename src/ride/SteamPosition.hpp to src/math/Trigonometry.hpp
* actually add src/math/Trigonometry.hpp
* move ComputeSteamOffset to Vehicle.cpp
* use static asserts on arrays
* fix changelog grammar
* add more static asserts
2023-03-09 15:45:45 +02:00
Gymnasiast
23a5044509
Allow shops and stalls to set their own clearances
2023-02-14 00:52:21 +01:00
Gymnasiast
3dd895abf7
Rename pad_ to Pad
2023-01-21 16:39:35 +01:00
Michael Steenbeek
09b1074d08
Merge pull request #19234 from Gymnasiast/objects-138
...
Objects v1.3.8 + fix #474 : Mini Golf window allows selecting nonexistent players
2023-01-21 15:41:21 +01:00
Duncan
7d08372c80
Remove snake_case from Class names OpenRCT2/Ride*-S* ( #19232 )
...
* Remove snake_case from Class names OpenRCT2/Ride*-S*
* Clang format
2023-01-20 20:58:55 +00:00
Gymnasiast
eb5fe27495
Fix #474 : Mini Golf window allows selecting nonexistent players
2023-01-20 13:24:16 +01:00
Duncan
859b071ddc
Rename classes with snakes OpenRCT2/A*-F* ( #19215 )
...
* Rename classes with snakes OpenRCT2/A*-F*
* Clang format files
2023-01-19 08:16:44 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Duncan
8504c8d05e
Finish Removing snake_case from Drawing Methods
2023-01-16 22:31:34 +00:00
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +00:00
Gymnasiast
1f0d0d1529
Move CarEntrySetImageMaxSizes() to CarEntry.cpp
2023-01-11 18:11:49 +01:00
Gymnasiast
d47f5d380f
Pass CarEntry as a ref in a few functions
2023-01-11 17:57:40 +01:00
Gymnasiast
8d659a5e2f
Pass rct_ride_entry as reference
2023-01-11 17:35:01 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Gymnasiast
33f5fed0e2
Make GetFirstNonNullRideType() member function
2022-10-05 20:24:15 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Karst
0687e4f393
Fix #18007 : River rapids vehicles glitch/sprites get cut off
...
This reverts commit ce95b58d5e ,
"Fix #17992 : Virginia Reel doesn't show sloped tracks".
The problem this commit aimed to fix has been (mostly) fixed
in 0a571cce29 .
2022-09-21 15:06:45 +02:00
spacek531
ce95b58d5e
Fix #17992 : Virginia Reel doesn't show sloped tracks
2022-09-09 08:23:56 +02:00
Michael Steenbeek
d9e23e9dfa
Use ride_type_t instead of uint8_t in more places ( #17803 )
...
Part of preparation for making ride types into objects.
2022-08-13 21:49:19 +02:00
frutiemax
6868b3dcaf
Rename IS_SHOP to IS_SHOP_OR_FACILITY and use it for RideObject
2022-08-06 15:00:52 +02:00
frutiemax
bf432cc943
Add name field to RideTypeDescriptor structure
2022-07-25 00:06:37 +02:00
X123M3-256
55c8a3d775
Add extra vehicle sprite groups (new track pieces part 1) ( #17352 )
...
* Add new sprite groups for zero G rolls
* Fix formatting
* Rename vehicle paint functions
* Fix formatting
* Fix parameter name
* Fix formatting
2022-07-24 05:40:41 +01:00
Gymnasiast
452206701a
Drop support for old names for CAR_ENTRY_FLAG_*
2022-07-11 18:06:23 +02:00
Gymnasiast
8871760472
Rename car entry animation flags
2022-07-11 18:06:22 +02:00
Gymnasiast
06c368694a
Update variables containing a CarEntry
2022-07-11 18:06:22 +02:00
Michael Steenbeek
3fae2413db
Use “car” instead of the ambiguous “vehicle”, part 1
...
Currently, the word “vehicle” is used for both “train” and “car”. This is a first effort towards disambiguation.
2022-06-07 20:36:20 +00:00
spacek531
673ec0fa10
Frames rotation count part 1 ( #17106 )
...
Refactor vehicle sprite groups
rename rotationType to spriteGroup
remove numframes getters from scobject
add sprite groups getters
add documentation to plugin
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2022-06-03 23:03:02 +01:00
X123M3-256
502f06af91
Add "Alpine Coaster" ride type ( #16825 )
...
* Implement "Alpine Coaster" ride type
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2022-05-26 21:28:17 +00:00
spacek531
22c44fac71
Cleanup vehicle drawing code part 4 ( #17105 )
...
* Refactor VehiclePaint to take into account NumRotationFrames
* Reduce copied code
2022-04-30 11:26:55 +01:00
spacek531
5659d43f46
Cleanup vehicle drawing code part 3 ( #16968 )
...
* Cleanup vehicle drawing code part 3
* Create functions to convert between rotation amounts
* Add regions to ease code navigation
2022-04-30 07:56:23 +01:00
Ivan
9c04024537
Close #16933 : Rename car_visual to PaintStyle ( #16969 )
2022-04-11 23:18:18 -03:00
spacek531
5ecb7a6c6a
Cleanup vehicle drawing code part 2 ( #16960 ) ( #16960 )
...
* Rename assembly variable names
* Repurpose unused rct_ride_entry_vehicle field for NumRotationFrames
2022-04-10 21:26:00 +01:00
spacek531
435c38b528
Fix vertical sprite count math
2022-04-06 15:36:39 +02:00
X123M3-256
605112297d
Implement RIDE_ENTRY_FLAG_RIDER_CONTROLS_SPEED ( #16837 )
2022-04-06 08:38:24 -03:00
Michael Steenbeek
e78c29ea5c
Fix most occurrences of ‘ternary’ ( #16832 )
2022-03-20 19:22:05 +01:00
Bas
078078416b
Replace all 'cars_per_flat_ride' 0xFF with 'NoFlatRideCars'
2022-03-04 20:21:15 +01:00
Gymnasiast
3c8558bba0
Use uint32_t in more places
2021-12-30 12:27:43 +01:00
Gymnasiast
b09898ab3b
Clean up ride object rotation frames
2021-12-30 12:26:21 +01:00
Ted John
a324bfab63
Add image manager plugin API ( #16144 )
2021-12-07 20:55:27 +00:00
Gymnasiast
cbdb2c03cd
Use new ImageId in most object previews
2021-12-04 11:55:33 +01:00
Ted John
5f9d03e9df
Refactor ImageId and use in more functions
2021-12-03 19:59:33 +01:00
Duncan
79b12d2953
Introduce DATLimits.h for RCT2 Dat file object limits ( #16034 )
2021-12-01 21:55:52 +00:00
GalBr
c2fa54057a
Remove vehicle_colour and replace references to VehicleColour ( #16055 )
...
This is done because we had two identical structs: vehicle_colour and
VehicleColour. We now only use VehicleColour.
See: #16028
2021-11-29 22:04:31 +00:00
Duncan
cc22b584fd
Introduce RCT2 namespace ( #16037 )
...
* Introduce RCT2 namespace
* Drop RCT2:: prefix where possible
* Drop RCT2 from structure names
* Reduce header includes
2021-11-28 16:51:38 +00:00
Duncan
eba42a9584
Introduce Limits headers. ( #15329 )
...
* Move RCT12 limits to seperate file and namespace
* Remove prefix from constants
* Add rct1 limits file
* Rename constants to remove prefix
* Add RCT2 limits file
* Remove RCT2 prefix from constants
* Move constant to correct header
* Fix rebase mistakes
* Drop prefix
2021-11-27 16:20:05 +00:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
ZehMatt
e520e4f991
Use EnumMap for RideObject lookup tables
2021-07-29 17:07:48 +03:00