Commit Graph
269 Commits
Author SHA1 Message Date
Gymnasiast aa65346003 Refactor pickup peep into namespace, hide globals, use ScreenCoordsXY 2026-08-22 13:19:22 +02:00
Gymnasiast 1f76487769 Move gPickupPeep* to PickupPeep.{cpp,h} 2026-08-22 12:55:46 +02:00
Michael Steenbeek a74f7437b9 Rename symbols of Peep (#26949) 2026-08-17 23:42:30 +02:00
Michael Steenbeek b5c1570b78 Rename members of smaller entities (#26946) 2026-08-17 22:10:51 +02:00
Gymnasiast 7b1b014fce Create enum class for EntranceSequence 2026-08-12 18:42:22 +02:00
Gymnasiast d943171fae Create enum class for EntranceType 2026-08-12 16:16:07 +02:00
Gymnasiast 84f1946db8 Make TrackElement members adhere to code style 2026-08-12 15:17:50 +02:00
Gymnasiast 25865dce31 Make SurfaceElement members adhere to code style 2026-08-12 15:17:44 +02:00
Gymnasiast 2f9db0a5d4 Make PathElement members adhere to code style 2026-08-12 15:17:34 +02:00
Gymnasiast 4af2e9d1fd Make EntranceElement members adhere to code style 2026-08-12 15:17:23 +02:00
Gymnasiast f08bc61f03 Refactor park flags into enum class+FlagHolder 2026-08-08 18:49:32 +02:00
Gymnasiast a70874710a Refactor peep flags to enum class+FlagHolder 2026-08-08 18:28:22 +02:00
Gymnasiast 2ac48e6c42 Rename members of MixerGroup 2026-08-02 19:37:18 +02:00
Harry Hopkinson 69872010ae Reorder/remove more includes (#26847)
* Remove unneeded includes from src/openrct2/interface

* Remove unneeded includes from src/openrct2/entity

* Remove unneeded includes from src/openrct2/localisation

* Remove unneeded includes from src/openrct2/management

* Remove unneeded includes from src/openrct2/network
2026-07-31 21:33:22 +02:00
Michael Steenbeek 1be4d6d94b Update TileElementType to use new codestyle (#26766) 2026-07-09 17:50:25 +00:00
mgiannopoulos24 ab47bbd5d9 Rename Guest entity members (#26625) 2026-05-30 14:21:37 +00:00
mgiannopoulos24 d85835a0a0 Rename Staff entity members (#26603)
* Rename Staff entity member fields

* Rename Staff entity methods for consistency

* Remove unused EntertainerCostume enum class
2026-05-28 12:28:45 +02:00
mgiannopoulos24 d841b2dcec Rename Litter entity members (#26597)
* Rename Litter entity members

* Rename `Serialise` → `serialise` in all entity types called from GameStateSnapshots.cpp.
2026-05-21 21:21:42 +02:00
Marino Rottier 6c6acd527b Rename TileElementBase members (#26522)
* Rename TileElementBase members to camelCase

* Rename RCT12TileElementBase and RCT12TileElement members to camelCase
2026-05-17 13:21:16 +00:00
Marino Rottier 66e1411d84 Rename EntityBase and EntitySpriteData members (#26520)
* Rename EntitySpriteData members to camelCase

* Rename EntityBase members to camelCase
2026-05-17 11:21:59 +00:00
Aaron van Geffen 001df30eb5 Require ParkData& param for most Park functions 2026-02-13 14:36:05 +01:00
Gymnasiast f3cec44278 Move TrackTypeIs*() to TrackElemType.{cpp,h} 2026-03-10 18:33:43 +01:00
Aaron van Geffen 586c2edb57 Move entities into OpenRCT2 namespace (#26173) 2026-03-10 07:39:53 +01:00
Aaron van Geffen be84cdb1bb Rename Climate to Weather where appropriate (#26163)
* Introduce OpenRCT2::Weather namespace

* Rename Climate.h/cpp to Weather.h/cpp

* Rename ScClimate.hpp to ScWeather.hpp

* Rename drawing/Weather.h to drawing/WeatherDrawer.h
2026-03-08 11:00:07 +01:00
Gymnasiast 56082daa5f Split off TrackElementDescriptor and a few other things into their own headers 2026-03-01 12:40:47 +01:00
Aaron van Geffen 773ba479cd Create separate unit for GameActionRunner 2026-02-09 16:06:56 +01:00
Max 9a1e41cb33 Fix #25978: Frozen peeps start clapping when the scenario is won (#25979) 2026-02-08 17:48:40 +01:00
Michael Steenbeek ee4dedad03 Fix #25237: Wrong colours on Knight costume (#25937) 2026-02-04 18:57:43 +01:00
Gymnasiast b2fcecb79e Refactor RtdFlags into FlagHolder 2026-01-31 14:00:52 +01:00
matheusvb3 d47fc1dc78 Clamp Guest fields 2026-01-31 12:20:31 +01:00
matheusvb3 3e224346d2 Clamp ParkData fields 2026-01-31 12:20:30 +01:00
matheusvb3 71d636e6b1 Merge variable declarations and assignment into one line 2026-01-16 12:43:59 -03:00
matheusvb3 3c93314666 Remove redundant control flow statements 2026-01-16 12:43:58 -03:00
matheusvb3 162977a84b Remove redundant namespace qualifiers from miscellaneous files (#25816) 2026-01-14 23:15:07 +01:00
matheusvb3 45873f70e8 Create RideInvalidateFlag FlagHolder (#25722) 2026-01-08 21:21:41 +01:00
Michael Steenbeek 78a654fcbd Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT (#25768) 2026-01-07 19:58:49 +00:00
Aaron van Geffen b5cd780b3e Rework drawing header includes (#25744)
* Move Csg unit into OpenRCT2 namespace

* Move G1Element into its own header file

* Clean up SpriteCommands.h

* Add trailing namespace comment to Csg.cpp

* Remove Drawing.h dependency from Graph.h

* Add <memory> include to G1Element.h

* Remove Drawing.h include from ImageTable.h (used by all objects!)

* Drop Drawing.h dependency from OpenGLFramebuffer.h

* Drop Drawing.h dependency from TextureCache.h

* Drop Drawing.h include from TitleScene.h

* Drop Drawing.h dependency from Widget.h

* Add <optional> include to SpriteFile.h

* Add Drawing.h to PlayTests, S6ImportExportTests

* Include <cstdint> in TitleScene.h for SIZE_MAX
2026-01-05 19:09:34 +00:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Robert GoodingandGymnasiast 9daf2b5479 Categorise toilet income as shop sales instead of ride tickets
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2025-12-12 14:02:05 +00:00
Gymnasiast c744b76632 Rename members of GameActions::Result 2025-12-12 12:11:49 +01:00
Gymnasiast 5ffee91c8a Rename members of GameActions::Status 2025-12-12 11:41:49 +01:00
matheusvb3 6c97dd1dc7 Implement Gymnasiast's suggestion 2025-12-07 13:05:44 -03:00
matheusvb3 80977e1e0d Check if guest action is interruptable
This fixes a bug where the waving or eating animations for the guests could suddenly reset while it was already playing
2025-12-07 10:35:58 -03:00
matheusvb3 646d16e745 Move WaitingAtCrossing logic to peep.cpp 2025-12-07 10:34:12 -03:00
ζeh Matt 2cc05eb353 Remove check if Guest/Staff is deleted, this is handled by EntityList 2025-11-28 16:46:41 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast 524646e32a Rename members of ShopItem 2025-10-05 15:06:24 +02:00
Gymnasiast fe8e04652f Rename members of Litter::Type 2025-10-05 14:58:57 +02:00
Gymnasiast 8f399dfbdd Rename members of EntityType 2025-10-05 14:58:57 +02:00
Gymnasiast d97512f498 Rename members of PeepAnimationGroup 2025-10-05 14:46:12 +02:00