Duncan
9deed6d98a
Replace snakes in Class names OpenRCT2/N*-P* ( #19227 )
...
* Replace snakes in Class names OpenRCT2/N*-P*
* Rename PODDate (and TimeOfDay for good measure)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2023-01-20 05:24:44 +00:00
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Hielke Morsink
917c091e6b
Rename snake_case functions in OpenRCT2/marketing folder
2023-01-17 23:13:39 +00: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
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
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
spacek531
c82c4ca3a3
Load object version into a tuple
2023-01-07 23:25:39 +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
59f6856cd3
Make steep Log Flume pieces in older parks invisible
2022-12-08 20:03:08 +01:00
Michael Steenbeek
c338e2c292
Merge pull request #18657 from Gymnasiast/objects-release
...
Update objects to v1.3.7
2022-11-24 12:56:52 +01:00
spacek531
a617d393ed
Read and write version field of .park
2022-11-23 23:20:44 +01:00
Gymnasiast
bd11230d46
Update object ID for people who used the development version
2022-11-23 18:22:22 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03: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
duncanspumpkin
2c29190ff8
Remove snakes from entrance
2022-10-04 20:07:35 +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
425000bfca
Don't prompt to 'Save game as' when saving ( #16819 )
...
After loading a saved game and choosing 'Save game', the 'Save game as' window would open the first time every time after loading the save.
Now, it will be saved using the existing save path, except when an autosave is loaded which the player probably doesn't want to overwrite.
2022-09-25 08:33:28 +02:00
Gymnasiast
f5f4a8a2f6
Use gMapSize instead of MAXIMUM_MAP_SIZE_TECHNICAL in appropriate places
...
Backported from my map size refactors.
These functions previously scanned the whole map,
so this might also provide a slight performance boost (not tested).
2022-09-22 16:19:46 +02:00
Michael Steenbeek
31e2d7692c
Rename more instances of “vehicle” to “train”
2022-09-22 11:22:18 +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
leoleotte
863892391d
Fix #17600 : Notifications aren't cleared on park load ( #17705 )
...
When loading a save using the New Save Format (.park files), the notification (news) list is not properly terminated and is preserving previously loaded news from other save files, including the main menu ones.
2022-08-06 13:42:07 +00:00
Michał Janiszewski
b42ff262ef
Add more info to 'trigger assert' button
2022-08-04 18:42:34 +02:00
Michał Janiszewski
a9fe4da279
Use SDL_ShowMessageBox's 'close' value for dummy UI context
2022-08-04 18:42:34 +02:00
Michał Janiszewski
e146ca0853
Make sure to update the screen after displaying an error
2022-08-04 18:42:34 +02:00
Michał Janiszewski
15fad6b979
Prompt user to submit a bug report on park save failure
2022-08-04 18:42:33 +02:00
Michał Janiszewski
0bcb779acb
Present more info to user in case of save failure
2022-08-04 18:42:33 +02:00
Michael Steenbeek
56f6828ba9
Fix #17571 : Researched rides show up as new vehicles in .park scenarios
2022-08-01 23:46:33 +02:00
Gymnasiast
23e9932c45
Add code to update IDs for hybrid/single-rail
2022-06-21 19:05:31 +02:00
Hielke Morsink
c8df66fab9
Log exception when an error occurs
2022-05-29 08:30:42 +02:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
germanaizek
958bfbc08a
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
2022-05-07 16:05:39 +02:00
Gymnasiast
fe9b211894
Allow park files v0
2022-04-24 16:12:25 +02:00
Ted John
3c09e60273
Add error if park version is too old
2022-04-23 15:28:13 +01:00
Ted John
65878dda81
Warn or error if incompatible park version is loaded
2022-04-23 14:45:40 +01:00
Michael Steenbeek
e78c29ea5c
Fix most occurrences of ‘ternary’ ( #16832 )
2022-03-20 19:22:05 +01:00
Ted John
90718ca81c
Refactor patrol area class to new file
2022-03-11 18:39:04 +00:00
Ted John
566bc4d311
Allow patrol areas to be single tiles
...
Change the patrol areas to be stored as a sorted list of points grouped in fixed cells for each staff entity. The complexity will be a mixed O(1) and O(log n) search.
2022-03-11 18:39:04 +00:00
Ted John
b7b8816db7
Add plugin hook for map save
2022-03-07 21:40:48 +01:00
Ted John
1182ff5f19
Add Plugin API for storing data in .park files
2022-02-24 23:55:23 +00:00
spacek531
05b80acfa1
Rename VAR_C4 ( #16217 )
2022-02-22 20:14:42 -03:00
spacek531
82378c09c3
Rename VAR_CE and its unions ( #16215 )
2022-02-20 23:20:06 -03:00
ζeh Matt
f6c466d598
Fix #16617 : Park format storing/loading temporary paused state
2022-02-20 01:22:50 +02:00
Hielke Morsink
f06645d2f7
Make stations a private std::array and use getters for access
2022-02-18 23:21:35 +02:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +00:00
ζeh Matt
c0474d2d27
Merge pull request #16466 from ZehMatt/refactor/identifier-rideid
...
Use TIdentifier for RideId
2022-02-12 11:23:54 -08:00