Commit Graph
565 Commits
Author SHA1 Message Date
MarcelVos96 bf4810ea50 Fix where walls block the view of rides/scenery on the first tile next to the path (#26495) 2026-06-10 18:49:31 +00:00
MarcelVos96 86f282f7c0 Add cheat to disable grass growing (#26442) 2026-06-09 23:03:27 +02:00
Harry Hopkinson 893cc8b565 Rename enum members to lowerCamelCase (#26626)
* Rename LightFX.h enums

* Rename Yaw.hpp enums

* Rename Chat.h enums

* Rename InteractiveConsole.h enums

* Rename NetworkTypes.h enums

* Rename VirtualFloor.h enums
2026-05-30 16:22:05 +02:00
Harry Hopkinson 9d5e532064 Rename enum members to lowerCamelCase in actions/ (#26593)
* Rename enums in LoadOrQuitAction.h

* Rename enums in ScenarioSetSettingAction.h

* Rename enums in TileModifyAction.h

* Rename enums in NetworkModifyGroupAction.h

* Rename enums in LandBuyRightsAction.h

* Rename enums in LandSetRightsAction.h

* Rename enums in ParkSetParameterAction.h

* Rename enums in PeepPickupAction.h

* Rename enums in StaffSetPatrolAreaAction.h

* Rename enums in RideFreezeRatingAction.h

* Rename enums in RideSetAppearanceAction.h

* Rename enums in RideSetSettingAction.h

* Rename enums in RideSetVehicleAction.h

* Rename enums in BannerSetStyleAction.h
2026-05-21 19:16:07 +00:00
Marino Rottier c9ba4eee98 Rename Network members (#26523)
* Rename Network::Player members to camelCase

* Rename Network::NetworkGroup members to camelCase

* Rename Network::Connection members to camelCase

* Rename NetworkServerAdvertiser members to camelCase

* Rename NetworkAction members to camelCase

* Rename NetworkActions members to camelCase

* Rename Network::User members to camelCase

* Rename Network::UserManager members to camelCase

* Rename PacketLegacyHeader members to camelCase

* Rename Network::Packet members to camelCase
2026-05-17 12:57:47 +00:00
Marino Rottier 66e1411d84 Rename EntityBase and EntitySpriteData members (#26520)
* Rename EntitySpriteData members to camelCase

* Rename EntityBase members to camelCase
2026-05-17 11:21:59 +00:00
Tulio Leao 90bec9b246 Release v0.5.1
- Feature: [#24242] [Plugin] Add ride-breakdown hooktype.
- Feature: [#24879] [Plugin] Add methods for showing and hiding gridlines.
- Feature: [#26327] Add ‘guests entertained’ statistic to entertainers.
- Improved: [#26374] Add higher resolution app icons for Android.
- Improved: [#26386] Initial window scale and toolbar options on fresh Android installations.
- Change: [#26476] Limit creation of new station styles to prepare for more flexibility with ride stations and entrances.
- Fix: [#25581] Chart drawing issue on some platforms due to compiler optimisation.
- Fix: [#26019] Inverted and Inverted Flying Roller Coaster large half loops glitch with the train and don‘t draw in tunnels at some angles (original bug).
- Fix: [#26183] The ride stat graph placeholder text is not drawn in the expected position.
- Fix: [#26287] Game crashes upon connect/disconnect of physical keyboard.
- Fix: [#26299] Single Rail S-Bend sprites don’t fully connect to the next track piece at certain angles.
- Fix: [#26352] Large scenery items are incorrectly labelled as ‘banners’ in the tile inspector.
- Fix: [#26352] The label for path additions is using the wrong text colour in the tile inspector.
- Fix: [#26360] Inverted Lay-down Roller Coaster helices are invisible when loading old saves.
- Fix: [#26396] [Plugin] Socket interfaces were not closing properly and firing up correctly in parallel.
- Fix: [#26410] Tiles with water can draw incorrectly when there is something underwater and nothing above water.
- Fix: [#26418] Game crashes when a stack overflow occurs in plugin code.
- Fix: [#26419] Drop count & negative g’s stat requirements for Flying Roller Coaster don’t get nullified by having an inversion.
- Fix: [#26421] Wrong scenery tab highlighted when more than 64 scenery groups are selected.
- Fix: [#26425] Benches don’t reduce watching spots from 4 to 2 while other path additions do (should be reversed).
- Fix: [#26432] Guests choose to head for rides they have already ridden if they don’t have a map.
- Fix: [#26492] Drag tool shows per-tile error instead of total cost when running out of money midway through placement.
- Fix: [#26510] Displayed air time overflows after 655.35 seconds instead of the internal maximum of 1966.05 seconds.
2026-05-17 07:08:45 -03:00
Alex Parisi d2e0a6ead5 Add object emptiness checks (#26557) 2026-05-16 22:30:00 -03:00
Michał Janiszewski c584491061 Make server drop connections without expected player data
Fixes #26550
2026-05-12 21:45:23 +02:00
MarcelVos96 8323e0f306 Fix #26432: Guests choose to head for rides they have already ridden if they don't have a map 2026-04-22 12:03:40 +02:00
MarcelVos96 e49fcfd7d1 Fix inverted logic around peep watching spots (#26426) 2026-04-22 09:23:14 +02:00
Aaron van Geffen cbc6a7a75d Pass ParkData ref to game actions 2026-02-13 13:59:47 +01:00
Michael Bernardi 4c8308464f QuickJS network and plugin version bumps 2026-04-01 12:54:43 +11:00
Michael Bernardi 7aa5a067d1 Review fixes 2026-04-01 02:19:02 +11:00
16cd1c07ff Swap Duktape for quickjs-ng
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2026-04-01 02:18:36 +11:00
mix 511713a3fb Add quarter helices to various tracks (#25314)
This adds unbanked and banked quarter helices to the Alpine, Corkscrew, Giga, Hybrid, Looping, Mine Ride, Mini, Multi-Dimension (upright), Single Rail, Stand Up, Steeplechase and Twister track types.
2026-03-16 16:37:17 +01:00
Michael Steenbeekandmix dddbbb6b0f Fix #26202: Chairlift cannot open, claiming it must start and end with a station (#26205)
Co-authored-by: mix <167040362+mixiate@users.noreply.github.com>
2026-03-16 09:50:57 +01:00
Aaron van Geffen 586c2edb57 Move entities into OpenRCT2 namespace (#26173) 2026-03-10 07:39:53 +01:00
MarcelVos96 e219349c97 Fix #26140: TimeInQueue overflows back to 0 after 65535 (about a year) (#26141) 2026-03-04 00:56:24 +01:00
MarcelVos96 3629104291 Fix #25735: Ride synchronisation z-check works incorrectly (#25747)
I looked at the logic for the z-coordinate check from version 0.1.0 where it did still work as in vanilla and applied that to the current code.

Rides should synchronise with any station that is one unit below, at the same height, or one unit above.
2026-03-02 13:36:02 +01:00
Tulio Leao 25c7379b46 Release v0.4.32
- Feature: [#22704] Rides can be made invisible more easily.
- Improved: [#21753] Tracked rides with cheated powered launch mode can change powered launch speed without extra cheats.
- Improved: [#25526] When a shop item cannot be recoloured, show a preview of the building instead.
- Improved: [#25941] The command line sprite build command is now faster.
- Improved: [#26002] Rides with newer track elements (like the zero G roll or diagonal brakes) can now be saved as track designs.
- Improved: [#26026] Profiler is now thread safe and supports JSON export with call graph data.
- Improved: [#26050] Add Danish translation to Windows installer.
- Improved: [#26091] When all rides are closed, the marketing window will no longer show the ride advertisement campaign.
- Change: [#26011] Audio resampling no longer depends on the third-party library libspeexdsp.
- Change: [#26049] Guest generation now starts slowing down above 52000 guests instead of 7000.
- Fix: [#14686, #23996, #25981] Preview images from different windows overwrite each other when using OpenGL.
- Fix: [#15128, #15626, #16331, #17443, #18626, #21597, #24175, #24971, #25963] Crash when loading corrupted RCT2/RCT1 save files with duplicate entity indices.
- Fix: [#23519] Title sequence cannot open .sea scenarios from RCTC.
- Fix: [#25237] Wrong colours on the Knight costume (original bug).
- Fix: [#25712, #25727] Crash during startup from window list race condition.
- Fix: [#25763] Crash when opening the Footpath window in Multiplayer.
- Fix: [#25910] Folders starting with numbers are sorted incorrectly (e.g. 1, 10, 2 instead of 1, 2, 10).
- Fix: [#25954] Guests display hats, balloons, and umbrellas while puking.
- Fix: [#25961] Fix crash when rendering malformed vehicles in the ride window.
- Fix: [#25978] Frozen peeps start clapping when the scenario is won.
- Fix: [#25999] Scenery picker tool does not pick the tertiary colour of large scenery correctly.
- Fix: [#26037] Selecting elements in the tile inspector list and changing all tiles of a track piece does not redraw correctly.
- Fix: [#26057] In the scrolling intro, the Infogrames logo is taken off the screen before it reaches the bottom (original bug).
- Fix: [#26058] RCT Classic scenarios with packed objects missing from scenario index.
- Fix: [#26083] You can advertise for closed food & drink stalls.
2026-03-01 06:09:42 -03:00
Michael Steenbeek 0eed76a5c6 Fix #25763: Crash when opening the Footpath window in Multiplayer (#26109)
As of 28 February 2026, there are 14(!) crash reports open for this. As a player doesn’t have to be part of a group, the group index may be out of bounds. In this case, they are a spectator and can’t perform any action. Make `CanPerformAction()` and `CanPerformCommand()` simply return false in these cases.
2026-02-28 16:55:53 +01:00
Gymnasiast 9a067f2654 Bump network version after guest generation change 2026-02-17 20:51:15 +01:00
Aaron van Geffen 1cc7006127 Reorganise game actions into folders (#25987) 2026-02-10 08:57:40 +01:00
Aaron van Geffen 773ba479cd Create separate unit for GameActionRunner 2026-02-09 16:06:56 +01:00
matheusvb3 416a005b88 Replace uses of .size() or .length() with .empty() when appropriate (#25950) 2026-02-05 13:14:12 +01:00
Gymnasiast f9bf2c1b14 Bump network version, amend changelog 2026-02-04 23:24:06 +01:00
Michał Janiszewski dae57fccf6 Release v0.4.31
- Feature: [#25844] The sprite builder now also supports adding JSON-based palettes.
- Improved: [#3788] Self-intersecting track designs can now be placed.
- Improved: [#25719] The weather change dropdown now shows icons next to the weather types for easier selection.
- Improved: [#25765] The ‘View options’ and ‘Special track elements’ dropdowns no longer need click-and-hold.
- Improved: [#25858] macOS now supports the onboarding menu.
- Improved: [#25882] Maze construction now auto-removes trees.
- Improved: [objects#421] The vehicle tab of some rides now shows more of the vehicle.
- Change: [#25018] Add upkeep cost to booster pieces.
- Fix: [#4643, #25167] Many metal supports draw with a filled in top when they didn’t in vanilla, causing some slight misalignment and glitching.
- Fix: [#15009] Landscaping tools do not display estimates when the game is paused (original bug).
- Fix: [#18441] Replacing footpaths sometimes results in a spurious “Footpath in the way” error (original bug).
- Fix: [#20620] In-game console caret does not update when pasting.
- Fix: [#20652] Twister Roller Coaster design ‘u(0241)’ has no preview and cannot be built (bug in track design).
- Fix: [#23859] Wrong banner text displayed after loading a different park.
- Fix: [#25221] When trying to cancel game file discovery, the prompt reappears.
- Fix: [#25703, #25889] Crash when scanning scenarios with packed objects in parallel.
- Fix: [#25739] Game freezes when a tab in the New Ride window contains more than 384 items.
- Fix: [#25745] Crash when a player connection is aborted early.
- Fix: [#25775] Network download sizes are in bytes instead of the listed kibibytes.
- Fix: [#25799] The animated options tab icon of the news window does not always redraw.
- Fix: [#25850] Guests do not have their happiness penalised by low energy, high hunger, high thirst, high toilet.
- Fix: [#25850] Ride nausea generation is different compared to vanilla.
- Fix: [#25854] When a guest is at 0 happiness or energy, the game draws too big of a bar in the guest stats window.
- Fix: [#25862] Diagonal and inclined brakes are not counted when calculating upkeep cost.
- Fix: [#25873] Repainting a banner in OpenRCT2-specific colours results in an error message.
- Fix: [#25879] Guest window viewport doesn’t follow vehicle when they board a ride.
- Fix: [#25908] Crash from use-after-free in banner text formatting during multithreaded rendering.
- Fix: [objects#419] Alignment of RCT2 red, yellow and green queue previews is off.
- Fix: [objects#424] Jet Aeroplane decor has a hole in it.
- Fix: [objects#425] Capacity of ‘Blob from outer space ride’ is incorrectly listed.
2026-02-01 16:17:17 +01:00
frozensnowy 560fb471e0 Fix #25775: Network download sizes are not in the claimed KiB 2026-01-29 21:43:05 +01:00
Michael Steenbeek 343c7a70d7 Change colour to a strong enum (#25873) 2026-01-28 10:06:45 +01:00
Duncan 8d25776c95 Fix implementation mistake from #1644. Guest happiness calcs (#25850)
* Fix implementation mistake from #1644. Guest happiness calcs

There was meant to be happiness growth rate penalties when very hungry, thirsty, low energy, high toilet

* Fix regression

* Fix nausea growth generation

* No really fix it

* Add changelog entry

* Change issue number

* Bump network version

* Update replays
2026-01-20 19:47:24 +00:00
matheusvb3 e039662267 Remove redundant namespace qualifiers (#25821) 2026-01-15 13:10:42 +01:00
Michael Steenbeek 839b5ee434 Fix #25745: Crash when a player connection is aborted early (#25811) 2026-01-15 11:37:37 +01:00
Aaron van Geffen b5cd780b3e Rework drawing header includes (#25744)
* Move Csg unit into OpenRCT2 namespace

* Move G1Element into its own header file

* Clean up SpriteCommands.h

* Add trailing namespace comment to Csg.cpp

* Remove Drawing.h dependency from Graph.h

* Add <memory> include to G1Element.h

* Remove Drawing.h include from ImageTable.h (used by all objects!)

* Drop Drawing.h dependency from OpenGLFramebuffer.h

* Drop Drawing.h dependency from TextureCache.h

* Drop Drawing.h include from TitleScene.h

* Drop Drawing.h dependency from Widget.h

* Add <optional> include to SpriteFile.h

* Add Drawing.h to PlayTests, S6ImportExportTests

* Include <cstdint> in TitleScene.h for SIZE_MAX
2026-01-05 19:09:34 +00:00
Aaron van Geffen 1b844d9e52 Rework object header includes (#25742)
* Remove EntityList.h includes in a few places

* Remove Object.h dependency from Footpath.h

* Remove Object.h dependency from Editor headers

* Remove Object.h dependency from NetworkBase.h

* Move RideFilters struct to RideTypes.h

* Move ObjectSourceGame enum to its own header

* Remove Object.h dependency from ObjectManager.h

* Remove Object.h dependency from ObjectRepository.h

* Remove Object.h dependency from ObjectTypes.h

* Add missing copyright header to ObjectEntryManager.cpp

* Add missing copyright header to SurfaceData.h
2026-01-05 19:31:34 +01:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Michał Janiszewski b0f30a5bfa Release v0.4.30
- Improved: [#24912] Staff now use an appropriate standing animation while waiting at level crossings.
- Improved: [#25515] Path dragging can now be disabled via multiplayer group permissions.
- Improved: [#25529] The map selection grid no longer redraws every frame if it has not changed.
- Improved: [#25530] Wall dragging can now be cancelled without closing the Scenery window.
- Improved: [#25575] Updated the network protocol to a new format that supports larger packets, allowing clients to connect reliably to servers with many objects or large maps.
- Improved: [#25621] Added the Polish Złoty (PLN) to the list of available currencies.
- Improved: [#25625] Renewing and refurbishing rides now also resets the downtime.
- Improved: [#25662] The sprite build command is faster when building sprites from the same image file.
- Change: [#21912] Toilet income is now categorised as shop sales instead of ride tickets.
- Change: [#25403] Guests will not slide down the Spiral Slide if it's broken, even if they have already entered the ride structure.
- Change: [#25485] Make the enlarged pressed swatch sprite more pronounced.
- Change: [#25544] The default game window size is now 1280×720px instead of 640×480px.
- Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus.
- Fix: [#11617] Path corner connections are broken when hovering track design ghosts with paths over them in zero clearances.
- Fix: [#22484] Lingering ghost entrance after placing park entrance.
- Fix: [#24952] Duplicate track designs when running via Steam without having RCT1 linked.
- Fix: [#25187] On-ride photo platform does not render as ghost when placing track design.
- Fix: [#25229] Excessive logging of game actions, reduced to top-level game actions and filters ghost related ones.
- Fix: [#25469] Drawing in the ui.imageManager.draw callback causes an assertion.
- Fix: [#25524] The track construction arrow does not immediately change position when deleting track pieces.
- Fix: [#25552] Clear Scenery does not show an error message about insufficient money if cash is negative.
- Fix: [#25565] Chairlift station ends are missing tunnels at certain rotations.
- Fix: [#25569] Placing park entrances in multiplayer does not show for other players, causing desyncs.
- Fix: [#25571] Potential crash due to drawing a Crooked House ride.
- Fix: [#25588] When the master server becomes unreachable the server would not register again until a restart.
- Fix: [#25592] Log flume, river rapids, & splash boats can get control failure breakdown instead of brakes failure.
- Fix: [#25595] Invisible entrance is added to imported SV4 saves.
- Fix: [#25601] Inspection interval of a ride gets reset when opening the construction window.
- Fix: [#25628] Availability of AVX2 and SSE4.1 is not detected correctly.
- Fix: [#25639] Scenery window crashes when a no longer present object is still selected.
- Fix: [#25641] Desync because of mismatching inspection intervals.
- Fix: [#25642] The selection marker for purchasing land rights is not drawn with the correct colours.
- Fix: [#25646] It is possible to remove scenery and paths when setting staff patrol areas and purchasing land.
- Fix: [#25660] After saving a track design with scenery, that ride’s entrances and exits are visible in ‘Highlight path issues’ mode.
- Fix: [#25717] Umbrellas given to guests by means of cheats do not use the full (extended) range of colours.
2026-01-04 16:56:35 +01:00
Aaron van Geffen 9a73230179 Allow cheated umbrellas to use the full colour palette again (#25717) 2025-12-28 22:10:42 +01:00
mix 8ce8eec426 Fix #11617: Zero clearance ghost track design paths break connections (#25685) 2025-12-27 14:29:49 +01:00
matheusvb3 cc0f83081b Do not allow guests to slide down the Spiral Slide if it’s broken (#25403) 2025-12-12 18:56:14 +00:00
Gymnasiast 5ffee91c8a Rename members of GameActions::Status 2025-12-12 11:41:49 +01:00
matheusvb3 f82b445a73 Update network version 2025-12-07 10:37:29 -03:00
MarcelVos96 41384ac97a Fix #9895: standup coaster gets incorrect intensity boost from synchronisation 2025-12-04 11:15:31 +01:00
Matt d8698726c9 Refactor the network code also change protocol (#25575)
* Change the network protocol and refactor the code, still supports the old format for now

* Bump up network version

* Update changelog.txt
2025-12-03 00:06:39 +02:00
MarcelVos96 688c60654b Update network version 2025-12-01 19:49:17 +01:00
Gymnasiast ebe87be3da Release v0.4.29
- Feature: [#25459] Wall line dragging tool.
- Improved: [#25028] Stalls now support colour presets, just like regular rides.
- Improved: [#25426] Building the track designs index is now quicker.
- Improved: [#25490] The ‘New Ride’ window can now be resized.
- Fix: [#6228] The saved queue line path connections are not preserved when placing track designs (original bug).
- Fix: [#14365] Track designs with scenery below the lowest track piece do not preview correctly.
- Fix: [#25451] Dropdown item tooltips stay open if the mouse is moved over an empty space.
- Fix: [#25454] Opening the land tool while building a path bridge or tunnel closes the Footpaths window.
- Fix: [#25461] Path connections in raised track designs are sometimes broken when placed.
- Fix: [#25467] Paths are not connected together correctly in track design previews.
- Fix: [#25476] When both RCT2 and RCT1 are present, autodetection fails.
- Fix: [#25480] The mini track design preview and price are misaligned in Enlarged UI mode.
- Fix: [#25488] Crash in headless mode.
- Fix: [#25494] The Go-Karts steep to flat track does not draw correctly in the flat side tunnel.
- Fix: [#25518] The virtual floor does not draw correctly if expanded on the positive x and y axes.
- Fix: [#25519] Crackling audio when sampling frequencies do not match.
- Fix: [objects#401] Round tunnels on down slopes glitch.
- Fix: [objects#404] Wooden Wild Mine cars incorrectly allow setting a third remap colour.
- Fix: [objects#408] Australian fountain sets have confusing naming.
- Fix: [objects#409] LIM Launched Coaster trains incorrectly have a 10% intensity modifier set (original bug).
- Fix: [objects#410] Large scenery from the Wacky Worlds Africa theming have incorrect previews when using specific versions of the RCT2 base game.
- Fix: [objects#415] Penguin bobsleigh trains show incorrect sprites on the 12° down slope (original bug).
2025-11-22 18:16:07 +01:00
Michael Steenbeek 6a5dd316a1 Allow dragging lines of walls 2025-11-16 17:14:20 +01:00
Jonas (Elessar2)andGymnasiast 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
mix 61e73a5535 Bump network version 2025-11-07 21:43:46 +01:00
mix 4a77654003 Bump network version 2025-11-05 04:19:06 +00:00