27657 Commits

Author SHA1 Message Date
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
Nick Depinet
110140b13f fix g2.dat path on win arm64 build (#23427) 2024-12-19 12:03:58 +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
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
cbe896365b Reset all peep sprite bounds at save file import time (#23425)
* Move invalidation out of Peep::UpdateSpriteBoundingBox

* Compensate inferred sprite bounds for balloon/hat/umbrella sprites

* Reset all peep sprite bounds at save file import time
2024-12-17 21:18:28 +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