29775 Commits
Author SHA1 Message Date
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 ef926b6fd5 Remove unnecessary ninja install on macOS CI 2025-05-23 14:26:48 +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
OpenRCT2 git bot c934280589 Merge Localisation/master into OpenRCT2/develop 2025-05-23 04:03:10 +00:00
Matt d56dbb68f0 Merge pull request #24433 from mixiate/prevent-unnecessary-window-invalidations
Prevent some unnecessary window invalidations
2025-05-22 23:31:20 +03:00
mix c394712d70 Add changelog entry for improving window invalidations 2025-05-22 20:59:26 +01:00
mix 12606f3d9b Simplify the code of a couple of viewport screen coord calculations 2025-05-22 20:58:55 +01:00
mix a27d9ccc07 Prevent path window invalidating unnecessarily 2025-05-22 20:58:55 +01:00
mix 1292afb7c7 Fix plugin window viewports on open and prevent unnecessary invalid 2025-05-22 20:58:55 +01:00
mix 6d8d593b89 Fix scenery window scrollbar thumb size on window expansion 2025-05-22 20:58:55 +01:00
mix b84caf8da6 Restore original extra viewport opening window size 2025-05-22 20:58:55 +01:00
mix 98f62f2e97 Fix staff window viewport issues 2025-05-22 20:58:55 +01:00
mix 07635362de Fix new ride window not invalidating on group ride change 2025-05-22 20:58:55 +01:00
mix 03d31d1a7c Fix viewport invalidation offsetting position each loop iteration 2025-05-22 20:58:55 +01:00
mix 5e51c89d9f Fix extra viewport invalidating every frame 2025-05-22 20:58:55 +01:00
mix 7fcfef97f7 Fix ride window viewport focus on viewport rotate 2025-05-22 20:58:55 +01:00
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
Aaron van Geffen 0f59d6dd02 Optionally allow scenario previews to use screenshots 2025-05-21 18:07:19 +02: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
mix 8c8d3435f1 Rewrite ParkPreview::drawPreviewImage to use SPR_TEMP 2025-05-21 00:03:35 +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