1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00
Commit Graph

22707 Commits

Author SHA1 Message Date
Ethan O'Brien
eff6d6e5b4 Fix behaviour of SetClipboardText on emscripten 2025-01-09 15:56:14 -06:00
Ethan O'Brien
a460aa30da Remove the need to manually compiled vorbis and ogg for emscripten 2025-01-09 15:45:19 -06:00
Aaron van Geffen
5ba6b97d89 Rework InteractiveConsole to use localised object type strings (#23586) 2025-01-09 21:44:41 +00:00
Ethan O'Brien
1a7251d46f Remove dead defines 2025-01-09 15:19:01 -06:00
Ethan O'Brien
9cf1517b38 Use tags, instead of commit hashes 2025-01-09 15:10:04 -06:00
Ethan O'Brien
1808cf6be2 Begin requested changes 2025-01-09 14:41:25 -06:00
Aaron van Geffen
225a6f3665 Append panda/elephant/tiger objects before other entertainers 2025-01-09 19:51:17 +01:00
Aaron van Geffen
90143b2e38 Address review comments 2025-01-09 12:34:45 +01:00
ζeh Matt
5261a5c102 Make sure that GuestNextInQueue is not uninitialized 2025-01-06 20:04:39 +02:00
ζeh Matt
33782c723d Allow save/load for std::span, simplify ReadWriteArray 2025-01-06 19:55:36 +02:00
ζeh Matt
1d7bd7ac27 Use std::span for GetStations 2025-01-06 19:54:56 +02:00
ζeh Matt
3d4b106059 Ensure ride station queue is not uninitialized, refactor that code 2025-01-06 19:39:44 +02:00
Ethan O'Brien
cf011a6140 Correct JavaScript syntax 2025-01-02 12:17:06 -06:00
Ethan O'Brien
63b0106de8 Fix emscripten support 2024-12-31 09:31:33 -06:00
Aaron van Geffen
752f169acf Fix editor progression issues (#23511)
Partial revert of #23487
2024-12-31 00:45:01 +01:00
Aaron van Geffen
42cbb0d1c0 Change leftover spelling of SuJongkwa to Sujeonggwa 2024-12-31 00:08:45 +01:00
Aaron van Geffen
23d4032eed Move LightFX into its own namespace (#23506) 2024-12-30 11:04:39 +00:00
Basssiiie
9ba4beb1dc Fix #23496: missing spatial index update when paused (#23505) 2024-12-30 08:02:25 -03:00
Aaron van Geffen
25ac4cf5d6 Prevent closing object selection window when selection is invalid (#23487)
* Prevent closing object selection window when selection is invalid

* Ride window: remove superfluous virtual keyword from event signatures

* Amend changelog
2024-12-29 22:15:26 +00:00
Tulio Leao
fef568c7c8 Use std::chrono for easier to read durations (#23499) 2024-12-29 17:48:24 -03:00
Aaron van Geffen
c0f846c2f5 Exclude peep animation objects in EditorRemoveUnusedObjects 2024-12-29 21:04:41 +01:00
Aaron van Geffen
5e61768d61 Allow filename input directly in file browser window (#23405) 2024-12-29 19:39:23 +00:00
Aaron van Geffen
0fb1fabc52 EditorObjectSelection: show animation peep type in description 2024-12-29 13:47:09 +01:00
Michael Steenbeek
23ff877b62 Merge pull request #23308 from Gymnasiast/refactor/split-track-style
Number track styles
2024-12-24 19:34:17 +01:00
Matt
e73793f828 Merge pull request #23475 from ZehMatt/fix-23471
Fix #23471: Traverse the paint nodes in correct order
2024-12-24 20:01:20 +02:00
Gymnasiast
716117165b Reduce branching when drawing 2024-12-24 18:34:57 +01:00
ζeh Matt
e9f11bf45a Fix #23471: Traverse the paint nodes in correct order 2024-12-24 18:24:16 +02:00
Gymnasiast
9b7bbcf69a Number track styles 2024-12-24 17:23:58 +01:00
mix
b0c18b0b18 Add new pieces to the Stand-Up Roller Coaster 2024-12-24 17:08:42 +01:00
mrmbernardi
2fc7160d47 Remove dead lines in CMakeLists (#23461) 2024-12-23 23:29:46 +01:00
Michał Janiszewski
b1e1229ff8 Merge pull request #23408 from ZehMatt/render-update-2
Refactor some PaintSession things
2024-12-23 23:28:01 +01:00
Aaron van Geffen
fb91cefe00 Fix guest inventories crashing on particular items (#23469)
* InventoryFormatItem: adjust formatter increments for lack of ImageIds

* OnDrawInventory: adjust itemNameWidth to account for icon offset

* OnDrawInventory: Improve icon/label vertical alignment
2024-12-23 19:45:57 +00:00
X123M3-256
5894b5bf86 Fix #1122: Trains can spawn on cable lift hill 2024-12-23 20:19:04 +01:00
Aaron van Geffen
f39eebdc76 Fix #23464: Water sparkles don't work properly (#23467) 2024-12-23 15:38:26 +00:00
mrmbernardi
809bcd1b22 Fix RideRatings.cpp headers (#23466)
Removes unused headers and fixes the ENABLE_SCRIPTING=OFF build
2024-12-23 15:07:48 +00:00
Aaron van Geffen
6ed7fd461e Move isSlowWalking property to animation group level 2024-12-23 12:21:04 +01:00
Michael Steenbeek
7baae607ac Use ride_type_t in more places 2024-12-22 19:59:36 +01:00
Michael Steenbeek
96580036ea Enable opaque water and corkscrew boosters on non-RCT1 installs 2024-12-22 16:16:55 +01:00
mrmbernardi
fd472b4019 Fix in game console incorrectly handling formatting tokens. (#23434)
* Fix logic error setting in game console colours

* Fix console incorrectly handling formatting tokens
2024-12-21 04:17:04 +11:00
ζeh Matt
dc9ea85dad Undo whatever that was 2024-12-20 13:09:22 +02:00
ζeh Matt
afebb82281 Remove unused function 2024-12-20 13:07:18 +02:00
ζeh Matt
2c30584def Refactor how PaintSession uses memory, make it partially static 2024-12-20 13:07:18 +02:00
ζeh Matt
abdaf28719 Don't make PaintDrawStruct recursive 2024-12-20 13:07:14 +02:00
Aaron van Geffen
3eb50bb303 Raise max number of park entrance objects to 255 (#23413)
* Raise max number of park entrance objects to 255

* Implement EditorParkEntrance::OnScrollGetSize

* Allow resizing the entrance selection window

* Amend changelog

* Bump PARK_FILE_CURRENT_VERSION
2024-12-19 20:04:57 +01:00
mrmbernardi
ddfb644c61 Fix typo in finance graph max size (#23437)
* Fix typo in finance graph max size

* Remove dead code
2024-12-20 04:17:29 +11:00
Aaron van Geffen
cc668f080e Fix rendering balloons/hats/umbrellas held by guests 2024-12-19 09:26:39 +01:00
Aaron van Geffen
2a3a72396b Remove ImageId::FromUInt32 and ToUInt32 (#23415)
* Allow high image ids when rendering an inline sprite

* CustomWindow: refactor use of ImageId::FromUInt32

* Dropdown: refactor use of ImageId::FromUInt32, ToUInt32

* Remove ImageId::FromUInt32

* Fix typo in mechanic status string ids

* Rewrite InventoryFormatItem to not use inline sprites any more

* Widget: replace ImageId::ToUInt32 with ImageId::GetIndex

* Remove ImageId::ToUInt32
2024-12-17 21:26:11 +01:00
Aaron van Geffen
91cf22aede Reset all peep sprite bounds at save file import time 2024-12-17 21:06:11 +01:00
Aaron van Geffen
e18abdd6a4 Compensate inferred sprite bounds for balloon/hat/umbrella sprites 2024-12-17 21:06:11 +01:00
Aaron van Geffen
ec14a6dca8 Move invalidation out of Peep::UpdateSpriteBoundingBox 2024-12-17 21:05:38 +01:00