Stephan Spengler
31ea968480
Change openrct2/ride methods to UpperCamelCase, part 2
2023-01-17 17:42:29 +01:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Umar Ahmed
960a989d05
Close #11473 : Implement FileWatcher for macOS
2023-01-08 14:18:13 +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
frutiemax
b67a80aaba
Add RIDE_TYPE_FLAG_IS_SPIRAL_SLIDE flag ( #18848 )
2022-12-17 16:42:51 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
73
048352edca
Guests will use Vanilla behaviour when choosing whether to head for a ride when leaving the park #15969 ( #18500 )
...
* Fix #18501 : Guests incorrectly determining ride
This will restore guest behaviour to how it was in rct2 vanilla by having them only try to determine whether to ride a ride if they haven't already decided to leave the park
* Fix peeps incorrectly deciding when to get on rides in rain
This should now match how vanilla operates in the rain
* Update replays
Co-authored-by: reticulatingsplines <13323105+ReticulatingSplines@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2022-11-04 07:22:04 +00:00
Rik Smeets
6b088e550c
Revert "Replace Chose with Choose for grammatical purposes ( #18440 )"
...
This reverts commit 38d5793b0b .
2022-11-03 13:43:19 +01:00
Rik Smeets
b2ae5b1413
Fix guests stopping dead in tracks at crossings ( #18245 )
...
When guests have to stop for a railway crossing, they stop dead in their tracks - right at the frame at which stop walking. This could look a tad weird at times.
Now, guests will assume a natural idle waiting position. If they have food or a drink, they will continue consuming it from time to time. And occasionally, guests might even wave at the train passing by!
2022-11-01 08:43:38 +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
73
38d5793b0b
Replace Chose with Choose for grammatical purposes ( #18440 )
...
The action is being performed in the present tense so it makes far more sense to use Choose than Chose in this function
2022-10-26 07:34:35 +02:00
Hielke Morsink
f91df4138c
Merge pull request #18359
2022-10-18 23:39:49 +02:00
Hielke Morsink
3bb8ea3668
Better annotate some magic numbers in for loops
2022-10-17 16:08:55 +00:00
Hielke Morsink
89fa8d8052
Rename public notification config data members
2022-10-16 21:46:06 +02:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Rik Smeets
c80bd455e9
Code style: Remove struct snakes from Paint ( #18341 )
2022-10-14 20:26:36 +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
Rik Smeets
7c2ec714f7
Improve method name for level crossing check
2022-10-09 11:01:10 +02:00
duncanspumpkin
2a593b6029
Remove snake cases from Location and LargeScenery
2022-10-05 20:21:56 +01:00
Nick
4aabc00335
Fix: ghosts are counted in guest scenery or fountain thoughts
2022-10-05 17:57:22 +00:00
Rik Smeets
6d97bbddf9
Fix #18063 : Guests stopping at railway crossings
...
Guests could stop at railway crossings for actions like taking a picture, watching a ride / a ride being constructed, reading a map etc. This also could mean they'd be in the way for a passing train.
Now, these actions will no longer be performed if the guest is at a crossing.
2022-10-01 19:09:51 +02:00
Duncan
3565a0172d
Attack snakes in banners and climate ( #18163 )
2022-10-01 18:54: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
Rik Smeets
6c6ea169f1
Add railway crossing behaviour for staff ( #18057 )
2022-09-24 07:44:19 +02:00
Michael Steenbeek
31e2d7692c
Rename more instances of “vehicle” to “train”
2022-09-22 11:22:18 +02:00
frutiemax
c2cfa95d1a
Add UpdateRideApproachVehicleWaypoints to RTD ( #17124 )
2022-08-31 22:56:13 -03:00
Rik Smeets
e0648f8ddb
Fix guests leaving queue if other guest rejoins it ( #17788 )
...
If another guest returns to the queue from the entrance building, guests arriving at the entrance building through the queue could decide to leave it.
2022-08-29 19:57:51 +01:00
Rik Smeets
67ea7e739f
Fix #14337 : Guest blocking ride entrance ( #17743 )
...
If the ride price becomes unaffordable for a guest who is already waiting to enter a vehicle, that guest became stuck due to an animation loop.
2022-08-22 21:15:58 +01: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
frutiemax
f9bb5b2447
Add GetGuestWaypointLocation to RTD ( #17750 )
2022-08-13 16:53:27 -03: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
Gymnasiast
49896ece43
Pass considerOnlyCloseRides to PeepHeadForNearestRideWithFlags()
2022-08-06 15:00:52 +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
2d75858589
Add IS_FIRST_AID flag
2022-08-06 15:00:52 +02:00
frutiemax
76104cbbee
Use RIDE_TYPE_FLAG_IS_TOILET
2022-08-06 15:00:52 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
frutiemax
bc72c7e24c
Add UpdateLeaveEntrance field to the RTD ( #16986 )
...
Co-authored-by: frutiemax <frutiemax@users.noreply.github.com >
2022-07-26 19:33:54 -03:00
8street
213696ea27
Add option to sell merchandise in random colours
...
Co-authored-by: 8street <nikolai_e@rambler.ru >
2022-07-12 22:20:49 +00: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
frutiemax
275e970d69
Add RIDE_TYPE_FLAG_IS_CASH_MACHINE flag to RTD ( #17130 )
...
* Add RIDE_TYPE_FLAG_HAS_CASH flag to RTD
* Rename to RIDE_TYPE_FLAG_IS_CASH_MACHINE
2022-05-04 19:37:11 +01:00
Michael Steenbeek
765bc59acd
Merge pull request #14207 from geoff-B/money32-UDL
...
#14093 User defined literals for Money32
2022-04-06 15:29:26 +02:00
Rik Smeets
760c96224c
Prevent slow motion jumps in Maze
2022-04-06 10:42:00 +02:00
Hielke Morsink
7db9aeb709
Remove max queue length limit
2022-04-05 19:55:47 +02:00