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
ζeh Matt
4554d6d883
Fix all uses of RideId
2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Michael Steenbeek
9466e27c68
Fix a typo
2022-02-08 18:27:08 +01:00
skdltmxn
866ad2c016
Use string_view as value
2022-02-06 16:43:26 +01:00
Duncan
5157b57a15
OpenRCT2 Limits ( #16088 )
...
* Move over max rides to limits file
* Move max stations to limits file
* Move over max inversions, golf holes, helices, custhistsize
* Move over max trains per ride
* Bring over Max cars per train and max circuits per ride
* Port over NumColourSchemes and max vehicle colours
* Fix compilation
* Move over max awards
* Move over max peep spawns and park entrances
* Fix rebase issues
* Remove future work
* Switch style
* Update copyright
2022-02-01 20:59:48 +00:00
Michael Steenbeek
f43a4344ce
Remove platform_get_user_directory() ( #16530 )
2022-01-29 09:01:05 -03:00