Michael Steenbeek
|
bdd912e304
|
More code maintenance (#24482)
|
2025-05-23 20:33:26 +02:00 |
|
ζeh Matt
|
e40d56ed76
|
Avoid expensive copies calling ViewportSurfaceSmoothenEdge
|
2025-05-23 19:17:19 +03:00 |
|
ζeh Matt
|
d7b65d48ac
|
Fix potential bug with missing 0 terminator
|
2025-05-23 19:16:25 +03:00 |
|
Matt
|
3bfecb236f
|
Merge pull request #24481 from ZehMatt/code-fixes
Some code maintenance
|
2025-05-23 19:01:10 +03:00 |
|
ζeh Matt
|
c383a7778c
|
Avoid some more unintentional copies
|
2025-05-23 18:33:44 +03:00 |
|
ζeh Matt
|
068880635c
|
Add fallthrough
|
2025-05-23 18:31:27 +03:00 |
|
ζeh Matt
|
de0ad4f0f4
|
Add missing break statements
|
2025-05-23 18:31:18 +03:00 |
|
ζeh Matt
|
5702100fd9
|
Mark things constexpr that are actually constexpr
|
2025-05-23 18:28:23 +03:00 |
|
ζeh Matt
|
5749466e00
|
Don't copy the widget, use reference
|
2025-05-23 18:25:06 +03:00 |
|
ζeh Matt
|
374f17bac9
|
Default initialize members in ProgressWindow
|
2025-05-23 18:21:23 +03:00 |
|
ζeh Matt
|
5351d50f5a
|
Fix dangling pointer for Discord rich presence
|
2025-05-23 18:12:51 +03:00 |
|
ζeh Matt
|
0cfeeb8aba
|
Annotate fall-through
|
2025-05-23 18:12:34 +03:00 |
|
ζeh Matt
|
027f7c4096
|
Don't have garbage in padding for save header
|
2025-05-23 18:08:25 +03: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:

After:

|
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
|
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 |
|