Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Hielke Morsink
917c091e6b
Rename snake_case functions in OpenRCT2/marketing folder
2023-01-17 23:13:39 +00:00
Michael Steenbeek and duncanspumpkin
12874f2af7
Replace format_string(4) with OpenRCT2::FormatStringLegacy() ( #19190 )
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 21:56:30 +01:00
Michael Steenbeek
d6f58c2f1f
Merge pull request #19194 from Gymnasiast/refactor/sub-loc
...
Rename sub_ and loc_ functions
2023-01-17 21:29:04 +01:00
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00:00
Gymnasiast
3cc2d94b1b
Rename sub_ and loc_ functions
2023-01-17 19:05:14 +01:00
Stephan Spengler
31ea968480
Change openrct2/ride methods to UpperCamelCase, part 2
2023-01-17 17:42:29 +01:00
Hielke Morsink and duncanspumpkin
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
Michael Steenbeek and duncanspumpkin
bf5f7e8e71
Rename format_string(2) and is_user_string_id() ( #19178 )
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 08:59:07 +00:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Duncan
8a8d3105f3
Remove snake_case from first chunk of Drawing ( #19164 )
...
* Remove snake_case from first chunk of Drawing
* Address formatting
2023-01-16 13:50:43 +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
Michael Steenbeek
412bf8f8be
Use ride references instead of pointers
2023-01-07 14:02:18 +01:00
Gymnasiast
1f3e74b48a
Remove obsolete ride_get_track_colour()
...
This was useful before the fields of Ride were rearranged to actually be a TrackColour struct.
2023-01-07 02:51:58 +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
spacek531
ecef614c93
Split Ride::Test into Ride::Test and Ride::Simulate
2022-12-20 22:56:52 +01:00
Gymnasiast and spacek531
3af26d2fe7
Create Ride::ChangeStatusGetStartElement()
...
Co-authored-by: spacek531 <spacek531@users.noreply.github.com >
2022-12-20 22:45:48 +01:00
Gymnasiast and spacek531
f848fe5bd4
Create Ride::ChangeStatusDoStationChecks()
...
Co-authored-by: spacek531 <spacek531@users.noreply.github.com >
2022-12-20 22:43:10 +01:00
Gymnasiast and spacek531
4f48ccc5c8
Create Ride::ChangeStatusCheckCompleteCircuit()
...
Co-authored-by: spacek531 <spacek531@users.noreply.github.com >
2022-12-20 21:59:28 +01:00
Gymnasiast and spacek531
3329da538b
Create Ride::ChangeStatusCreateVehicles() to reduce codedup
...
Co-authored-by: spacek531 <spacek531@users.noreply.github.com >
2022-12-17 18:01:31 +01:00
Gymnasiast
e91d22b203
Use constrefs in a few extra ride functions
2022-12-17 17:52:49 +01:00
Gymnasiast and spacek531
89ed116664
Create Ride::ChangeStatusCheckTrackValidity() to reduce codedup
...
Co-authored-by: spacek531 <spacek531@users.noreply.github.com >
2022-12-17 17:38:33 +01:00
Gymnasiast
4923847f39
Refactor ride track checking code to use constrefs
2022-12-17 17:34:00 +01:00
Gymnasiast
d0ae004b8f
Remove unused symbol ride_reset_all_names()
2022-12-17 17:08:02 +01:00
Gymnasiast
c244791eda
Refactor ride_find_track_gap() to Ride::FindTrackGap()
2022-12-17 17:00:29 +01:00
Spacek531
742294a86f
Add HasMessage() method to ResultWithMessage
2022-12-14 22:56:43 +01:00
Spacek531
d03f5e594e
Refactor track design creation return message
2022-12-14 22:56:43 +01:00
frutiemax
6d804f5323
Add RIDE_TYPE_FLAG_IS_MAZE
2022-12-14 14:21:21 +01:00
Gymnasiast
38b34e841a
Use safe method to access ted block
2022-12-10 22:31:23 +01:00
Gymnasiast
d90d81c7b3
Create method to safely retrieve track sequence block
2022-12-10 22:08:42 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Duncan
7f085e2752
Update rating skipping unused ride ids ( #14425 )
...
* Skip empty ride ids when evaluating ride ratings
This isn't much of a problem atm but when we increase the limit it may start to become an issue
* Increment network version
* Update changelog
2022-11-04 20:17:31 +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
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
Michael Steenbeek
6fe19878f6
More ImageId cleanup ( #18258 )
...
* Remove more usages of uint32 image indices
* Remove unused gfx_get_sprite_size()
* Remove uint32 images from text drawing
* Remove now-unused ImageId overload
* Default-initialise ttfRunIndex
* Suppress false-alarm GCC error
2022-10-10 19:42:40 +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
fa81f119c2
Merge pull request #18208 from Gymnasiast/fix/18204
...
Fix #18204 : Crash opening New Ride window with invalid highlight
2022-10-06 10:54:19 +02: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
2a593b6029
Remove snake cases from Location and LargeScenery
2022-10-05 20:21:56 +01:00
Gymnasiast
33f5fed0e2
Make GetFirstNonNullRideType() member function
2022-10-05 20:24:15 +02:00