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

2644 Commits

Author SHA1 Message Date
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
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