1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

22744 Commits

Author SHA1 Message Date
Conrad Kostecki
b72b82445e GCC16 fixes (Missing #include <cstdint>) (#25533)
* ReplayManager.h: Include <cstdint> (GCC16 fix)

Closes: https://github.com/OpenRCT2/OpenRCT2/issues/25522

* Crypt.h: Include <cstdint> (GCC16 fix)

* Zip.h: Include <cstdint> (GCC16 fix)

* NetworkKey.h: Include <cstdint> (GCC16 fix)

* AudioMixer.h: Include <cstdint> (GCC16 fix)

* NetworkServerAdvertiser.h: Include <cstdint> (GCC16 fix)
2025-11-16 23:04:10 +01:00
Michael Steenbeek
6a5dd316a1 Allow dragging lines of walls 2025-11-16 17:14:20 +01:00
Jonas (Elessar2)
5c8867098d Fix #25028: Stalls can only use 1 colour preset
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-11-16 13:56:15 +00:00
Michael Steenbeek
7f346d6c45 Fix crackling when resampling audio 2025-11-16 13:55:44 +01:00
mix
140fed1086 Fix virtual floor invalidating incorrectly if expanded on x and y axes 2025-11-15 22:58:59 +01:00
Gymnasiast
2ed1e8ef90 Rename byteRate to outputByteRate 2025-11-15 20:37:23 +01:00
Gymnasiast
22e50556a9 Rename _format to _outputFormat 2025-11-15 20:37:23 +01:00
Crystal Squirrel
766cfd2f18 Replace reinterpret_cast with static_cast 2025-11-15 20:37:22 +01:00
mrmbernardi
a7b962db5f Fix UB for empty string_views 2025-11-15 13:50:20 +01:00
MarcelVos96
21d2aaca35 Increase maximum size of the New Ride window further 2025-11-13 20:19:47 +01:00
Michael Steenbeek
9e36c7a2dc Remove hardcoded ride type IDs in ride type dropdown 2025-11-13 19:50:22 +01:00
Michael Steenbeek
7068ea67e3 Fix #25454: Pathing Tool Closes When Land Tool Opens 2025-11-12 23:39:37 +01:00
spacek531
8cb9b1fb1c Move flat ride animation to VehicleData 2025-11-11 10:50:50 +01:00
mix
7f530bfd23 Fix go karts steep to flat not drawing correctly in flat side tunnel 2025-11-10 11:21:28 +01:00
Michał Janiszewski
7ab40fb5c6 Fix headless mode crash (#25488)
In headless mode the game would see `TitleScene::_sequencePlayer` is
null and try setting it to an instance of
`GetContext().GetUiContext().GetTitleSequencePlayer();`, but in headless
mode we return a nullptr anyway from `DummyUiContext` and there are no
further checks for nullptr.
2025-11-10 08:49:31 +00:00
Michael Steenbeek
dcedb3b492 Allow resizing the New Ride window 2025-11-09 15:28:37 +00:00
Michał Janiszewski
c20d9add1c Capture track location for callback by value (#25455)
Previously it was getting captured by reference and the action using it
was queued up for execution in next tick, resulting in reference going
out of scope. Capturing it by value fixes this issue as it is POD
struct.
2025-11-09 01:25:02 +01:00
mix
ed25fbcb3a Fix track design mini preview enlarged UI position 2025-11-09 01:20:34 +01:00
Michael Steenbeek
6f24577027 Fix return value of Widget::width() 2025-11-08 10:27:58 +01:00
mix
462f294184 Fix paths in track design previews not being connected correctly 2025-11-07 21:44:11 +01:00
mix
61e73a5535 Bump network version 2025-11-07 21:43:46 +01:00
mix
195de3b258 Fix #6228: Track design queue connections not preserved when built 2025-11-07 21:43:45 +01:00
Aaron van Geffen
49ef6768c5 Fix Windows build; use WIN32_LEAN_AND_MEAN in more places 2025-11-07 21:14:58 +01:00
Michael Steenbeek
a8e9a6b385 Fix RCT1/2 install confusion when both are present 2025-11-07 20:08:10 +01:00
Michael Steenbeek
32b034a8a1 Merge pull request #25427 from Gymnasiast/refactor/string-drawing-2
Refactor string drawing
2025-11-06 13:46:56 +01:00
mix
b216ebd11e Rename gPlacingTrackDesign to _placingTrackDesign 2025-11-05 14:11:30 +00:00
mix
4a77654003 Bump network version 2025-11-05 04:19:06 +00:00
mix
719dcbb650 Prevent track design ghost add/delete when shift height is invalid 2025-11-05 04:19:05 +00:00
mix
8d93ac4448 Fix track design paths breaking if ghost is removed after placing 2025-11-05 04:19:05 +00:00
Gymnasiast
b3c854e3aa Move ColourFlags/ColourWithFlags to own compilation units 2025-11-04 00:09:07 +01:00
Gymnasiast
300a094b58 Create TextDrawFlag 2025-11-03 23:25:31 +01:00
Gymnasiast
9c2000565d Use ColourFlags in TextDrawInfo 2025-11-03 23:25:31 +01:00
Gymnasiast
64ef3da5a4 Use FlagHolder in ColourWithFlags 2025-11-03 23:25:31 +01:00
Gymnasiast
ecc2e8b311 Add with(), without() methods to FlagHolder 2025-11-03 23:25:31 +01:00
Gymnasiast
7fd9743d22 Unwrap always-true if 2025-11-03 23:25:31 +01:00
Gymnasiast
10d9fc5e56 Replace darkness flags with TextDarkness enum 2025-11-03 23:25:30 +01:00
Gymnasiast
fe24e9b77b Create Drawing.String.h 2025-11-03 23:25:30 +01:00
Gymnasiast
0ec4e3353b Update members of FontStyle 2025-11-03 23:25:30 +01:00
Gymnasiast
124352c922 Update members of TextAlignment 2025-11-03 23:25:29 +01:00
Gymnasiast
6340cd7e51 Update members of TextUnderline 2025-11-03 23:25:29 +01:00
Gymnasiast
5e6f5ceb6f Update members of TextDarkness 2025-11-03 23:25:29 +01:00
Gymnasiast
53be1c6f5c Update fields of TextDrawInfo 2025-11-03 23:25:29 +01:00
Michael Steenbeek
77d4848729 Merge pull request #25426 from Gymnasiast/fix/25406
Fix #25406: Crash while building track designs repository
2025-11-02 11:46:53 +01:00
mix
e216c94256 Fix #14365: Previews broken for track designs with scenery below track 2025-11-02 01:46:29 +01:00
mix
bac6a9d460 Fix dropdown tooltips stuck open if mouse over empty space 2025-11-02 00:05:45 +01:00
Aaron van Geffen
5847457391 Release v0.4.28
- Feature: [#25286] Footpath area dragging tool.
- Feature: [#25379] Add an option to the command line screenshot function to draw debug segment heights.
- Improved: [#21375] The `load_object` console command now allows loading JSON objects.
- Improved: [#25297] Paths on the ground in SV4/SC4 no longer block supports of the paths above.
- Improved: [#25349] ‘Recent Messages’ window can now be fully themed.
- Improved: [#25433] Colour dropdown now uses bigger images in Enlarged UI mode.
- Change: [#25089] Peep actions and animations that cause them to stop moving no longer trigger when they are on a level crossing.
- Change: [#25337] Placing track designs with scenery that is obstructed no longer disables all of the scenery.
- Fix: [#20198] Guest inventory from RCT1 base game saves is not imported.
- Fix: [#20486] Multiplayer desync when placing track designs without any scenery.
- Fix: [#22779, #25330] Incorrect queue paths in Nevermore Park and Six Flags Holland scenarios (bug in the original scenarios).
- Fix: [#24975] The Corkscrew and LIM Launched (original bug) roller coaster quarter loop tunnels are too high.
- Fix: [#25139] Steam locomotive and tram claxons can sound louder than normal when approaching crossings that span multiple tiles.
- Fix: [#25190] Inserting a block brake while a coaster is simulating will cause the simulation to behave strangely.
- Fix: [#25206] System file picker does not show up on the Steam Deck.
- Fix: [#25272] Text colour dropdown in the Banner window is too narrow, resulting in truncated labels.
- Fix: [#25299] The Mine Train Coaster left large helix draws incorrect sprites at certain angles (original bug).
- Fix: [#25328] Spiral Slide in Blackpool Pleasure Beach has its entrance and exit the wrong way round (bug in the original scenario).
- Fix: [#25342] The Go-Karts medium right gentle sloped turn does not have a tunnel at the end.
- Fix: [#25349] Items in Recent Messages are too narrow if there is no scrollbar visible.
- Fix: [#25350] The scrolling intro background switches colour halfway through (original bug).
- Fix: [#25350] When skipping the scrolling intro, the screen does not get cleared properly.
- Fix: [#25350] Scrolling intro cannot be skipped using a mouse click.
- Fix: [#25358] The Stand Up Roller Coaster left corkscrew does not block supports correctly.
- Fix: [#25363] The Mine Train Coaster flat-to-steep track pieces do not block all metal supports.
- Fix: [#25369] The Go-Karts medium turns and small flat and sloped turns do not block metal supports correctly.
- Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently.
- Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports.
- Fix: [#25378] The land tool sometimes allows land to be raised through a maze.
- Fix: [#25380] The Lay-down Roller Coaster left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#25388] The Shortcut Keys window uses the wrong colours for separators, scrollbars and buttons.
- Fix: [#25401] Mazes can be built 2 units higher than their support limits.
- Fix: [#25404] Guests that have been removed with the remove all guests cheat will still be visible if they were sliding down the Spiral Slide.
- Fix: [#25410] Guest flags (e.g. tracking) not imported from RCT1.
2025-11-01 10:16:13 +01:00
Aaron van Geffen
13efbd533b Update BACKTRACE_TOKEN in Crash.cpp for upcoming release 2025-11-01 10:04:02 +01:00
mix
71c4d9c3c5 Fix #25437: no mouse over highlight on new ride window previews 2025-10-31 19:25:46 +01:00
mix
9fa6f646a4 Add blocked segments to track sequence descriptors 2025-10-29 14:48:23 +01:00
matheusvb3
47f45fac8f Add large colour swatches for enlarged UI 2025-10-29 12:41:01 +00:00