Commit Graph

42 Commits

Author SHA1 Message Date
ζeh Matt e405658f6a
Code style and cleanup 2021-12-13 16:00:51 +02:00
ζeh Matt 16635b9192
Implement custom BitSet and replace std::bitset 2021-12-12 23:47:17 +02:00
Gymnasiast 7559354d25
Move ride_update_popularity() to method 2021-12-12 12:30:22 +01:00
Gymnasiast 6df7c1e3b0
Move ride_update_satisfaction() to method 2021-12-12 12:30:22 +01:00
Michael Steenbeek 27cbb6c6ae
Merge pull request #16190 from Gymnasiast/refactor/normalised-tile-element-type-3
Part of #15485: normalise all OpenRCT2 tile element types
2021-12-12 09:53:09 +01:00
Michael Steenbeek b83f7c3859
Merge pull request #16150 from IntelOrca/refactor/imageid-ui
Refactor footpath, scenery, terrain and mapgen windows to use ImageId
2021-12-11 23:21:19 +01:00
Duncan 56c4240d77
Make Parkfile Pathfinding Deterministic (#16147)
* Rename path find functions and use sub function

* Modify leaving park logic to not use park entrance index

* Remove ChosenParkEntrance from peep struct

* Refactor GetNearestParkEntrance

Removed the index as its pointless. Fixed function to use CoordsXY

* Increment network version

* Update replays
2021-12-11 16:03:59 +00:00
Gymnasiast aa34f0f760
Drop the N postfix 2021-12-11 00:39:39 +01:00
Gymnasiast fc3ce3294c
Move over switches to normalised tile element types 2021-12-11 00:30:59 +01:00
Michael Steenbeek 2d1af0ec42
Replace many GetType() calls with GetTypeN() 2021-12-10 22:43:17 +01:00
Ted John 2108322806 Use ImageId for picked up peep 2021-12-07 20:17:22 +00:00
ζeh Matt a79e2a375a
Move staff_set_name to Staff 2021-12-03 17:40:27 +02:00
ζeh Matt a6870a97d4
Move staff hiring logic into StaffList 2021-12-03 17:37:39 +02:00
Hielke Morsink 53d9bfa8b4
Update implicit zoom conversions 2021-12-01 00:08:35 +01: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
ζeh Matt 7a0fb048f8
Move reorganize structure of Paint.Sprite 2021-11-27 16:16:10 +02:00
ζeh Matt d2bf07a9ce
Fix mistake 2021-11-27 16:08:29 +02:00
ζeh Matt a1ea1dc4fb
Move painting to Litter entity 2021-11-27 15:55:24 +02:00
ζeh Matt 95a2967b75
Move painting into Peep entity 2021-11-27 15:51:54 +02:00
ζeh Matt 53e4bf1bbf
Move painting for MoneyEffect entity 2021-11-27 15:47:05 +02:00
ζeh Matt 686e15fd1a
Move painting for SteamParticle entity 2021-11-27 15:43:39 +02:00
ζeh Matt effddb4a1f
Move painting for VehicleCrashParticle entity 2021-11-27 15:42:16 +02:00
ζeh Matt 3db8ef1a75
Move painting for ExplosionCloud entity 2021-11-27 15:39:48 +02:00
ζeh Matt 0e1dbf7cf1
Move painting for SplashCrash entity 2021-11-27 15:38:58 +02:00
ζeh Matt 4ba2314eba
Move painting for explosion flare entity 2021-11-27 15:37:32 +02:00
ζeh Matt bbd95f1910
Move painting for Fountain entity 2021-11-27 15:37:12 +02:00
ζeh Matt 30349f80f5
Move painting for Balloon entity 2021-11-27 15:29:33 +02:00
ζeh Matt eaff0a343d
Move painting for Duck entity 2021-11-27 15:27:41 +02:00
ζeh Matt a9f76712b5
Add paint function to entities 2021-11-27 15:20:17 +02:00
ζeh Matt 496fdfd3eb
Move remaining EntityBase functions to EntityBase.cpp 2021-11-27 15:12:57 +02:00
ζeh Matt bcb527d331
Fix truncation of coordinates (#16004) 2021-11-27 07:26:52 +00:00
ζeh Matt c4ad5fcd15
Adjust includes 2021-11-26 21:01:44 +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
ζeh Matt e3f8ff78b8
Move entity serialisation functions (#16003) 2021-11-26 07:25:04 +00:00
ζeh Matt 860fb77da4
Apply review suggestions 2021-11-24 19:03:41 +02:00
ζeh Matt 213064e312
Revert old storage until the complex member types are gone 2021-11-24 18:25:43 +02:00
ζeh Matt 0024252328
Fix includes 2021-11-24 17:19:52 +02: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 8c290c7d92
Move entity code from world into entity 2021-11-24 16:37:28 +02:00