1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

527 Commits

Author SHA1 Message Date
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)
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
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
matheusvb3
330b54e4a4 Slightly refactor and document Spiral Slide code 2025-10-25 16:46:36 +02:00
matheusvb3
3deae86fb5 Set slide as not in use when using cheat to remove guests 2025-10-23 16:39:33 +02:00
mix
5928279cf0 Fix mazes able to be built 2 units above support limits 2025-10-23 09:28:15 +02:00
mix
198c3298e1 Fix land tool clearance checks underneath maze track pieces 2025-10-19 21:01:43 +00:00
Kyphii
5ade2960b6 Bump network version 2025-10-16 09:46:15 -04:00
Gymnasiast
1038c4ac16 Rename members of Network::Permission 2025-10-07 21:57:59 +02:00
Gymnasiast
daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
matheusvb3
d8da02e7dd Make peeps not stop on level crossings (#25089)
* Check if actions can be performed safely

* Add explanatory comment

* Refactor Easter egg logic in Guest::UpdateWalking

* Add changelog entry

* Make the comment more explanatory

* Update NetworkBase.cpp

* Update changelog for v0.28
2025-10-04 22:52:26 +00:00
Tulio Leao
dbb9fd9dec Release v0.4.27
- Feature: [#25218] `sprite exportobject` command, which allows extracting images from an object.
- Feature: [#25274] New title sequence (see https://github.com/OpenRCT2/title-sequences/releases/tag/v0.4.26 for credits).
- Improved: [#2296, #2307] The land tool now takes sloped track and paths into account when modifying land.
- Change: [#25111] Frozen guests no longer finish consuming any food or drink they are carrying.
- Change: [#25161] Revert to the ‘fair ride price’ calculation of vanilla RCT2.
- Change: [#25201] Ride List: put unknown popularity and satisfaction last when sorting.
- Change: [#25228] [Plugin] The available staff costumes array is now ordered alphabetically by name.
- Change: [#25240] The LIM Launched Coaster now defaults to powered launch without passing station again (as it did in vanilla RCT2).
- Change: [#25248] Revert Crooked House & Circus default prices to vanilla values.
- Change: [#25266] Lightning and thunder have less chance of occurring during blizzards.
- Removed: [#25225] `sprite exportalldat`, replaced with `sprite exportobject`.
- Fix: [#24513] Ride/track designs can now be shifted underground as well.
- Fix: [#24682] The scenery window isn't high enough to accommodate all tool buttons when there are multiple rows of groups/tabs.
- Fix: [#24882] Guests are shown with hats and umbrellas whilst clapping.
- Fix: [#24998] Some custom small scenery objects do not load.
- Fix: [#25131] The Reverse Freefall Coaster On-ride photo section track has incorrectly coloured ties.
- Fix: [#25132] Crash when trying to use simulate on incomplete ride.
- Fix: [#25134] Vehicles visually glitch on diagonal steep slopes.
- Fix: [#25146] The support clearance height of the diagonal brakes for the Junior, inverted Flying and inverted Lay-down Roller Coasters is too high.
- Fix: [#25147] The wooden support clearance heights for steep Log Flume track pieces are too low.
- Fix: [#25159] One of the tiles on the Hybrid Coaster diagonal flat track does not block metal or wooden supports correctly.
- Fix: [#25160] The Go-Karts steep to flat track piece has incorrect wooden support clearance heights.
- Fix: [#25163] Some of the Junior Roller Coaster flat to steep track wooden support clearance heights are different to RCT1.
- Fix: [#25173] Desync when placing a park entrance in multiplayer.
- Fix: [#25179] The LIM Launched Roller Coaster inline twists have incorrect wooden support clearance heights (original bug).
- Fix: [#25201] Ride list sort order can be unstable when sorted in descending order.
- Fix: [#25207] Building a block brake on an LIM coaster does not automatically switch it to powered launch block sectioned mode.
- Fix: [#25238] The chance of thunder and lightning effects happening is lower than vanilla.
- Fix: [#25288] Water ride “chain” sound does not loop.
2025-10-04 05:43:14 -03:00
matheusvb3
7f65496d60 Make the LIM Launched Coaster's operating mode default to powered launch without passing station 2025-10-02 09:33:32 +02:00
ZeeMaji
1af0874443 Revert crooked house & circus default prices to vanilla values 2025-09-25 08:51:43 +00:00
spacek531
e5aa3b33f2 Use regular interval for swing sprite threshold (#25171)
* use regular interval for swing sprite threshold

* bump network

* bump park file version
2025-09-20 09:39:50 +02:00
Gymnasiast
472e048f69 Make WindowView into strong enum 2025-09-17 23:49:17 +02:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Aaron van Geffen
51b4bbbce5 Allow shifting track designs underground
Since about a year ago, OpenRCT2 has allowed players to shift ride/track designs using modifier keys (#22669). This was, however, limited to heights above-ground. This PR changes this by omitting the 'Z placement assist' when ctrl/shift modifiers are used. This means the helpful 'nudge' to overground is now omitted if (and only if) these modifier keys are involved.

Below is an example of what placement now looks like (with clearance checks disabled for easier debugging):

https://github.com/user-attachments/assets/3b23bc1d-ab7b-43a2-ad40-216ab83952d2
2025-09-17 23:09:07 +02:00
Gymnasiast
a0a4a7823a Amend changelog, bump network and park file versions 2025-09-15 23:12:13 +02:00
Gymnasiast
a3d4db9287 Pass entrance path type to game action
Fixes a desync when placing a park entrance in multiplayer
2025-09-14 17:09:26 +02:00
mix
845a0c597c Change land tool to account for sloped track and paths
This allows you to modify the land underneath sloped track and paths without the zero clearances cheat.

Closes #2296
Closes #2307

https://github.com/user-attachments/assets/8cb51199-a5b4-48e4-9cc3-34fd6ce7410e

It passes the slope in to the function that checks for construction clearances, and calculates whether it fits under the track or path.

In some very rare cases it is possible to build some track pieces in an arguably invalid way over 2 height sloped land, this does not let you raise the land in to that invalid position after the track piece has been built.
2025-09-09 20:29:06 +00:00
Aaron van Geffen
4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Aaron van Geffen
c1e3e8412b Rework ServerEvent, PlayerFlags, TickFlags 2025-09-05 13:24:00 +02:00
Aaron van Geffen
d2c4a36787 Drop 'Network' prefix from more classes as suggested
* Rename Network::NetworkReadPacket class to Network::ReadPacket
* Rename Network::NetworkKey class to Network::Key
* Rename Network::NetworkPacket class to Network::Packet
* Rename Network::NetworkUser class to Network::User
* Rename Network::NetworkConnection class to Network::Connection
2025-09-05 13:17:14 +02:00
Aaron van Geffen
cecac8ee0b Drop 'Network' from namespaced network constants 2025-09-05 12:53:42 +02:00
Aaron van Geffen
5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen
58569d6d50 Remove unnecessary OpenRCT2 qualifiers 2025-08-31 15:31:19 +02:00
Aaron van Geffen
6ea5959b2b Move network units to OpenRCT2::Network namespace 2025-08-31 15:26:10 +02:00
Aaron van Geffen
d6e9f3d205 Replace duplicate MapIsLocationAtEdge function with MapIsEdge (#25107) 2025-09-06 21:45:49 +02:00
Aaron van Geffen
12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
Michał Janiszewski
84fc3bcf5e Release v0.4.26
- Feature: [#24949] Add an option to the command line screenshot function to draw debug bounding boxes.
- Improved: [#9890, #18714] Rides using block-sectioned operating modes can now enter simulating mode without having to complete the circuit first.
- Improved: [#24734] Save files now use Zstd compression for faster saving and smaller files.
- Improved: [#24890] The ride list is now searchable.
- Improved: [#24893] The ride list now has headers, and can be sorted in both directions.
- Improved: [#24921] The command line sprite build command now prints out the images table entry for the compiled sprite file.
- Improved: [#24953] Opening the Scenario Editor, Track Designer or Track Designs Manager now display the progress bar.
- Improved: [#25027] Land style dropdown now has tooltips with the name of the land types.
- Improved: [#25057] The progress window now has a Go Karts variant.
- Change: [#23351] Diagonal sloped Go-Kart track can no longer be built without cheats if the karts do not have sprites for them.
- Change: [#24606] Increase Misc Entity limit from 1600 to 3200.
- Change: [#24974] Raise the Go-Karts maximum support height to allow 2 large sloped turns to be built on flat ground.
- Change: [#25024] Guests in mazes no longer jump during heavy snow or blizzards, as they would when it rains.
- Fix: [#12831] Zooming to cursor on land edges sometimes causes the camera to move to the wrong position.
- Fix: [#16988] AppImage version does not show changelog.
- Fix: [#19137] Non-inverted left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#23440] Quarter loops do not block metal supports correctly (original bug).
- Fix: [#24001] Sloped diagonal metal supports that are offset with a crossbeam draw incorrectly.
- Fix: [#24151] Sprites are cut off by 1 row of pixels when using OpenGL on Intel Macs.
- Fix: [#24173] Allow all game speeds between 1 and 8 when debugging tools are enabled.
- Fix: [#24745] Potential crash when lighting effects are enabled and loading a save or a new scenario.
- Fix: [#24835] Dive loop track pieces do not have tunnels.
- Fix: [#24884] Smooth map and add beaches functions use incorrect map size with height map image files.
- Fix: [#24915] LIM Launched (original bug), Corkscrew and Twister Roller Coaster inline twists have some incorrect tunnels.
- Fix: [#24916] LIM Launched inline twists can draw over land edges when built underground (original bug).
- Fix: [#24953] Crash when opening the Scenario Editor, Track Designer or Track Designs Manager.
- Fix: [#24955] Hybrid Zero G Rolls do not fully block metal supports.
- Fix: [#24958] Android: fix crash when device is offline.
- Fix: [#24961] Queues with corner connections set with the tile inspector draw incorrect sprites.
- Fix: [#24972] Fix crash when closing windows would open other windows.
- Fix: [#24986] LIM Launched Roller Coaster inline twists block metal supports on the wrong side (original bug).
- Fix: [#24989] Classic Wooden Roller Coaster small banked turns do not block metal supports correctly.
- Fix: [#24993] The Mine Train Coaster sloped left medium turn has an incorrectly rotated support at one angle.
- Fix: [#24994] The Alpine Coaster and Mine Ride left s-bends have an incorrectly rotated support at certain angles.
- Fix: [#25001] The Hybrid Coaster small banked sloped right turn and large sloped right turn to orthogonal have some incorrectly rotated supports.
- Fix: [#25002] The large right turn to diagonal on the Miniature Railway draws incorrectly at certain angles.
- Fix: [#25005] The Corkscrew Roller Coaster inline twist inverted supports draw below the track.
- Fix: [#25006] The Twister Roller Coaster inline twists do not draw in tunnels at some angles.
- Fix: [#25046] Zooming with the zoom buttons on the extra viewport is not focused on the centre of the viewport.
- Fix: [#25054] Panning a viewport in a window that is partially outside the game’s window can draw incorrectly or crash in software rendering.
- Fix: [#25062] Certain peep actions cannot be triggered if they are under or inside a track piece due to faulty verification of them being on a level crossing.
- Fix: [#25067] Progress bars can flicker when downloading maps in multiplayer mode.
- Fix: [#25075] The Hybrid Coaster quarter loops draw over land edges and walls directly next to them.
- Fix: [#25080] Water has missing land edges when opposite corners of the tile and adjacent tile are the same height and the others are lower.
2025-09-06 19:41:24 +02:00
matheusvb3
aaa4ae05f4 Make guests in mazes not jump during heavy snow or blizzard (#25024) 2025-09-02 19:23:04 +02:00
matheusvb3
7b9f52b6c4 Fix check in Peep::IsOnLevelCrossing() (#25062)
* Fix crossing check

* Update network version

* Add changelog entry
2025-08-29 23:17:04 -03:00
Aaron van Geffen
c3dea57e41 Prevent progress bar from flickering during map download (#25067) 2025-08-29 20:36:17 +00:00
kyphii
39aab71e7d Fix #18714: Allow block-sectioned rides to simulate with incomplete circuit (#25034)
* Allow block-sectioned rides to simulate with incomplete circuit

* Remove unused variable
2025-08-29 06:53:22 -03:00
Aaron van Geffen
abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Aaron van Geffen
afdee8852a Move LoadOrQuit, Map, Maze, Network game actions 2025-08-26 21:17:44 +02:00
Aaron van Geffen
620c1f40ef Move Staff game actions into GameActions namespace 2025-08-26 18:34:31 +02:00
mix
6ed3783e06 Prevent diagonal slopes from being built if vehicles lack sprites (#23351) 2025-08-15 10:26:50 -03:00
Max
86788fc3b1 Close #24606: Double misc entity limit (#24957)
* 24606 - Raise entity limit 10x

* 24606 - MiscEntityLimit to 3200

* 24606 - Increase network version and add changelog
2025-08-14 06:57:25 -03:00