ζeh Matt
fd2f3edbf2
Remove Paint.Litter.cpp
2021-11-27 15:55:42 +02:00
ζeh Matt
a1ea1dc4fb
Move painting to Litter entity
2021-11-27 15:55:24 +02:00
ζeh Matt
846a270cb3
Remove Paint.Peep.cpp
2021-11-27 15:52:31 +02:00
ζeh Matt
95a2967b75
Move painting into Peep entity
2021-11-27 15:51:54 +02:00
ζeh Matt
97bcfcff82
Remove Paint.Misc.cpp
2021-11-27 15:47:23 +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
dcae493fa0
Move litter sprite definitions into sprites.h
2021-11-27 15:22:59 +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
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
e3f8ff78b8
Move entity serialisation functions ( #16003 )
2021-11-26 07:25:04 +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
Duncan
2b4eaab5dc
Modify TrackPlaceAction to handle ride type parameter ( #15980 )
...
* Modify TrackPlaceAction to handle ride type parameter
* Update network and plugin version
* Update replays
2021-11-25 12:28:30 +00:00
Peter Schussheim
0495b265c0
Refactor unchecked std::array subscript operator
2021-11-25 10:13:20 +01:00
Ted John
c2d892bdce
Increment plugin API version
...
This should have been done for NSF, allows plugins to easily determine NSF feature availability.
2021-11-24 22:55:19 +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
ζeh Matt
dadf94b5c0
Remove unnecessary padding from entities
2021-11-24 16:22:29 +02:00
ζeh Matt
3b261f99b8
Decouple game state snapshots structure from internal structure
2021-11-24 16:06:02 +02:00
ζeh Matt
88366bd296
Move Entity storage structure to cpp
2021-11-24 15:58:16 +02:00
ζeh Matt
c6242fd310
More renaming
2021-11-24 15:50:18 +02:00
ζeh Matt
046f82f683
Remove default template argument and re-order functions
2021-11-24 15:29:13 +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
ζeh Matt
83b911b193
#15634 : Refactor passing GameActions::Result by copy ( #15951 )
...
* Refactor to result GameActions::Result as copy instead of unique_ptr
* Remove alias GameActions::Result::Ptr
* Remove MakeResult wrapper
* Remove type forwarder in TileInspector
2021-11-24 07:35:08 +00:00
Michał Janiszewski
9a32dd90eb
Initialize variable ( #15979 )
...
Found it could be uninitialized in launchpad builds
2021-11-23 16:31:09 +00:00
YJSoft
fcf587dfa4
Fix #15974 Cannot download object from server ( #15975 )
...
Due to some leftover code from NSF rebase, server will parse MAPREQUEST incorrectly. so client will fail to download objects.
2021-11-23 08:36:37 +00:00
ζeh Matt
422c4629e4
Fix BannerSetStyleAction having wrong type in constructor
2021-11-22 19:29:17 +02:00
ζeh Matt
f9c673679e
Add missing default constructor and mark constructors constexpr
2021-11-22 18:17:18 +02:00
ζeh Matt
5d2fd57d1e
Create Identifiers.h for common identifier types
2021-11-22 18:17:17 +02:00
ζeh Matt
4147a57c5b
Remove Null constant and use strictly GetNull/IsNull
2021-11-22 18:17:17 +02:00
ζeh Matt
15396fee5d
Add static GetNull member
2021-11-22 18:17:17 +02:00
ζeh Matt
4ba2c101c9
Use TIdentifier for ParkEntranceIndex
2021-11-22 18:17:17 +02:00