Commit Graph
21 Commits
Author SHA1 Message Date
ζeh Matt cec30e093d Merge pull request #15991 from ZehMatt/refactor/bannerid
Use TIdentifier for BannerIndex
2021-12-11 08:08:27 -08:00
Duncan 6dc1efde82 Make awards a vector (#16134)
* Make awards a vector

* Fix compiler and use one less branch
2021-12-11 14:45:50 +00:00
Michael Steenbeek 2d1af0ec42 Replace many GetType() calls with GetTypeN() 2021-12-10 22:43:17 +01:00
ζeh Matt e6187a0af4 Use BannerIndex::UnderlyingType for iterations 2021-12-01 14:41:59 +02:00
ζeh Matt 63a2e9d716 Refactor uses of old BannerIndex 2021-12-01 14:41:59 +02:00
Duncan cc22b584fd Introduce RCT2 namespace (#16037)
* Introduce RCT2 namespace

* Drop RCT2:: prefix where possible

* Drop RCT2 from structure names

* Reduce header includes
2021-11-28 16:51:38 +00:00
Duncan eba42a9584 Introduce Limits headers. (#15329)
* Move RCT12 limits to seperate file and namespace

* Remove prefix from constants

* Add rct1 limits file

* Rename constants to remove prefix

* Add RCT2 limits file

* Remove RCT2 prefix from constants

* Move constant to correct header

* Fix rebase mistakes

* Drop prefix
2021-11-27 16:20:05 +00:00
ζeh Matt 9f23449ffb Move Staff/Guest/Peep to entity 2021-11-26 18:26:19 +02:00
Duncan 275d565e52 Start splitting up ride.h (#16011)
* Start splitting up ride.h

* Use cstdint instead of common.h
2021-11-26 15:03:14 +00:00
ζeh Matt 56e78d5733 Merge pull request #15985 from ZehMatt/refactor/entities2
Refactor Sprite to Entity
2021-11-25 12:53:50 -08:00
ζeh Matt 03fb9b390f Rename Sprite to EntityRegistry 2021-11-24 17:04:12 +02:00
ζeh Matt 7c726e2a0c Fix includes 2021-11-24 16:48:33 +02:00
ζeh Matt 0b5fc962eb Rename variables/members sprite to entity 2021-11-24 15:27:48 +02:00
Duncan 6e839bdf49 Fix #15981. Staff Id causing beta park file failures (#15982)
I made a mistake when rebasing thinking the staff id had been removed much earlier (version 2). When it had really been there up until version 5. Unfortunately version 5 was when I removed the field. There is possibly version 5 saves that contain the staff id with no way to accurately know which ones they are.
2021-11-24 09:46:42 +00:00
Michał Janiszewski 9a32dd90eb Initialize variable (#15979)
Found it could be uninitialized in launchpad builds
2021-11-23 16:31:09 +00:00
Michał Janiszewski 2cc8208a9d Initialize variable (#15954)
Found it could be uninitialized in launchpad builds
2021-11-22 06:36:48 +00:00
Gymnasiast d63b57c359 Fix crash when loading save with impossible zoom level 2021-11-21 22:43:23 +01:00
duncanspumpkin 91b606beae Fix missing ride data from nsf
This was causing a desync whenever it rained
2021-11-21 22:43:22 +01:00
duncanspumpkin 22b9671435 Fix alignment 2021-11-21 22:43:22 +01:00
duncanspumpkin fdf0f69159 Fix loading version 2 Park files 2021-11-21 22:43:22 +01:00
34128dc262 Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00