Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Michael Steenbeek
cf9aad7885
Close #19214 : Use consistent casing for RC and RCT ( #19230 )
2023-01-20 08:19:14 +00:00
Duncan
3456797893
Use clang-tidy to get remaining snakes in ride/coaster ( #19200 )
...
* First pass with clang-tidy
Fix Rc RC
Clang format files
* Apply clang tidy to remaining ride files
* Undo table mangling in SplashBoats.cpp
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2023-01-18 20:41:42 +00:00
Stephan Spengler
a79d753d76
Change openrct2/ride methods to UpperCamelCase, part 3/3 ( #19195 )
2023-01-17 20:14:27 +00:00
Stephan Spengler
31ea968480
Change openrct2/ride methods to UpperCamelCase, part 2
2023-01-17 17:42:29 +01:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +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
Karst
2c68c73a24
Add steep drops to the Log Flume
2022-12-07 22:52:22 +01:00
frutiemax
b7a1db6e69
Use BoundBoxXYZ for PaintAddImageAsParent (part 1)
2022-12-04 20:43:19 +01:00
frutiemax
76faa77f6b
Part of #16152 : Use BoundBoxXYZ for PaintAddImageAsChild
2022-11-27 18:33:11 +00:00
Rik Smeets
c80bd455e9
Code style: Remove struct snakes from Paint ( #18341 )
2022-10-14 20:26:36 +02:00
AuraSpecs
46fa09ca91
Fix: Sides of River Rapids’ corners overlay other parts of the track ( #17316 )
2022-10-13 20:52:48 +02:00
Rik Smeets
1d557f40ee
Code style: Remove snakes from steel supports
2022-10-08 19:59:32 +02:00
Rik Smeets
29f61fd403
Code style: Remove snakes from wooden supports
2022-10-08 19:20:59 +02:00
Rik Smeets
00d2dd8ef7
Code Style: Remove snake casing in PaintHelpers ( #18247 )
2022-10-08 11:24:50 +02:00
Rik Smeets
c5904d81d6
Code Style: Remove snakes from paint tile elements ( #18212 )
2022-10-05 21:27:38 +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
Gymnasiast
26c080a0d7
Remove unused symbols, fixes
2022-09-30 00:01:13 +02:00
Gymnasiast
a69a8fa7e8
Remove uint32_t overloads in Paint functions
2022-09-29 21:17:16 +02:00
Michael Steenbeek
6f3790cf98
Modify ride drawing code to use ImageId
2022-09-28 21:36:56 +02:00
73
bfa22d4ac0
Add 4 colour presets to Boat Hire
2022-09-25 19:17:49 +02:00
frutiemax
306cc65258
Add UpdateRotating field to RTD
2022-08-31 10:10:39 +02:00
frutiemax
37500525b7
Add SpecialElementRatingAdjustment field in the RTD ( #17652 )
2022-08-13 22:49:38 -03:00
Duncan
adc51ad9aa
Rework rct_vehicle_colour ( #16051 )
...
* Remove rct_vehicle_colour and replace with VehicleColour
* Update network version
* Update replay version
2022-08-13 19:30:30 +00:00
Gymnasiast
ab68d7d631
Remove ride type check in JuniorRollerCoaster.cpp
2022-08-06 12:19:27 +02:00
frutiemax
d556eafc73
Add LightFXAddLightsMagicVehicle to RTD ( #17211 )
2022-07-30 16:45:41 +02:00
frutiemax
bf432cc943
Add name field to RideTypeDescriptor structure
2022-07-25 00:06:37 +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
Michael Steenbeek
88b3e88bdd
Remove Testpaint ( #17333 )
...
TestPaint served us well, but it hasn’t compiled for years, and before that it produced incorrect results for years.
2022-06-06 10:07:07 +02: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
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
Duncan
9c9b554813
Fix #16890 . Incorrect rotation for splash boats ( #16949 )
2022-04-09 00:32:17 -03:00
Duncan
5760f11349
Simplify Track Cost calcs ( #16940 )
...
* Multiply out 5 in track cost calcs and use _GBP
* Fix typo on Hypercoaster conversion
* Use two decimals for literals converted by _GBP
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-04-07 11:35:11 +01:00
Michael Steenbeek
18be90f8b6
Split TRACK_SLOPE_STEEP into flags for up and down
2022-03-21 21:05:59 +01:00
Ted John
8aafab2a70
Split paint item into element and entity
2022-03-14 21:55:15 +00:00
duncanspumpkin
a5a00517ea
Apply regex on PaintAddImageAsParentRotated2
2022-03-11 13:45:00 +00:00
Duncan
b6175bb556
Apply regex for PaintAddIMageAsParentRotated ( #16775 )
...
* Apply regex for PaintAddIMageAsParentRotated
* Remove unused function
2022-03-11 13:36:55 +00:00
Silent
4172f3eb4e
Close #16493 : Boat Hide and Submarine Ride have odd support costs
2022-01-24 11:40:29 +01:00
spacek531
52d55f5341
refactor ride track groups to use new bitset
...
remove erroneous value from dummy rtd
make comment more descriptive
remove comment
2021-12-23 02:17:57 -08:00
Michael Steenbeek
25cb49f8ce
Pass paint_session as reference
2021-12-19 14:48:00 +00:00
Gymnasiast
86df2b0ea7
const auto* stationObj
2021-12-18 23:22:29 +01:00
Gymnasiast
9d3b76388a
Pass Ride ref to individual track paint functions
2021-12-18 23:01:39 +01:00
Gymnasiast
85e1326832
Pass Ride ref to track_paint_util_draw_pier()
2021-12-18 22:58:26 +01:00
Gymnasiast
089c231224
Pass Ride ref to station drawing function
2021-12-18 22:58:26 +01:00
Gymnasiast
cf6c1d0a40
Pass Ride ref to track_paint_util_draw_narrow_station_platform()
2021-12-18 22:58:26 +01:00
Gymnasiast
76f6fa1b0d
Remove superfluous ride null checks
2021-12-18 22:58:24 +01:00
Gymnasiast
449da0d6bd
Convert ride_get_station_object() to method
2021-12-18 18:48:52 +01:00
Ted John
6cbf87cab3
Refactor paint vehicle to ImageId
2021-12-11 23:06:21 +00:00