1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
Commit Graph

22375 Commits

Author SHA1 Message Date
Hielke Morsink
68c7279f4f Properly handle clicking below the list 2021-11-30 19:07:39 +01:00
Hielke Morsink
2592b3a4ab Use ScreenRect::Contains to check for clicked area 2021-11-30 19:06:26 +01:00
Hielke Morsink
a15d417d55 Update existing changelog entry to reflect this change 2021-11-30 00:06:39 +01:00
Hielke Morsink
43537830c5 Replace visibility button with checkboxes per element 2021-11-30 00:06:39 +01:00
GalBr
c2fa54057a Remove vehicle_colour and replace references to VehicleColour (#16055)
This is done because we had two identical structs: vehicle_colour and
VehicleColour. We now only use VehicleColour.

See: #16028
2021-11-29 22:04:31 +00:00
Michael Steenbeek
25cfa06830 Fix #16063: Broken Object Selection preview for glass 2021-11-29 22:27:54 +01:00
Gymnasiast
1a580e3999 Add some missing NSF issues to changelog
[ci skip]
2021-11-29 12:38:14 +01:00
OpenRCT2 git bot
c30d574480 Merge Localisation/master into OpenRCT2/develop 2021-11-29 04:09:27 +00:00
Duncan
7037524759 Remove and cleanup RCT2 string code 2021-11-28 22:53:40 +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
Alib234
c7851983e4 Added missing #include for limits 2021-11-28 15:08:45 +01: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
9f2e8372ae Rename sprite_paint_setup to EntityPaintSetup 2021-11-27 16:17:02 +02: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
1395ace71b Use paint function 2021-11-27 16:08:25 +02:00
ζeh Matt
e3eff3cddf Refactor entity paint setup 2021-11-27 16:07:53 +02:00
ζeh Matt
5fce6d340d Add Paint function to Vehicle entity 2021-11-27 16:00:35 +02:00
ζ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
28c821fea6 Merge pull request #16016 from ZehMatt/refactor/entity-3
Move entity management to EntityRegistry
2021-11-26 11:50:35 -08: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
7b3afe91af Merge pull request #16005 from ZehMatt/refactor/entity-2
Move peep related code to entity
2021-11-26 08:46:57 -08: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
Hielke Morsink
8b9bcf4adc Fix #16008: Can select elements when no tile selected 2021-11-26 15:47:43 +01:00
Duncan
90d2be3ddd Clang tidy Part 3: Ui Project Enum Names (#15986)
* Enum constant case

* Apply enum names clang tidy

* Rename scoped enum missed by clang-tidy
2021-11-26 14:25:34 +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