1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

28103 Commits

Author SHA1 Message Date
ζ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
ζeh Matt
eac7243cc8 Fix using wrong dependency target 2025-04-23 20:42:14 +03:00
ζeh Matt
1e2d94fc95 Add project for dependencies, restructure targets and cleanup unused 2025-04-23 01:46:12 +03:00
Matt
d0cf4b5cc5 Merge pull request #24269 from ZehMatt/openrct2-data-build
Add a new target to copy relevant data and build g2.dat if needed
2025-04-22 18:36:35 +03:00
Harry Lam
ad731c13bb zh-TW: Add zh-TW text to Appdata file 2025-04-22 12:06:17 +02:00
OpenRCT2 git bot
48b8e95f38 Merge Localisation/master into OpenRCT2/develop 2025-04-22 04:02:15 +00:00
ζeh Matt
4864b0aa06 Remove the odd copying of data files, use the targets instead 2025-04-22 03:17:54 +03:00
ζeh Matt
6ccbfd46d5 Allow tasks to run as single tasks from msbuild 2025-04-22 02:31:54 +03:00
ζeh Matt
e487cec14f Make the g2 task shared, remove duplication 2025-04-22 02:21:54 +03:00
ζeh Matt
43150c181a Add a new target to copy relevant data and build g2.dat if needed 2025-04-22 01:01:58 +03:00
Matt
1e6a84cbfe Merge pull request #24265 from ZehMatt/fix-24264
Fix #24264: Optimize the search for nearest litter by Handyman
2025-04-21 22:01:09 +03:00
ζeh Matt
8f1e4d1537 Fix #24264: Optimize the search for nearest litter by Handyman 2025-04-21 20:33:30 +03:00
Matt
bb41d0022f Fix #24260: Optimize the lookup for nearby guests by entertainers (#24263) 2025-04-21 17:09:30 +00:00
Aaron van Geffen
bc20f5f922 Merge pull request #24259 from ZehMatt/heterogeneous-opts 2025-04-21 15:23:20 +02:00
Aaron van Geffen
909cb7e90f Merge pull request #24255 from AaronVanGeffen/map-window
Fix initial map window resize dimensions
2025-04-21 13:46:10 +02:00
ζeh Matt
f6d78375b5 Remove pointless overloads of iequals, implicitly converts to views 2025-04-21 03:41:56 +03:00
ζeh Matt
68f6ea8d15 Use sfl::small_vector for Chunks, only observed a maximum of 16 so far 2025-04-21 03:16:45 +03:00
ζeh Matt
2adbaffbca Use pair instead of tuple in FileIndex.hpp, reduces compilation time 2025-04-21 03:12:49 +03:00
ζeh Matt
8fe14c5b5c More code style adjustments 2025-04-21 03:08:01 +03:00
ζeh Matt
8fdbf7ac0e Avoid constructing std::string_view from const char* 2025-04-21 03:05:33 +03:00
ζeh Matt
5eabdf8ec9 Use std::span for peepAnimObjects, rename to new style 2025-04-21 03:05:33 +03:00
ζeh Matt
b30e1b406b Use unordered_map and constify things in Legacy.cpp 2025-04-21 03:05:33 +03:00
ζeh Matt
0b581281c5 Use string_view in ParseSourceGame lookup helper 2025-04-21 03:05:33 +03:00