1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
Michał Janiszewski
4a36520ba2 Fix #16408: Report extended version information (#16413)
* Fix #16408: Report extended version information

* Update distribution/changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-10 06:52:39 +00:00
ζeh Matt
2329d3d681 Refactor tile access to be continuous when iterating 2021-12-30 23:03:32 +01:00
duncanspumpkin
8426914c0e Make identifier fixing more conservative. Bump park version
It is still possible to make a park with the legacy names in a version 7 as we don't fail to start the game with the old identifiers loaded
2021-12-15 21:31:47 +00:00
duncanspumpkin
2916daa29d Handle mixed install object loading more gracefully 2021-12-15 21:29:02 +00:00
duncanspumpkin
7e7947fe8b Move legacy identifier interpreting to separate file from parkfile 2021-12-15 21:29:02 +00:00
duncanspumpkin
c0f13ad44a Remove legacy part 2021-12-15 21:27:12 +00:00
duncanspumpkin
98e0782b07 Move parkfile 2021-12-15 21:27:12 +00:00