1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00
Commit Graph

2635 Commits

Author SHA1 Message Date
Gymnasiast
c2b4158573 Split tracks.dat from g2.dat 2025-05-29 21:25:33 +02:00
ZeeMaji
62cb4afd42 Fix #20095: UCES Cemetery Ridge swapped entrance/exit. (#24532)
* Fix UCES Halloween swapped ride huts

* Add cemetery ridge to scenario_to_hash

* Update changelog.txt

* Update data/scenario_patches/scenario_to_hash

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-05-29 12:09:48 -03:00
Matt
d2e3430df2 Add the ability to temporarily load objects without registering them (#24521) 2025-05-27 22:13:42 +00:00
Aaron van Geffen
a7b12594c8 Perform an additional name check for competition scenarios (#24518) 2025-05-27 22:14:54 +02:00
Matt
34bf07915f Merge pull request #24504 from mixiate/fix-23289
Fix #23289: Dodgems and Flying Saucers can spawn on top of each other when opened
2025-05-26 16:43:08 +03:00
mix
7ee49d8f2b Fix #23289: Dodgems and Flying Saucers can spawn on top of each other 2025-05-25 21:37:58 +01:00
Bas
d14dffa9c4 Update changelog with #24446 2025-05-25 16:06:55 +02:00
Michael Steenbeek
6753c9f11b Translate NSIS installer 2025-05-25 00:08:51 +02:00
mix
25fc322825 Invalidate screen on reload from object selection window 2025-05-24 02:47:12 +01:00
Tulio Leao
b04348c56b Make error message on console set command more descriptive
Previously when using `set variable something` you would always get the non-helpful message: "set variable command failed, likely due to permissions."

Since all of these are going through game actions, we can use the GameActionResult to return something more meaningful. For example, trying to do `set game_speed 5`:
Before:
![image](https://github.com/user-attachments/assets/7e52143b-ca5d-461c-8475-408ba6346350)

After:
![image](https://github.com/user-attachments/assets/44160ceb-954b-41f6-80e3-fe581403b404)
2025-05-23 15:44:16 +02:00
Harry Hopkinson
cd63cd34d1 Close #24400: Sort rides with preservation order alphabetically 2025-05-23 12:48:06 +00:00
mix
01f2651d2e Fix #20158: animated scenery dats draw random sprite at end of anim 2025-05-23 14:38:45 +02:00
Harry Hopkinson
4dbd3b6bbc Fix #24447: Refresh the shortcut window when changing language (#24478)
* Refresh the shortcut window when changing language

* Add changelog entry
2025-05-23 08:59:26 -03:00
mix
c394712d70 Add changelog entry for improving window invalidations 2025-05-22 20:59:26 +01:00
ζeh Matt
0dd1b06af0 Update changelog.txt 2025-05-22 21:33:55 +03:00
mix
f22a8056f5 Add changelog entry for fixed window and viewport visibility 2025-05-22 16:54:04 +01:00
Matt
01b577fa58 Improve performance of panning the viewport with OpenGL renderer (#24413)
* Improve performance of panning the viewport with OpenGL renderer

* Use a shader to perform the copy rect operation

* Clear the frame buffer after its initialized

* Handle Y flip in shader, be explicit about FBO draw state

* Target 330 core, remove the y flip handling

* Explicitly use GL_RGB8 and not GL_RGB

* Add more error handling, clear depth when depth is created

* Lets try this

* Make sure blend and depth are disabled

* Bind the source fbo for reading

* Try this alternative approach

* Set read and draw buffer before glBlitFramebuffer

* Apple is forcing my hand

* Update changelog.txt
2025-05-21 18:35:05 +03:00
Michael Steenbeek
f9d6ca58b8 Merge pull request #24417 from mixiate/improve-dive-loop-vehicle-fallback-sprites
Improve Dive Loop vehicle fallback sprites
2025-05-20 12:41:51 +02:00
Michael Steenbeek
3a98c5a296 Merge pull request #24332 from Gymnasiast/refactor/ship-with-full-sprite-font
Include full sprite font
2025-05-20 12:39:42 +02:00
Garv Changrani
67ccf997c7 Fix #24388, #24448: shortcut keys are not localised (#24440)
#ieeesoc

* fix: resolve issue where shortcut keys were not localised

* fix: correct Caps Lock shortcut misassigned to numpad dot

* Update changelog.txt

* Keep strings ordered by key

* Remove duplicate entries

* Add another changelog entry

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-05-20 05:55:22 -03:00
mix
5f7e42247e Improve vehicle pitch 50 bank 45, 67 and 90 fallback sprites 2025-05-20 00:21:06 +01:00
mix
ac93400659 Fix incorrect Zero G Roll vehicle yaw rotations 2025-05-20 01:06:22 +02:00
Gymnasiast
cee133e03d Ship with a full font set
Also closes #24225: Modify stroked L glyph to resemble unstroked
2025-05-19 22:41:57 +02:00
Aaron van Geffen
ea1633e820 Anchor object load error text to title bar 2025-05-19 22:15:32 +02:00
Aaron van Geffen
b1349d619b Fix WINDOW_SHIM parameter order for network status window 2025-05-19 18:38:44 +02:00
mix
f57f07696b Fix virtual floor not invalidating correctly 2025-05-19 16:09:27 +02:00
Michael Steenbeek
7fbbd0d2a5 Autodetect Steam installs of RCT Classic 2025-05-18 21:32:48 +02:00
Andrew
736d9448af Close #22476: Add time since last inspection to Rides List window (#24080)
* Add time since last inspection to ride window

* Changelog

* Add missing entry to ride_info_type_money_mapping
Make dropdown wider

* Consistent formatting

* Update distribution/changelog.txt

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-05-18 09:56:44 +00:00
ZeeMaji
7d930a866b Allow building zero g rolls on LIM RC without cheats 2025-05-17 22:56:57 +02:00
mix
4c2964dcea Improve Zero G Roll fallback vehicle sprites
This improves the fallback vehicle sprites for Zero G Rolls. Apart from one pitch/bank angle, they have been changed to fallback to the inline roll sprites. I tried to see if any of the corkscrew sprites could be used, but I didn't think any were suitable, and in my opinion having a smoother animation overall looks better than it changing angles several times. I also renamed a vehicle paint function that seems to have an incorrect name.
2025-05-16 21:58:39 +00:00
mix
c51b755ea9 Fix park fences drawing underneath and through opaque water 2025-05-16 14:47:52 +02:00
Garrett Leach
56e0afe8aa Fix divide by zero when there is no scenery (#24371) 2025-05-13 08:07:01 +00:00
Max
5a95e5e27d Close #24313 - Add API for setting a car’s ‘isCrashed’ flag
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-05-12 21:42:46 +00:00
Michael Steenbeek
0e5d602a7e Fix wording of one string and the changelog entry
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-05-12 12:50:43 +02:00
Gymnasiast
62bc8dfd1f Add changelog entries 2025-05-11 23:49:02 +02:00
Gymnasiast
fd5e95e29d Also check for the presence of RCT Classic 2025-05-11 23:48:48 +02:00
Gymnasiast
d5534b061a Block if user tries to install to the RCT2 folder 2025-05-11 23:10:33 +02:00
Gymnasiast
96445b1b11 Update URL 2025-05-11 23:10:32 +02:00
Gymnasiast
2155a18f4b Add additional installer languages 2025-05-11 23:10:32 +02:00
Gymnasiast
d4b6d20dd5 Clear out data dir before upgrading 2025-05-11 23:10:32 +02:00
Gymnasiast
42adb068db Add missing issues to changelog 2025-05-10 23:11:13 +02:00
Gymnasiast
3641d80519 'Update available' button should lead to openrct2.io 2025-05-10 20:30:17 +02:00
Aaron van Geffen
4035e01b38 Start v0.4.23 2025-05-04 20:23:00 +02:00
Aaron van Geffen
b7199e3099 Release v0.4.22
- Feature: [#24206] [Plugin] Add APIs for breaking down rides, reading the current breakdown, and for fixing broken down rides.
- Improved: [#20073] The OpenGL drawing engine now supports screen invalidation which avoids the redrawing of unchanged regions.
- Improved: [#21767] RCT Classic for macOS can now be used as the source game.
- Improved: [#23590] Title bars are now drawn bigger when “Enlarged UI” is enabled.
- Improved: [#23626] Add small, medium and large flat and sloped turns, S-bends and diagonal track to the Go-Karts.
- Improved: [#23982] The scenario objective window has been merged into the scenario options window.
- Improved: [#24233] RCT Classic+ from Apple Arcade can now be used as the source game, and is detected automatically.
- Improved: [#24260] Better performance on parks that have a lot of Guests and Entertainers.
- Improved: [#24319] RCT Classic installs via Steam are now detected automatically on Windows.
- Change: [#23803] Lightning strikes and thunder now happen at the same frequency independently of the game speed.
- Change: [#23857] Replace display options tab with custom sprites.
- Change: [#24069] [Plugin] Plugins are now available in the scenario editor and track designer.
- Change: [#24135] Compress Emscripten js/wasm files.
- Change: [#24194] The advanced options tab has been reworked to make it easier to find the RCT1 path setting.
- Change: [#24235] Small changes to RCT1 theme.
- Change: [#24236] Controls and Interface options now both have their own tabs in the Options window.
- Change: [#24308] “Software” and “Software (hardware display)” renderers have been merged into a single “Software” renderer.
- Change: [#24317] The scenery window now shows at least one row of scenery objects, even if there are multiple rows of tabs.
- Fix: [#18479] Tile elements ordered beneath water do not draw correctly.
- Fix: [#19782] Game stops counting inversions and golf holes after 31 (original bug).
- Fix: [#21207] Track List window gets positioned incorrectly.
- Fix: [#21919] Non-recolourable cars still show colour picker (original bug).
- Fix: [#22182] [Plugin] Crash when using map.getAllEntities("car").
- Fix: [#22634] Asset packs with sound effect overrides are not loaded correctly at startup.
- Fix: [#23108] Missing pieces on Hypercoaster and Hyper-Twister, even with the ‘all drawable track pieces’ cheat enabled.
- Fix: [#24013] Failure to load a scenario preview image (minimap) could lead to an uncaught exception error message.
- Fix: [#24045] [Plugin] Data storage is not cleared when converting save game to scenario.
- Fix: [#24121] Checkbox labels run beyond the edge of the window if they’re too long to fit.
- Fix: [#24142] [Plugin] Track origin is miscalculated on downward slopes.
- Fix: [#24220] Narrow station platforms have missing sides on certain rotations.
- Fix: [#24286] Steam installs of RCT1 and RCT2 are not autodetected on macOS.
- Fix: [#24310] [Plugin] Missing invalidation on various plugin api setters for entities.
2025-05-04 19:17:54 +02:00
Aaron van Geffen
93ae8a3553 Rework 'advanced options' tab to use group boxes (#24194)
* Turn RCT1 path button into label widget

* Rename WIDX_EXPORT_CUSTOM_OBJECTS_CHECKBOX

* Draw RCT1 path in black text

* Rework advanced tab into groupboxes

* Adjust clear/browse button width based on current language

* Tweak labels a little so desync label _just_ fits

* Let Emscripten buttons be offset to title bar height

* Tweak emscripten import/export button positions

* Amend changelog
2025-05-04 13:30:49 +00:00
Michael Steenbeek
a69f4f5d0f Close #24319: Autodetect Steam RCT Classic on Windows 2025-05-04 14:34:55 +02:00
Michael Steenbeek
dd423de4a8 Add two PRs to changelog 2025-05-03 22:26:27 +02:00
mix
c9a80f7c2b Fix #18479: Tile elements ordered beneath water do not draw correctly (#24306) 2025-05-03 14:57:33 +02:00
Aaron van Geffen
a23bf8695a Improve scenery window (minimum) height (#24317)
* Add constant for max scenery window height

* Let scenery window minimum height depend on number of tab strips

* Hide eyedropper and cluster buttons if window is too small

* Amend changelog
2025-05-02 20:56:56 +00:00
Aaron van Geffen
ae16743b52 Split 'controls and interface' tab into two tabs 2025-04-21 12:34:42 +02:00