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

28252 Commits

Author SHA1 Message Date
mix
3c9136ac4f Prevent ride ratings from invalidating ride windows unnecessarily 2025-05-22 20:58:55 +01:00
mix
a47ee3f7de Prevent new ride window from invalidating on every frame 2025-05-22 20:58:55 +01:00
mix
c37fc885c5 Prevent windows invalidating every frame if any button is pressed 2025-05-22 20:58:54 +01:00
mix
ab402a5f15 Prevent inventions window invalidating every frame 2025-05-22 20:58:54 +01:00
mix
4864b6552c Fix scenery window invalidating every frame unnecessarily 2025-05-22 20:58:54 +01:00
mix
0b5fb11be9 Remove unnecessary window OnResize calls 2025-05-22 20:58:54 +01:00
Matt
ac13ebe21a Merge pull request #24467 from ZehMatt/entity-tween-update
Don't tween entities that are not visible on screen or when zoomed out
2025-05-22 22:55:17 +03:00
Aaron van Geffen
1e5806523b Reduce some LOG_INFO messages to LOG_VERBOSE (#24472) 2025-05-22 21:47:34 +02:00
ζeh Matt
0dd1b06af0 Update changelog.txt 2025-05-22 21:33:55 +03:00
ζeh Matt
3770ab0b51 Don't tween entities that are not visible on screen or when zoomed out 2025-05-22 21:33:55 +03:00
Matt
f71b45b6ef Merge pull request #24464 from mixiate/fix-window-visibility-cache
Refactor window visibility cache and fix viewport visibility
2025-05-22 21:31:33 +03:00
mix
f22a8056f5 Add changelog entry for fixed window and viewport visibility 2025-05-22 16:54:04 +01:00
Matt
0282f70acd Merge pull request #24465 from ZehMatt/peep-update-sep
Clean up peep/guest/staff code, reduce indirections and branching
2025-05-22 14:52:24 +03:00
mix
04c3113593 Simplify window visibility check iteration 2025-05-21 21:37:07 +01:00
ζeh Matt
98c058be1c Make some members static functions 2025-05-21 22:27:14 +03:00
ζeh Matt
8c6ba00494 Couple more places 2025-05-21 21:59:31 +03:00
ζeh Matt
eb9cf26f1b Pass guest by reference, rename parameter 2025-05-21 21:48:46 +03:00
ζeh Matt
47d58dffa4 Make more functions of Guest private, temporary to see who needs what 2025-05-21 21:12:01 +03:00
mix
cc813e3f16 Refactor window visibility cache and fix viewport visibility 2025-05-21 18:06:06 +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
ζeh Matt
5a98133c1d Handle peep state directly in the update switch 2025-05-21 17:32:35 +03:00
ζeh Matt
04c75f6f8b Remove code duplication for stepping 2025-05-21 17:28:05 +03:00
ζeh Matt
db23e69597 Remove useless checks 2025-05-21 17:23:30 +03:00
ζeh Matt
f475ef050f Start splitting Peep::Update into Staff::Update and Guest::Update 2025-05-21 17:15:38 +03:00
Michael Steenbeek
1cf3f50176 Merge pull request #24460 from Gymnasiast/refactor/more-constants
Banner constants and struct cleanup
2025-05-21 00:37:59 +02:00
Gymnasiast
d2f9d34123 Differentiate formatTextTo() from formatTextWithColourTo() 2025-05-21 00:15:16 +02:00
Gymnasiast
068112c1ee Rename Banner methods to use camelCase 2025-05-21 00:15:16 +02:00
Gymnasiast
7a68050897 Rename Banner::ride_index to rideIndex 2025-05-21 00:15:16 +02:00
Gymnasiast
cbd2c7b3d7 Use FlagHolder for banner flags 2025-05-21 00:15:12 +02:00
Gymnasiast
ae38d05ef8 Change BANNER_NULL to kBannerNull 2025-05-20 22:58:34 +02:00
Gymnasiast
ddacaacc71 Change SCROLLING_MODE_NONE to kScrollingModeNone 2025-05-20 22:57:59 +02:00
Gymnasiast
b68b177737 Change MAX_BANNERS to kMaxBanners 2025-05-20 22:57:03 +02: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
31a8982a63 Remove unused VehiclePitchDown50BankedLeft135 and right functions 2025-05-20 00:21:08 +01: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
572ced8b85 Avoid build failures when removing or renaming a resource 2025-05-19 22:41:58 +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
OpenRCT2 git bot
508b7a638a Merge Localisation/master into OpenRCT2/develop 2025-05-19 04:06:41 +00:00
Michael Steenbeek
7fbbd0d2a5 Autodetect Steam installs of RCT Classic 2025-05-18 21:32:48 +02:00
Aaron van Geffen
3721dbdffa ScenarioSelect: load minimap using background worker (#24436) 2025-05-18 15:45:11 +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
OpenRCT2 git bot
208480f005 Merge Localisation/master into OpenRCT2/develop 2025-05-18 04:05:55 +00:00
Aaron van Geffen
0acf53d1f9 Rework map iteration for the two smoothing algorithms in use (#24280) 2025-05-17 23:30:53 +02:00
ZeeMaji
7d930a866b Allow building zero g rolls on LIM RC without cheats 2025-05-17 22:56:57 +02:00