Joel Teichroeb
c55049288b
Optimize AddToEntityList for end of list edgecase ( #24271 )
...
* Optimize AddToEntityList for end of list edgecase
* Move the logic into a utility function, namespace Algorithm
* Use references over pointers when its known to be not null
* Strengthen the Algorithm.hpp
* Work around false positive warning in GCC 12/13
---------
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2025-04-30 20:50:29 +00:00
Max
08cb8cb8c3
Add plugin call for breakdowns ( #24207 )
2025-04-30 14:41:47 +00:00
Matt
ef8d978dc9
Merge pull request #24304 from mixiate/fix-24303
...
Fix #24303 : Track pieces do not draw in the ride construction window
2025-04-30 00:37:12 +03:00
OpenRCT2 git bot
d8526f3d7e
Merge Localisation/master into OpenRCT2/develop
2025-04-29 04:02:22 +00:00
mix
9ace1a8a2b
Fix #24303 : Track pieces do not draw in the ride construction window
2025-04-29 02:28:12 +01:00
mix
de0fbbd8e2
Revert "Fix sprite culling glitching by culling sprites at full column width"
...
This reverts commit b5c925da36 .
2025-04-28 21:36:30 +01:00
Matt
b2fda2d0cb
Merge pull request #24298 from mixiate/fix-sprite-culling-glitching
...
Fix sprite culling glitching
2025-04-27 22:21:22 +03:00
mix
b5c925da36
Fix sprite culling glitching by culling sprites at full column width
2025-04-27 03:01:28 +01:00
mix
3d1c2f4e29
Revert "Nuke the bad culling, causes just odd artifacts, fast enough now"
...
This reverts commit 105d0e6c4f .
2025-04-27 02:16:25 +01:00
Matt
1ba14c279d
Merge pull request #24295 from ZehMatt/opengl-rain-fix
...
Fix OpenGL invalidation breaking for weather effects, they start before
2025-04-27 03:35:56 +03:00
Michael Steenbeek
d8c0149c2a
Small touchups to changelog
2025-04-27 00:17:09 +02:00
ζeh Matt
6ff5841fb1
Fix OpenGL invalidation breaking for weather effects, they start before
2025-04-27 00:48:05 +03:00
Matt
a59582493b
Merge pull request #24293 from ZehMatt/render-fixup
...
Fix #24289 : Prebuilt track designs using an invalid drawing state
2025-04-26 15:19:12 +03:00
ζeh Matt
3dc084a438
Fix #24289 : Prebuilt track designs using an invalid drawing state
2025-04-26 14:46:42 +03:00
Aaron van Geffen
ecb9921b71
Position land rights tool size widget relative to title bar ( #24290 )
2025-04-26 11:33:15 +00:00
Aaron van Geffen
7e9cc6df5d
Merge pull request #24288 from AaronVanGeffen/close-buttons
...
Generalise white close button strings to all translucent title bars
2025-04-26 11:30:29 +02:00
Matt
aeeaaa6f1b
Move build instructions to the GitHub repo wiki
2025-04-26 11:29:23 +02:00
Matt
0d96235f32
Merge pull request #20073 from ZehMatt/render-cleanup
...
Add support for invalidation on OpenGL renderer
2025-04-26 00:14:21 +03:00
ζeh Matt
0f2f106173
Increase invalidation grid for software renderers
2025-04-25 23:37:27 +03:00
ζeh Matt
105d0e6c4f
Nuke the bad culling, causes just odd artifacts, fast enough now
2025-04-25 23:34:10 +03:00
ζeh Matt
09a3ad1f07
Optimize InvalidationGrid
2025-04-25 22:15:32 +03:00
ζeh Matt
ae21ed7219
Update changelog.txt
2025-04-25 17:48:39 +03:00
ζeh Matt
e2d9a44a5d
Fix stray pixels showing up when panning and moving a windows
2025-04-25 17:48:39 +03:00
ζeh Matt
12063aa884
Rename SetLocation to SetViewportLocation, this is less confusing
2025-04-25 17:48:39 +03:00
ζeh Matt
7a764a05a8
Ensure we invalidate the window when changing viewport location
2025-04-25 17:48:39 +03:00
ζeh Matt
8503faa289
Set viewport location immediately, fixes rotation using stale position
2025-04-25 17:48:39 +03:00
ζeh Matt
7aca569363
Silence warning about final
2025-04-25 17:48:38 +03:00
ζeh Matt
e991cfb97e
Fix assertion when plugins draw custom images
2025-04-25 17:48:38 +03:00
ζeh Matt
e9ee54b716
Setup the drawing context correctly for saving previews
2025-04-25 17:48:38 +03:00
ζeh Matt
983b4e1a1f
Remove the old invalidation thing
2025-04-25 17:48:38 +03:00
ζeh Matt
b33a48f2b0
Remove commented code
2025-04-25 17:48:38 +03:00
ζeh Matt
4a413ff8af
Increase the grid size for OpenGL, it's faster this way
2025-04-25 17:48:37 +03:00
ζeh Matt
eb6b554d77
Fix screenshots not having a render context
2025-04-25 17:48:37 +03:00
ζeh Matt
576a757200
Add safe guards to make sure we have a valid drawing context
2025-04-25 17:48:37 +03:00
ζeh Matt
e3062985c0
Fix code calling ViewportUpdatePosition this is incorrect
2025-04-25 17:48:37 +03:00
ζeh Matt
f51ca4dae6
Add stricter checks to validate we have a valid drawing context
2025-04-25 17:48:37 +03:00
ζeh Matt
c2d239c8c9
Fix changing scale or resizing the window having empty areas
2025-04-25 17:48:36 +03:00
ζeh Matt
e34c52de59
Work-around for weather effects, always redraw in this case
2025-04-25 17:48:36 +03:00
ζeh Matt
c9bba5ee63
Workaround for OpenGL renderer viewport panning, turn it into a hybrid
2025-04-25 17:48:36 +03:00
ζeh Matt
911f821245
Simplify + clang-format correction
2025-04-25 17:48:36 +03:00
ζeh Matt
6d63b1f752
Skip dead windows in some iterations
2025-04-25 17:48:36 +03:00
ζeh Matt
cfe340a36b
clang-format fix
2025-04-25 17:48:36 +03:00
ζeh Matt
921c1d8daa
Make the invalidation grid size dynamic
2025-04-25 17:48:35 +03:00
ζeh Matt
c6a3fcdca0
Implement support for viewport shifting
2025-04-24 21:15:50 +03:00
ζeh Matt
7a2f314aa9
Use invalidation for OpenGL drawing engine
2025-04-24 21:15:49 +03:00
ζeh Matt
4e8ac7ea12
Fix invalidation debug paint
2025-04-24 21:15:49 +03:00
ζeh Matt
360bfbfb66
Introduce InvalidationGrid
2025-04-24 21:15:46 +03:00
Matt
317d8c4970
Merge pull request #24275 from ZehMatt/vs-deps-fetch
...
Add project for dependencies, restructure targets and cleanup unused
2025-04-24 13:55:30 +03:00
OpenRCT2 git bot
21dfeaa993
Merge Localisation/master into OpenRCT2/develop
2025-04-24 04:02:16 +00:00
ζeh Matt
90392e823f
Set the download message logging to high
2025-04-23 21:06:22 +03:00