Commit Graph
21344 Commits
Author SHA1 Message Date
Ethan O'Brien f5eb4d0a37 Pull asset version from the game 2025-01-10 12:07:16 -06:00
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
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
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 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 5e61768d61 Allow filename input directly in file browser window (#23405) 2024-12-29 19:39:23 +00: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
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 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
Matt 92dac978dc Merge pull request #23322 from ZehMatt/drawing-refactor
Refactor some code around the color palette
2024-12-17 20:29:13 +02:00
InvokeStatic (Brendan Heinonen) a3691982b3 Fix #23348: console command bugfixes and refactor (#23369)
This commit fixes the graphics bug #23348 by introducing an asynchronous

command completion signalling system in InteractiveConsole. This causes the
console to stop accepting new inputs while a command is being executed.

The console command system was also refactored to reduce code duplication and
remove return codes, which were unused and also poor error handling.
2024-12-16 16:59:47 +11:00
Aaron van Geffen 6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
Aaron van Geffen 7274c67c6c Load/save window: show folder icon next to folders (#23404) 2024-12-14 16:14:22 +01:00
ζeh Matt 5765bf3281 Wrap asserts with _DEBUG as the variables don't exist for debug builds 2024-12-14 16:24:40 +02:00
ζeh Matt d352c31991 Refactor PaletteMap, this is just a view of data 2024-12-14 16:21:59 +02:00
ζeh Matt c23071f67f Use GamePalette instead of raw byte array 2024-12-14 16:21:59 +02:00
ζeh Matt 6cb6e0a621 Remove wrong forward declaration 2024-12-14 16:21:59 +02:00
ζeh Matt 0e1517be4f Move GamePalette into ColourPalette.h, use namespace for it also 2024-12-14 16:21:54 +02:00
mrmbernardi 1e25472ec6 Merge pull request #23350 from mrmbernardi/resize-ride-graph
Increase the maximum width of the ride graph window
2024-12-12 20:17:19 +11:00
Aaron van Geffen c034d2c921 Introduce PeepAnimation compilation unit (#23383)
* Move StaffType enum into Staff.h

* Introduce PeepAnimation compilation unit
2024-12-12 00:23:42 +01:00