1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

2648 Commits

Author SHA1 Message Date
Tulio Leao
a9b51ad3b2 Fix missing version separator on changelog 2025-06-07 06:21:29 -03:00
Tulio Leao
74925bba43 Start v0.4.24 2025-06-07 06:16:14 -03:00
Tulio Leao
b8d73b523c Release v0.4.23
- Feature: [#22476] “Time since last inspection” statistic is available in the rides window.
- Feature: [#24313] [Plugin] Add API for setting a ride vehicle’s sprite to a smoke plume.
- Improved: [#24345] Vehicle fallback sprites are less likely to glitch with the track.
- Improved: [#24362, #24491] The Windows installer is now translated as well.
- Improved: [#24364] Improve the fallback vehicle sprites for Zero G Rolls, and allow small ones to be built without cheats if the fallbacks are available.
- Improved: [#24368] Clicking the in-game update notication now leads to a more user-friendly download page.
- Improved: [#24400] Ride list in preservation window is now sorted alphabetically.
- Improved: [#24409] Steam installs of RCT Classic are now detected automatically.
- Improved: [#24413] Better performance when moving the viewport on Windows and Linux platforms.
- Improved: [#24417] Improve the fallback vehicle sprites for Dive Loops.
- Improved: [#24433] The ride, new ride, scenery, path, viewport, park and tool windows no longer redraw every frame if they have not changed.
- Improved: [#24467] Apply tweening only to on-screen entities when not zoomed out for better performance with uncapped FPS.
- Improved: [#24474] More efficiently search viewports when playing Audio.
- Improved: [#24479] More descriptive error messages for `set` commands in the in-game console.
- Improved: [#24563] The Linux .desktop file will now request the more powerful dedicated GPU on hybrid graphics systems.
- Change: [#24342, #24484] g2.dat is now split into g2.dat, fonts.dat and tracks.dat.
- Change: [#24362] The Windows installer now prevents installing to the same folder as RollerCoaster Tycoon 2 or Classic.
- Change: [#24418] Small & Large Zero G Rolls can now be built on the LIM Launched RC without cheats if vehicle sprites are available.
- Fix: [#5269] Font bugs when using the Russian release of RCT2 as the base game.
- Fix: [#11071, #22958] The virtual floor does not always draw correctly.
- Fix: [#18220] Some custom RCT1 scenarios are detected as competition DLC scenarios.
- Fix: [#20095] UCES Halloween - Cemetery Ridge scenario has mismatched entrance/exit on haunted house.
- Fix: [#20158] Custom animated scenery .DATs with frame offsets draw a random sprite at the end of their animation.
- Fix: [#22628] Potential crash while rebuilding the scenario index.
- Fix: [#23289] Dodgems and Flying Saucer cars can spawn on top of each other when the ride is opened.
- Fix: [#24332] Banner font renders differently when using RCT Classic as the base game.
- Fix: [#24343] Large gently sloped turns are buildable without cheats when the vehicles do not have sprites for them.
- Fix: [#24346] Possible crash during line drawing in OpenGL mode.
- Fix: [#24353] ‘Show dirty visuals’ is off by one pixel and does not work correctly with higher framerates.
- Fix: [#24362] When upgrading from an older version on Windows, old versions of official objects are not always removed.
- Fix: [#24366] Zero G Rolls have some incorrect vehicle yaw rotations.
- Fix: [#24371] Fix divide by zero in the scenery window when there is no scenery.
- Fix: [#24378] Prevent ride and stall statistics from overflowing.
- Fix: [#24388] Shortcut keys are not localised based on the user’s language settings.
- Fix: [#24403] Park fences draw underneath and through opaque water.
- Fix: [#24406] The network status window uses an undefined string for its title.
- Fix: [#24444] In the object load error window, the guide text overlaps when the title bar is enlarged.
- Fix: [#24446] [Plugin] Fix regression breaking the track iterator on specific track pieces.
- Fix: [#24447] Shortcut list is not refreshed when changing language.
- Fix: [#24448] Shortcuts involving the Caps Lock key are wrongly localised to NumPad Dot.
- Fix: [#24464] Window and viewport visibility is not calculated correctly causing minor performance issues.
- Fix: [#24488] Objects are not always redrawn immediately when they are reloaded from the Object Selection window.
- Fix: [#24544] RCT1 Maze designs with wooden walls are not imported correctly.
- Fix: [#24567] Long flat-to-steep wooden mine support sprites don't connect to flat supports exactly.
2025-06-07 05:46:48 -03:00
Michael Steenbeek
f9c753e99b Fix version info of NSIS installer 2025-06-07 10:39:34 +02:00
mix
0d9c585379 Fix flat to steep wooden mine supports not connecting to flat supports 2025-06-06 21:02:51 +02:00
Michael Steenbeek
92db8a9d78 Linux: add .desktop hint to request discrete GPU (#24563)
This hint was added in v1.4 of the spec and supported by GNOME (since 2020) and KDE (since 2021) and is intended for systems with hybrid graphics. It tells the system to launch the application on the more powerful discrete GPU as opposed to the more energy efficient integrated graphics.

Systems like this (e.g. the Optimus laptops) are the spawn of Satan, but this makes the experience much more enjoyable for the poor users with a system like this.

Reference: https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html
2025-06-04 20:46:54 +02:00
mix
c97191a3d7 Add required sprites to unbanked and banked large gently sloped turns 2025-06-03 23:52:49 +02:00
Michael Steenbeek
a3494d5358 Fix #24544: RCT1 Maze designs with wooden walls not imported correctly 2025-06-02 21:26:48 +00:00
mix
f22782d441 Add changelog entry for using intended bb for vehicle fallbacks 2025-05-31 15:48:55 +01:00
matheusvb3
8dd7b7976f Prevent ride and stall statistics from overflowing (#24378)
* Prevent ride and stall statistic from overflowing

Clamps guestsFavourite, totalCustomers, lastInspection, totalProfit, numPrimaryItemsSold and numSecondaryItemsSold

* Change line of comment in Ride.h

This caused the tooltip with the comment to appear when hovering over notFixedTimeout instead of breakdownSoundModifier in Visual Studio

* Remove redundant overflow prevention

* Invalidate maintenance tab

Missed this before. Also fix an issue I inadvertently caused with PR #23719 when updating the count of vandals stopped

* Deduce lastInspection type in compile time

* Add changelog entry
2025-05-31 03:10:36 +03:00
Michael Steenbeek
5088d60085 Merge pull request #24484 from Gymnasiast/refactor/split-g2-further
Split tracks.dat from g2.dat
2025-05-29 22:16:42 +02:00
Gymnasiast
c2b4158573 Split tracks.dat from g2.dat 2025-05-29 21:25:33 +02:00
Matt
fb834e64aa Merge pull request #24474 from Harry-Hopkinson/more-efficiently-search-viewports
Fix #24426: More efficiently search viewports.
2025-05-29 21:24:14 +03: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
Harry Hopkinson
994cc858e8 More efficiently search viewports for playing Audio 2025-05-26 08:37:44 +01: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