1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

2566 Commits

Author SHA1 Message Date
Aaron van Geffen
c6f59cd57b Amend changelog 2025-04-17 12:26:11 +02:00
Aaron van Geffen
2de3e96dfb Let checkbox widgets respect widget width for their labels 2025-04-11 16:22:08 +02:00
Gymnasiast
cc16c573b4 Add it-IT translation to openrct2.appdata.xml 2025-04-16 13:38:22 +02:00
mix
cfaff31aff Fix narrow station base drawing with incorrect rotation 2025-04-16 11:30:34 +00:00
Aaron van Geffen
3404405f7e Load scripts in the scenario editor and track designer (#24090)
* Load scripts in the scenario editor and track designer

* Explicitly unload plugins upon saving scenario
2025-04-13 13:41:22 +02:00
Michael Steenbeek
87765d662d Close #21767: Cannot select macOS version of RCTC as source 2025-04-11 17:00:57 +02:00
Basssiiie
0ae984842b Fix track origin being miscalculated for plugins on downward slopes 2025-04-09 17:29:44 +00:00
Ethan O'Brien
6693278b7f Load emscripten data via a ZIP file 2025-04-08 11:26:23 +00:00
Garrett Leach
a8c476a9a2 Fix crash from failing to open file for preview (#24171)
If the file open fails in FileStream it will throw an IOException. We now capture that exception in the existing catch.
2025-04-07 21:26:10 +00:00
Michael Steenbeek
ee7c7a3a9a Fix #21919: Non-recolourable cars still show colour picker 2025-04-07 20:50:40 +00: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
Gymnasiast
dfa41aa55e Start v0.4.21+1 2025-04-05 23:29:51 +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
Michael Steenbeek
cd86eb659c Clarify changelog entry
[ci skip]
2025-04-05 16:29:41 +02:00
mix
69016f546e Fix #21824, #22820: OpenGL draws downscaled and masked sprites wrong 2025-04-03 22:01:40 +00:00
Michael Steenbeek
9fb0ba0f3d Bump objects to v1.6.1 2025-04-03 23:48:06 +02: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
Michael Steenbeek
50beb138c0 Fix #21908: Ride mode warnings when hovering track designs 2025-03-31 21:22:22 +00:00
Aaron van Geffen
31b65ddb84 TrackList window: make 'select other ride' button available in track manager 2025-03-31 16:43:26 +02: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
8f1978d64a Amend changelog 2025-03-27 21:13:06 +01:00
Alex
2f90184d50 Refactor rest of .d.ts file to use JSDoc-style comment notation (#24073)
* Refactor: Migrate rest of .d.ts file to use JSDoc-style comment notation

  - Adds markdown links for file references

  - Refactor inline lists into structured markdown lists

  - More verbose bitmask documentation

  - Adds @link fields where appropriate

  - Moves some comments from being inline to above the referenced line to allow for IDE notation

  - Fixes some broken/moved C file path references

  - Adds bitmask documentation for staff orders

* Fix: Type name

* Change: contributors.md file

* Remove outdated recommendation

* Change file links to github links

* Add comment applicability disclaimer

* Add link to LandSetRightsArgs ownership file

* Remove `ClimateSetArgs`
2025-03-28 22:49:09 +01:00
Aaron van Geffen
e427d6424c Exempt frozen peeps from being removed (#24101) 2025-03-27 20:26:21 +01:00
Michael Steenbeek
5ad0f5b411 Fix #24077: Track Designer crashes when clicking the park fence 2025-03-25 21:50:37 +01:00
Michael Steenbeek
6b57ec82ff Fix #19506: Queue paths can be placed on train tracks 2025-03-25 17:35:28 +01:00
Aaron van Geffen
7efb6e7835 Generalise dropdown tooltips and add tooltips to footpath window (#24070) 2025-03-25 08:59:30 +01:00
mix
a8e2c6e375 Fix #23710: Tracked rides draw station bases with No entrance, no platform station style 2025-03-24 21:32:56 +01:00
Aaron van Geffen
472ab1996a Order custom menus consistently by label text (#24067) 2025-03-24 17:42:05 +00:00
mix
185c601191 Fix #24028: Giga and LSM booster pixels draw over transparent things 2025-03-24 13:17:07 +01:00
MoorDev
96e22f0170 Fix #18169: Missing TTF support on Android 2025-03-20 18:52:57 +00:00
Aaron van Geffen
0a3e9fdfd9 Update object manager API to access new object types (#24009)
* Update object manager API to access new object types

* Use separate mapping for scripting due to different type names

* Amend changelog
2025-03-20 00:16:08 +01:00
mix
647ab23c33 Fix #18309: Vehicles glitch going inverted to uninverted with uncap fps (#24011) 2025-03-17 20:39:28 +01:00
Gymnasiast
30748fcf5b Fix apostrophes and quotes in changelog
[ci skip]
2025-03-16 23:16:02 +01:00
busybu2
70302be7d0 Link to libatomic for arm-linux-gnueabihf library architecture 2025-03-16 21:27:09 +00:00
Michael Steenbeek
0d90ea2846 Fix #5281: Missing supports on miniature railways built backwards 2025-03-14 21:39:13 +01:00
mix
1c2e22e859 Fix lamps and queue line tvs drawing incorrectly on paths with fences 2025-03-14 21:16:37 +01:00
Matt
e89312a319 Fix #23983: Ordering files by size not working and potentially crashing (#23991) 2025-03-14 09:32:28 +01:00
mix
91afda265e Fix corner path fences drawing over adjacent sloped land 2025-03-12 22:40:55 +00:00
Aaron van Geffen
7411b718bc Prevent closing object selection window when selection is invalid (#23968)
* EditorObjectSelectionWindowCheck: move window close out to caller side

* WindowManager: apply CanClose check again

* Amend changelog
2025-03-11 21:14:04 +01:00
Aaron van Geffen
1dd1564904 Clarify 'guests prefer more/less intense rides' settings (#23937)
* Turn guests' intensity preferences into a dropdown

* Update changelog.txt
2025-03-11 20:10:44 +00:00
mix
2e975a626e Fix #23910: Heartline Twister Coaster track draws over things above it 2025-03-11 18:42:26 +00:00
mix
dacd2f4e8c Fix #23891: Inverted Hairpin track can draw over things above it 2025-03-11 18:22:21 +00:00
mix
7ea47267dd Fix gentle banked Wooden RollerCoaster track glitching as train passes 2025-03-11 18:02:17 +00:00
mix
2e9ba86663 Fix walls drawing over sloped rear water edges and misaligned sprite 2025-03-11 18:15:53 +01:00
Aaron van Geffen
241f5dbbf9 Amend changelog 2025-03-10 23:24:37 +01:00
mix
fd148356c8 Fix #10582: Low clearance tunnels below water draw incorrectly 2025-03-07 19:48:12 +01:00