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

21723 Commits

Author SHA1 Message Date
mix
3c6ff344bb Prevent animation invalidation when paused 2025-04-07 22:12:03 +02:00
Michael Steenbeek
5a9d0d0cd6 Fix #23108: Missing pieces on Hypercoaster and Hyper-Twister, even with cheat 2025-04-07 21:52:24 +02:00
matheusvb3
2adf16f726 Scale lightning and thunder inversely proportional to game speed (#23803)
* Disable lightning flashes at higher speeds

* Scale lightning/thunder inversely proportional to game speed

* Change gGameSpéed from uint32 to uint8

* Update changelog.txt

* Increment network version
2025-04-07 18:45:26 +02:00
Aaron van Geffen
99836faeff Rename Window_internal unit to WindowBase for consistency (#24163) 2025-04-06 17:43:36 +02:00
Gymnasiast
ea5f02a87a Release v0.4.21
- Feature: [#22646] New scenario files now contain a minimap image, shown in the scenario selection window.
- Feature: [#23774] Climates can now be customised using objects.
- Feature: [#23876] New park save files now contain a preview image, shown in the load/save window.
- Improved: [#24078] Handrails on Wooden Roller Coaster station sprites with no platforms have been removed.
- Improved: [objects#379] Add additional colour schemes to Mine Train.
- Change: [#23932] The land rights window now checks “Land Owned” by default.
- Change: [#23936] The ‘guests prefer less/more intense rides’ settings have been turned into a dropdown.
- Change: [#24059] The ‘select other ride’ button is now available in the track designs manager.
- Change: [#24067] [Plugin] Registered menu items are now listed alphabetically.
- Change: [#24070] Footpath selection menus now show object names on hover using a tooltip.
- Change: [#24101] Frozen peeps are no longer removed when using the 'remove all guests' cheat.
- Fix: [#4225] Ride Construction window offers non-existent banked sloped to level curve (original bug).
- Fix: [#5281] Missing supports on miniature railways built backwards.
- Fix: [#7222] Transparent pixels in sloped path tunnels (original bug).
- Fix: [#10379] Banners outside the park can be renamed and modified (original bug).
- Fix: [#10582] Low clearance tunnels below water are drawn incorrectly (original bug).
- Fix: [#17524, #23710] Station bases are drawn on many ride types when the “No entrance, no platform station” style is selected.
- Fix: [#18169] CJK, Arabic and Vietnamese display all text as ‘???’ on Android.
- Fix: [#18309] Flying and Multi Dimension trains glitch when changing between inverted and uninverted track when uncap fps is on.
- Fix: [#19506] Queue paths can be placed on level crossings by replacing an existing regular path.
- Fix: [#21803] The park fence is drawn differently in OpenGL compared to software rendering when zoomed out.
- Fix: [#21824] Some sprites are drawn incorrectly when zoomed out in OpenGL rendering.
- Fix: [#21908] Ride mode warnings when hovering track designs.
- Fix: [#22820] OpenGL does not draw masked sprites correctly.
- Fix: [#22961] Clicking on the construction preview places duplicate flat rides and stalls.
- Fix: [#23359] Scripting: Add car.moveToTrack, an easier API than setting car.trackLocation directly.
- Fix: [#23443] New GOG version of RCT2 is not extracted correctly.
- Fix: [#23484] Stray coloured pixels on castle-themed stations and Roman-themed entrances/exits (original bug).
- Fix: [#23486] Object selection minimum requirements can be bypassed with close window hotkey.
- Fix: [#23743] Parks with guest goals over 32767 do not appear in the scenario list.
- Fix: [#23844] Sound effects keep playing when loading another save.
- Fix: [#23881] Compiling on Raspbian/arm-linux-gnueabihf fails.
- Fix: [#23891] Inverted Hairpin Coaster track can draw over things above it (original bug).
- Fix: [#23892] Gentle banked Wooden Roller Coaster track glitches as trains pass (original bug).
- Fix: [#23897] Reverse Freefall Coaster slope up to vertical track piece does not draw a vertical tunnel.
- Fix: [#23910] Heartline Twister Coaster track can draw over things above it (original bug).
- Fix: [#23939] Incorrect assertion when trying to load heightmap.
- Fix: [#23941] Underflow in “Repay loan and achieve a certain park value” objective when using Japanese.
- Fix: [#23949] Walls draw over sloped rear water edges and those edge sprites are misaligned (original bug).
- Fix: [#23960] Corner path fences can draw over adjacent sloped land (original bug).
- Fix: [#23961] Lamps and queue line tvs draw incorrectly on paths with fences.
- Fix: [#23983] Ordering files by size does not work and occasionally crashes the game.
- Fix: [#24009] [Plugin] The object manager API does not identify recently introduced object types.
- Fix: [#24028] Giga and LSM Launched Coaster booster sprites have pixels that draw over transparent pixels.
- Fix: [#24077] Track Designer crashes when clicking the park fence.
2025-04-05 20:26:47 +02:00
Matt
3983e42115 Load the save previews in the background 2025-04-05 16:36:25 +02:00
Matt
d545c1672e Merge pull request #24131 from mixiate/fix-save-preview-unpacking-objects
Prevent unpacking objects when loading a save file preview
2025-04-04 16:26:11 +03:00
Aaron van Geffen
30cd526325 Window: rename WindowResize to WindowResizeByDelta to prevent mistakes (#24145) 2025-04-04 09:30:09 +02:00
mix
2100195467 Fix #24143: Mine Train Coaster track isn't shown in station 2025-04-04 09:04:46 +02:00
mix
69016f546e Fix #21824, #22820: OpenGL draws downscaled and masked sprites wrong 2025-04-03 22:01:40 +00:00
Guy Sviry
b92e05bc14 Scripting: Add Car.moveToTrack API (#23359)
* Scripting: Redraw vehicle when setting track location

* Scripting: introduce car.moveToTrack

A new function to move cars to tracks easier. Also redraws the car.

* Revert car.trackLocation to CoordsXYZD

reverts 30a555d3c2
car.moveToTrack() achieves the same thing in a saner API.

* Final fixes for vehicle.moveToTrack

added back tracklocation.Get with track type
added EntityTweener call at the end of travelBy/moveToTrack

* moveToTrack: final bassie review fixes.

* moveToTrack: use tile coords

* moveToTrack: api increment

---------

Co-authored-by: Guy Sviry <guy@axissecurity.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-04-02 23:42:30 +00:00
mix
910ba56a06 Add new Wooden Roller Coaster no platform station sprites 2025-04-02 19:29:22 +02:00
mix
2583397af7 Fix #22961: Click on construction preview places dupe rides and stalls 2025-04-02 16:59:03 +02:00
mix
2abc01cc44 Remove default value for IParkImporter Load func param skipObjectCheck 2025-04-01 23:31:30 +01:00
mix
751113b8c6 Prevent unpacking objects when loading a save file preview 2025-04-01 23:02:53 +01:00
Michael Steenbeek
50beb138c0 Fix #21908: Ride mode warnings when hovering track designs 2025-03-31 21:22:22 +00:00
Aaron van Geffen
d6c5722527 EditorObjectSelection: force close when switching to track design manager 2025-03-31 17:04:59 +02:00
Aaron van Geffen
0b10bd463e InstallTrack: force the object selection window to close 2025-03-31 17:03:44 +02:00
Aaron van Geffen
31b65ddb84 TrackList window: make 'select other ride' button available in track manager 2025-03-31 16:43:26 +02:00
Aaron van Geffen
3747fd70d4 Force object selection window to close when changing scenes 2025-03-23 15:13:40 +01:00
Aaron van Geffen
bcbc71eb72 Rename EditorObjectFlagsClear, VisibleListClear 2025-03-22 22:59:40 +01:00
Michael Steenbeek
d97ae02db2 Fix #23484: Castle station styles are erroneously remappable 2025-03-31 17:54:08 +02:00
Michael Steenbeek
47e0d80885 Fix #23443: New GOG version of RCT2 is not extracted correctly 2025-03-30 21:30:56 +02:00
Aaron van Geffen
79db8d494a Improve surface colour match by dithering and alternating tile colours
Rename colour variable to paletteIndex
2025-03-30 18:16:12 +02:00
Aaron van Geffen
4e974a5711 Improve map size heuristics in generatePreviewMap 2025-03-14 14:47:23 +01:00
Aaron van Geffen
2d32c8766c Draw minimap in scenario selection screen for .park based scenarios 2025-03-09 17:49:41 +01:00
Michael Steenbeek
aaed1dba5e Merge pull request #24052 from ZehMatt/more-perf
Improve performance of OpenGL transparency depth algorithm
2025-03-30 17:10:05 +02:00
Aaron van Geffen
e427d6424c Exempt frozen peeps from being removed (#24101) 2025-03-27 20:26:21 +01:00
Gymnasiast
c838ad1ba7 Remove non-implemented function declaration 2025-03-26 22:18:09 +01:00
Gymnasiast
2002f697e0 Refactor INPUT_FLAGS into FlagHolder 2025-03-26 13:00:54 +01:00
Gymnasiast
41dc87c68e Refactor DRAWING_ENGINE_FLAGS into FlagHolder 2025-03-26 12:43:21 +01:00
Gymnasiast
ea9e348c9d Rename weak window widget enums 2025-03-26 12:35:49 +01:00
Gymnasiast
fb75de8245 Rename many RCT12 constants 2025-03-26 12:33:40 +01:00
Gymnasiast
80dc039b26 Rename FULLSCREEN_MODE and its members 2025-03-26 12:19:45 +01:00
Gymnasiast
eaaba9fbfb Rename HOOK_TYPE and its members 2025-03-26 12:16:47 +01:00
Gymnasiast
867b69a0f6 Rename SAWYER_ENCODING and its members 2025-03-26 12:09:45 +01:00
Gymnasiast
5b7793f77b Rename SPECIAL_FOLDER and its members 2025-03-26 12:06:31 +01:00
Gymnasiast
c7d38b29fc Rename ADVERTISE_STATUS and its members 2025-03-26 12:03:26 +01:00
Gymnasiast
8d57f4d193 Rename ZIP_ACCESS and its members 2025-03-26 12:00:43 +01:00
Gymnasiast
b26a2953d7 Rename IMAGE_FORMAT and its members 2025-03-26 11:59:12 +01:00
Gymnasiast
3289aa4df3 Rename ASSERT_BEHAVIOUR and its members 2025-03-26 11:56:06 +01:00
Gymnasiast
b8dafb9d62 Rename DIRECTORY_CHILD_TYPE and its members 2025-03-26 11:45:12 +01:00
Gymnasiast
15707d64ec Refactor fountain flags 2025-03-26 00:51:27 +01:00
Gymnasiast
74758c77b6 Rename PATHID and its members 2025-03-25 23:57:36 +01:00
Gymnasiast
e6762f1e08 Refactor TRACK_REPO_ITEM_FLAGS to strong enum and FlagHolder 2025-03-25 23:47:28 +01:00
Gymnasiast
ad547d2d6c Rename static constants of repositories 2025-03-25 23:42:27 +01:00
Gymnasiast
14b881e22b Rename DIRID and its members 2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Gymnasiast
0437329690 Rename DIALOG_TYPE and its members 2025-03-25 22:47:08 +01:00
Gymnasiast
c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00