1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

11561 Commits

Author SHA1 Message Date
Aaron van Geffen
aede038ba3 Remember preferred file browser dimensions 2025-01-04 16:18:27 +01:00
Aaron van Geffen
aa45247f21 Move WindowFind functions into WindowManager (#23517)
* Move WindowFind* functions into WindowManager

* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Michał Janiszewski
8c19879e6f Release v0.4.18
- Improved: [#23200] Add banked sloped turns and many other pieces to the Stand-Up and Classic Stand-Up Roller Coaster.
- Improved: [#23260] Add diagonal (block) brakes to LSM Launched Roller Coaster.
- Improved: [#23350] Increased the maximum width of the ride graph window.
- Improved: [#23404] Folders are now paired with an icon in the load/save window.
- Improved: [#23405] Filenames can now be input directly into the file browser (load/save) window.
- Improved: [#23431] Opaque water and Corkscrew Roller Coaster boosters now show up if RCT1 isn’t linked.
- Improved: [objects#369] Updated Russian translation.
- Change: [#23413] The max number of park entrance objects has been raised to 255.
- Fix: [#1122] Trains spawned on a cable lift hill will fall down and crash (original bug).
- Fix: [#19780] Guest screams loop on long drops.
- Fix: [#22742, #22793] In game console does not handle format tokens properly.
- Fix: [#23135] Map generator tree placement has noticable patterns.
- Fix: [#23286] Currency formatted incorrectly in the in game console.
- Fix: [#23348] Console set commands don't print output properly.
- Fix: [#23376] Peeps with balloons, hats and umbrellas may leave artifacts on screen.
- Fix: [#23486] Object selection minimum requirements can be bypassed with close window hotkey.
- Fix: [#23496] Newly spawned vehicles are invisible when spawned while the game is paused.
- Fix: [#23509] Map generator window reverts to flatland after selecting a heightmap image.
- Fix: [objects#359] Fix water colours in Hover Cars preview image.
- Fix: [objects#361] Fix water colours in River Styx boats preview image.
- Fix: [objects#362] Fix water colours in Neptune Ride preview image.
- Fix: [objects#363] Fix water colours in Harpies Trains preview image.
2025-01-08 20:37:35 +01:00
Michał Janiszewski
45e7c6e705 Update backtrace token for upcoming v0.4.18 release 2025-01-05 18:16:21 +01:00
Matt
4e4f24ef6c Add iterator include to SurfaceSelection.cpp (#23532) 2025-01-03 15:37:33 +00:00
Severin Paul Höfer
c925ae26c1 Rename Sub6D7AC0 to VehicleSoundFadeInOut 2025-01-02 14:37:03 +01:00
Aaron van Geffen
167daaa1d2 Fix #23135: Tree placement has noticable patterns 2025-01-02 12:38:33 +01:00
Aaron van Geffen
a809f48106 Move more simplex functions to SimplexNoise unit 2024-12-30 17:32:16 +01:00
Aaron van Geffen
6386307b77 Refactor raw height array into HeightMap class 2024-12-30 16:45:33 +01:00
Aaron van Geffen
8cf9142b87 Encapsulate map generator in World::MapGenerator namespace 2024-12-30 16:21:22 +01:00
Aaron van Geffen
57984db60a Move SurfaceSelection into its own unit as well 2024-12-30 15:53:42 +01:00
Aaron van Geffen
bffeb81258 Remove some unnecessary includes 2024-12-30 15:27:05 +01:00
Aaron van Geffen
dffbb655ff Move TreePlacement into its own unit as well 2024-12-30 15:25:30 +01:00
Aaron van Geffen
c5508bcf1d Split off PngTerrainGenerator, SimplexNoise units 2024-12-30 15:11:40 +01:00
Aaron van Geffen
8562545138 Move MapGen and MapHelpers units into map_generator folder 2024-12-30 14:46:47 +01:00
wszqkzqk
2bdb3a62e3 Add LoongArch architecture information (#23477) 2025-01-01 11:47:07 +01:00
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
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
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
ζ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
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