1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00
Commit Graph

27458 Commits

Author SHA1 Message Date
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01: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
tellovishous
0ce1128cf0 eo-ZZ: Add EO text to Appdata file 2024-12-29 21:28:47 +01:00
Aaron van Geffen
5e61768d61 Allow filename input directly in file browser window (#23405) 2024-12-29 19:39:23 +00:00
OpenRCT2 git bot
450f7849a5 Merge Localisation/master into OpenRCT2/develop 2024-12-27 04:02:14 +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
OpenRCT2 git bot
51bf885cda Merge Localisation/master into OpenRCT2/develop 2024-12-24 04:02:19 +00: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
Michael Steenbeek
6f1d8be226 Merge pull request #23459 from Gymnasiast/fix/1122
Fix #1122: Trains can spawn on cable lift hill
2024-12-23 20:39:28 +01:00
X123M3-256
5894b5bf86 Fix #1122: Trains can spawn on cable lift hill 2024-12-23 20:19:04 +01:00
Joan Josep
5003a1cc75 ca-ES: Amend and complete translation of appdata.xml 2024-12-23 20:11:30 +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
OpenRCT2 git bot
717f3aaa12 Merge Localisation/master into OpenRCT2/develop 2024-12-23 04:02:11 +00:00
Romain
74ed2be308 Add French translation to appdata.xml 2024-12-23 00:59:45 +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
Nick Depinet
110140b13f fix g2.dat path on win arm64 build (#23427) 2024-12-19 12:03:58 +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