1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00
Commit Graph

830 Commits

Author SHA1 Message Date
ζeh Matt
0b581281c5 Use string_view in ParseSourceGame lookup helper 2025-04-21 03:05:33 +03:00
ζeh Matt
a22c041379 Enable the use of std::string_view for find in ObjectRepository 2025-04-21 03:05:32 +03:00
Michael Steenbeek
cfb4b008b2 Create weak enum for PaletteIndex 2025-04-09 16:47:22 +02:00
Michael Steenbeek
ee7c7a3a9a Fix #21919: Non-recolourable cars still show colour picker 2025-04-07 20:50:40 +00:00
Gymnasiast
8d57f4d193 Rename ZIP_ACCESS and its members 2025-03-26 12:00:43 +01:00
Gymnasiast
b26a2953d7 Rename IMAGE_FORMAT and its members 2025-03-26 11:59:12 +01:00
Gymnasiast
74758c77b6 Rename PATHID and its members 2025-03-25 23:57:36 +01:00
Gymnasiast
ad547d2d6c Rename static constants of repositories 2025-03-25 23:42:27 +01:00
Gymnasiast
14b881e22b Rename DIRID and its members 2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Gymnasiast
c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00
Gymnasiast
d0368a7f02 Rename STATION_OBJECT_FLAGS and its members 2025-03-25 22:05:53 +01:00
Michael Steenbeek
5ad0f5b411 Fix #24077: Track Designer crashes when clicking the park fence 2025-03-25 21:50:37 +01:00
Gymnasiast
bca715fb7f Rename TerrainSurfaceFlags and its members 2025-03-25 15:03:55 +01:00
Michael Steenbeek
70bdddcf36 Reduce object casting (#24072) 2025-03-25 08:51:44 +01:00
Aaron van Geffen
0a3e9fdfd9 Update object manager API to access new object types (#24009)
* Update object manager API to access new object types

* Use separate mapping for scripting due to different type names

* Amend changelog
2025-03-20 00:16:08 +01:00
discollizard
bef76d5017 Remove rideCategory field from ObjectRepositoryItem struct 2025-03-11 17:36:17 +01:00
Aaron van Geffen
2ce206ed03 Move item temperature thresholds to climate objects 2025-03-07 18:57:00 +01:00
Aaron van Geffen
23e6c26c2b Let ScClimate::type_get return a non-empty string again 2025-02-22 17:15:32 +01:00
Aaron van Geffen
e2ae2904be Add weather 'forecast' as preview 2025-02-22 16:18:17 +01:00
Aaron van Geffen
d8b955eea2 Rotate weather distribution to be less biased towards sunny weather 2025-02-07 15:23:07 +01:00
Aaron van Geffen
c7e364c8dd Use patterns from climate objects instead of hardcoded internals 2025-02-04 16:20:08 +01:00
Aaron van Geffen
41b07b8904 Implement climate object loading functions 2025-02-03 22:33:41 +01:00
Aaron van Geffen
5dda84c891 Implement scaffolding for climate objects 2025-02-01 16:52:39 +01:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast
1c3cb890e0 Rename NoFlatRideCars to kNoFlatRideCars 2025-03-06 23:32:17 +01:00
Gymnasiast
9778d7b0ba Create strong enum for RideCategory 2025-03-06 23:12:26 +01:00
73
c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Aaron van Geffen
bb94ee8bc0 Rename ObjectType enum to follow recent code style (#23810) 2025-02-13 23:07:55 +01:00
73
b9b2c96c97 Rename sprites.h to SpriteIds.h (#23804) 2025-02-13 15:51:46 +00:00
orbifant
7672da17c7 Fix segfault on linux when running in verbose mode
Comparing LOG_VERBOSE with other places in code, it expects const char* as parameter.
2025-02-12 20:37:51 +01:00
Aaron van Geffen
2302f0d2e3 Rework Localisation includes (#23789)
* Clean up internal localisation header includes

* Remove some external localisation includes

* Remove dependency on FormatCodes.h from InteractiveConsole.h

* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Michael Steenbeek
b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Aaron van Geffen
a8773dd805 Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible

* Move WindowClose family into WindowManager

* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
X123M3-256
864d9b2d73 Add large diagonal flat to steep and dive loop track pieces 2025-01-15 13:25:29 +01:00
Aaron van Geffen
90143b2e38 Address review comments 2025-01-09 12:34:45 +01:00
Aaron van Geffen
6ed7fd461e Move isSlowWalking property to animation group level 2024-12-23 12:21:04 +01:00
Aaron van Geffen
cc668f080e Fix rendering balloons/hats/umbrellas held by guests 2024-12-19 09:26:39 +01:00
Aaron van Geffen
4f1a7c72aa Rework reading peep anim object properties 2024-12-10 23:39:58 +01:00
Aaron van Geffen
d768811c5c Refactor PeepAnimationsObject::ReadAnimations into its own method 2024-12-10 23:21:52 +01:00
Aaron van Geffen
44a9f530f7 Separate RCT12PeepAnimationGroup further from PeepAnimationGroup 2024-12-09 19:43:05 +01:00
Aaron van Geffen
f2779fb7fb Let other animation groups copy missing animations from primary group 2024-12-09 17:42:41 +01:00
Aaron van Geffen
e3c6fe22a6 Read scriptName property from JSON
Use object identifier if no scriptName is provided
2024-12-08 12:31:34 +01:00
Aaron van Geffen
7efe73f6ac Add checks to ensure an animation object is selected for each peep type 2024-12-07 13:40:30 +01:00
Aaron van Geffen
7b63355d03 Rework PeepAnimation construction 2024-12-06 09:32:37 +01:00
Aaron van Geffen
cfdfd1a234 List available staff costumes dynamically 2024-12-05 17:39:10 +01:00
Aaron van Geffen
7e3fe58067 Use peep animation objects for guest and staff sprites 2024-12-05 13:37:39 +01:00
Aaron van Geffen
b0da41fef5 WIP: start reworking PeepAnimationGroup 2024-12-02 19:58:00 +01:00
Aaron van Geffen
a786c89603 Start working on peep entity animation object conversion 2024-12-02 17:15:51 +01:00