Commit Graph

140 Commits

Author SHA1 Message Date
Gymnasiast 0aa256a26a
Move remaining stuff in Android.cpp 2022-01-16 13:17:54 +01:00
Gymnasiast 131022c373
Remove now-empty platform files 2022-01-16 13:17:54 +01:00
Michael Steenbeek 4ee1df7de1
Merge pull request #16266 from Gymnasiast/refactor/more-ride-functions
More Ride.h cleanup
2021-12-18 20:52:46 +01:00
Gymnasiast ef6f2cceee
Create RideConstruction.h 2021-12-18 20:27:13 +01:00
Michael Steenbeek 6d19c983e8
Normalise RCT12TileElementType 2021-12-18 19:43:30 +01:00
ζeh Matt 186d3efb59
Merge pull request #16092 from ZehMatt/refactor/timing
Refactor update/time related things
2021-12-17 10:08:42 -08:00
duncanspumpkin 7e7947fe8b Move legacy identifier interpreting to separate file from parkfile 2021-12-15 21:29:02 +00:00
ζeh Matt 30cc3dff3f
Implement Timer class 2021-12-13 19:04:44 +02:00
ζeh Matt 16635b9192
Implement custom BitSet and replace std::bitset 2021-12-12 23:47:17 +02:00
Duncan c01049a500
Only add RCT1 land objects to imported SV6 if they are used 2021-12-05 17:08:33 +01:00
Michael Steenbeek 9bb2547dfb
Use templated function for the Twister and Vertical Drop 2021-12-03 18:00:42 +01:00
Duncan 79b12d2953
Introduce DATLimits.h for RCT2 Dat file object limits (#16034) 2021-12-01 21:55:52 +00:00
ζeh Matt 15ee72a688
Merge pull request #16031 from ZehMatt/refactor/entity-4
Refactor entity painting code
2021-11-27 08:54:07 -08: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 7a0fb048f8
Move reorganize structure of Paint.Sprite 2021-11-27 16:16:10 +02:00
ζeh Matt fd2f3edbf2
Remove Paint.Litter.cpp 2021-11-27 15:55:42 +02:00
ζeh Matt 846a270cb3
Remove Paint.Peep.cpp 2021-11-27 15:52:31 +02:00
ζeh Matt 97bcfcff82
Remove Paint.Misc.cpp 2021-11-27 15:47:23 +02:00
ζeh Matt d12d538d84
Rename Entity.cpp to EntityBase.cpp 2021-11-26 19:41:39 +02:00
ζeh Matt cb76165448
Move code from Entity.h into EntityRegistry.h 2021-11-26 19:41:36 +02: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 03fb9b390f
Rename Sprite to EntityRegistry 2021-11-24 17:04:12 +02:00
ζeh Matt 8c290c7d92
Move entity code from world into entity 2021-11-24 16:37:28 +02:00
ζeh Matt 5d2fd57d1e
Create Identifiers.h for common identifier types 2021-11-22 18:17:17 +02:00
ζeh Matt f703c3e805
Introduce TIdentifier 2021-11-22 18:17:12 +02:00
Ted John 0e57643a68
Refactor TilePointerIndex 2021-11-21 22:43:23 +01:00
IntelOrca 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
ζeh Matt 96e2641d0d
Remove macro for registration and cleanup 2021-11-10 19:42:23 +02:00
Duncan 3f19d6f7d7
Split Peep header Guest into separate header (#15810)
* Move guest functions and classes to guest header

* Reduce includes of Peep.h
2021-10-28 21:38:23 +01:00
ζeh Matt 7a30169c28
Refactor out construction clearance into a new compilation unit 2021-10-20 22:21:54 +03:00
ζeh Matt 2d78a5efc3
Move GameActionResult into its own unit (#15588) 2021-10-19 17:50:24 -03:00
Duncan e01c9a3afa
Stream changes from NSF (#15446)
* Bring over NSF changes to stream classes

* Add orca stream to project files

* Bring over util changes as well.

* Add const to util and fix util ungzip

* Add const and apply review comments

* Apply review comments
2021-09-30 13:02:54 +01:00
frutiemax 2906cb8c89
Fix #14474: Map size can be synced in multiplayer (#15312)
* Fix #14474: Map size can be synced in multiplayer

* Bump up network version

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2021-09-29 16:46:03 +01:00
Hielke Morsink 9060a0d228
Add missing headers to VS project file (#15457) 2021-09-21 23:34:33 +02:00
Duncan 81051f2d21
Add crypt files from NSF 2021-09-18 20:31:23 +00:00
ζeh Matt f999b0acb2
Remove Nullable and use std::optional instead 2021-09-12 16:55:56 +03:00
ζeh Matt 2daa356fbf
Move ZipStream into new header 2021-09-11 19:06:17 +03:00
ζeh Matt 0be585024f
Merge pull request #15232 from ZehMatt/refactor/gNetwork
Move network instance to Context
2021-08-30 14:17:15 -07:00
Gymnasiast bcba227430
Add footpath surface and railings objects from NSF 2021-08-29 17:07:38 +02:00
ZehMatt eeb5c64119
Rename SpriteBase.h to EntityBase.h 2021-08-26 15:33:50 +03:00
Duncan 223b926f8c
Use std::vector for ride use memory (#14884)
* Use std::vector for ride use memory

* Use new system for import/export

* Remove legacy field

* Add replay entity size protection to prevent crash

* Increment network version

* Update replays

* Move function to header

* Move constant to RCT12 header as used for both 1 and 2

* Align naming with nsf
2021-08-17 21:29:35 +01:00
ZehMatt 1cfc933a59
Introduce a base class for system models 2021-08-17 06:58:42 +03:00
ZehMatt 5a69f22f2d
Move ScTile code into cpp 2021-08-11 22:15:37 +03:00
ZehMatt 9f95b006d3
Move ScTileElement into its own files 2021-08-11 22:15:37 +03:00
ZehMatt 4684f39df9
Move ScPark code into cpp 2021-08-11 22:15:36 +03:00
ZehMatt d558920606
Move ScParkMessage into its own files 2021-08-11 22:15:36 +03:00
ZehMatt 437321ac8f
Move ScMap code into cpp 2021-08-11 22:15:36 +03:00
ZehMatt 2bd348c39e
Move ScRide into a cpp file 2021-08-11 22:15:36 +03:00
ZehMatt fe57dece6b
Move ScRideStation into its own files 2021-08-11 22:15:36 +03:00