Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Michael Steenbeek
f2b4d9dcf6
Fix #14003 : NPE in TryReconnectBoatToTrack()
2023-01-14 22:21:03 +00:00
Gymnasiast
ac2e0dd1bf
Pass Ride as ref in more places
2023-01-11 17:42:35 +01:00
Gymnasiast
8d659a5e2f
Pass rct_ride_entry as reference
2023-01-11 17:35:01 +01:00
Michael Steenbeek
412bf8f8be
Use ride references instead of pointers
2023-01-07 14:02:18 +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
spacek531
09c8e4755f
Rename GetBrakeClosed() to IsBrakeClosed()
2022-12-31 14:06:22 +01:00
frutiemax
580639aa3b
Remove goto label 6DCE02 ( #18907 )
2022-12-26 10:48:50 +01:00
frutiemax
29d40d0cba
Create Vehicle::IsCableLift()
2022-12-22 12:26:35 +01:00
Ted John
a136cf79ca
Add RMC friction as special friction sound
2022-11-12 12:04:11 +01:00
Ted John
7dc0c1dddc
Add new audio object for RMC sounds
2022-11-12 12:04:10 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Hielke Morsink
31dd4bf604
Use lower-case u integral suffix
2022-10-29 16:33:05 +02:00
Hielke Morsink
97a7fcc110
Consistently use literal suffix in upper-case
2022-10-29 16:28:53 +02:00
Hielke Morsink
89fa8d8052
Rename public notification config data members
2022-10-16 21:46:06 +02:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03:00
Duncan
7dd8989e70
Next chunk of World/Map.h snakes ( #18296 )
...
* Next chunk of World/Map.h snakes
* Apply clang-format
2022-10-12 06:35:20 +01:00
Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
Duncan
5dba30778d
Code style: Remove more snakes from the park, maphelper, scenery. ( #18222 )
2022-10-08 06:56:17 -03:00
Michael Steenbeek
051ede1598
Merge pull request #18213 from duncanspumpkin/codeStyle4
...
Code style: Remove snakes from Location, LargeScenery and MapAnimation
2022-10-05 22:36:39 +02:00
Rik Smeets
c5904d81d6
Code Style: Remove snakes from paint tile elements ( #18212 )
2022-10-05 21:27:38 +02:00
duncanspumpkin
16581e9288
Address snakes in mapgen and map animation
2022-10-05 20:22:51 +01:00
duncanspumpkin
2a593b6029
Remove snake cases from Location and LargeScenery
2022-10-05 20:21:56 +01:00
Michael Steenbeek
2e6595fe8a
Merge pull request #18050 from IntelOrca/assetpacks-audio
...
Add asset pack manager and asset packs
2022-10-04 19:08:38 +02:00
Rik Smeets
ec12892dba
Remove snake_case from gentle rides ( #18173 )
2022-10-02 19:54:20 +02:00
Ted John
b264a73247
Re-create track sound channel if closed
2022-10-01 13:06:55 +01: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
Rik Smeets
9e68226df0
Fix #10535 : Guests stuck at some level crossings
...
The location of the back vehicle itself should be included in determining whether to clear the 'blocked by vehicle' flag on footpath. Otherwise, in specific cases, blocked footpath can be missed and therefore this flag wouldn't ever be cleared.
2022-09-23 07:53:41 +02:00
Rik Smeets
189ebbced7
Reformat code on updating crossings
2022-09-23 07:11:15 +02:00
Michael Steenbeek
31e2d7692c
Rename more instances of “vehicle” to “train”
2022-09-22 11:22:18 +02:00
Bas
7b5aeece59
Implement plugin getters for subposition and subposition length
2022-09-02 23:18:29 +02:00
frutiemax
306cc65258
Add UpdateRotating field to RTD
2022-08-31 10:10:39 +02:00
Hielke Morsink
7f29e4e39c
Make rct_windowclass strong type WindowClass
...
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02: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
frutiemax
59c31e8b7a
Add AccelerationFactor field to RTD ( #17687 )
2022-08-09 22:20:07 -03:00
frutiemax
9cd6c646a9
Add UpdateMeasurementsSpecialElements field to RTD ( #17659 )
2022-08-09 22:18:15 -03:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Hielke Morsink
d05d675ed9
Refactor window functions to take references 6
2022-07-31 17:23:17 +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
Gymnasiast
d42e67ddfe
Reformat the ifs, remove unnecessary parameter
2022-07-01 23:26:40 +02:00
Gymnasiast
d936aa48e1
Fix #17481 : Roto-drop cars try going up to the wrong top pieces
2022-07-01 18:23:03 +02:00
Ted John
585ebed600
Fix #17297 : Crash when switching language ( #17370 )
...
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
Basssiiie
4d8dd516bf
Fix plugin ‘Car.travelBy()’ moving other cars as well ( #17369 )
2022-06-26 20:28:54 +01: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
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
frutiemax
8ab1258af7
Close #15353 : Add VerticalFactor and LateralFactor fields to TrackElementDescriptor ( #15401 )
...
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com >
2022-05-03 23:27:16 -03: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
X123M3-256
605112297d
Implement RIDE_ENTRY_FLAG_RIDER_CONTROLS_SPEED ( #16837 )
2022-04-06 08:38:24 -03:00