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

21810 Commits

Author SHA1 Message Date
ζeh Matt
360bfbfb66 Introduce InvalidationGrid 2025-04-24 21:15:46 +03:00
ζeh Matt
1e2d94fc95 Add project for dependencies, restructure targets and cleanup unused 2025-04-23 01:46:12 +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
ζ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
ζ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
ζeh Matt
a22c041379 Enable the use of std::string_view for find in ObjectRepository 2025-04-21 03:05:32 +03:00
Aaron van Geffen
63bbc893ed Tweak initial dimensions to account for optional scrollbars 2025-04-20 14:54:54 +02:00
Aaron van Geffen
b081884d47 Fix glitchy initial map window dimensions 2025-04-20 14:49:41 +02:00
Michael Steenbeek
63e247454b Merge pull request #22766 from Gymnasiast/fix/19782
Fix #19782: Game stops counting inversions after 31
2025-04-20 13:52:20 +02:00
Max
923a38c990 Close #24146: Expand plugin functionality for balloons and money effects 2025-04-19 23:23:02 +02:00
Gymnasiast
731f2d4c34 Count holes separately from inversions; limit bonus to 31 2025-04-19 19:53:37 +02:00
Gymnasiast
c43497c16d Maximise num holes, inversions, drops, circuits and lift hills when writing to TD6 2025-04-19 19:00:44 +02:00
Gymnasiast
cc2546b681 Close #19782: Game stops counting inversions after 31 2025-04-19 19:00:22 +02:00
Gymnasiast
e398feb3b4 Replace manual centre calculation with WF_CENTRE_SCREEN flag 2025-04-19 14:49:34 +02:00
Gymnasiast
8b6dda09cf Fix #21207: Track List window gets positioned incorrectly 2025-04-19 14:20:07 +02:00
Gymnasiast
e9e0dc7905 Fix mixup between window and viewport flags
Viewport flag (1 << 3) corresponds with VIEWPORT_FLAG_HIDE_SUPPORTS. It is very likely that the author meant to unset the window flag (1 << 3), so change it to that.
2025-04-19 14:09:17 +02:00
Gymnasiast
734c0959ef Widen WindowFlags to 32 bits 2025-04-19 14:07:02 +02:00
Michael Steenbeek
293ca0db33 Touch up some RCT1 window colours 2025-04-19 13:48:56 +02:00
Aaron van Geffen
a9269c9b66 Merge pull request #23626 from mixiate/extended-go-karts 2025-04-19 13:45:57 +02:00
Aaron van Geffen
e92875e592 Fix misaligned 'flag' button with Enlarged UI enabled (#24247) 2025-04-19 09:52:50 +00:00
mix
e2dbe1ccbf Clarify go kart collision threshold 2025-04-18 21:05:31 +01:00
X123M3-256
d11bfa3f5c Prevent go karts from getting stuck when changing lanes 2025-04-18 21:05:31 +01:00
mix
1a1b5869c0 Fix slight glitching in nested tiny and small go kart turns 2025-04-18 21:05:31 +01:00
mix
5c8bb8f84c Add gentle sloped turns to the go karts 2025-04-18 21:05:31 +01:00
mix
cc5ecf594a Add diagonal flat and sloped track to the go karts 2025-04-18 21:05:31 +01:00
mix
0df3f64703 Add steep track to the go karts 2025-04-18 21:05:31 +01:00
mix
c9175f5b1e Add larger turns and s bends to the go karts 2025-04-18 21:05:28 +01:00
mix
be4e740f26 Add new go kart lane subposition data 2025-04-18 18:50:47 +01:00
Aaron van Geffen
9f5c675bc9 Update existing windows when toggling 'window buttons on the left' (#24237) 2025-04-18 15:24:33 +00:00
Michael Steenbeek
188245ad69 Fix #22634: Asset packs with sound effect overrides are not loaded correctly at startup 2025-04-18 00:05:35 +02:00
Aaron van Geffen
a8267412c2 Move title height helper functions to WindowBase and fix FlexUI plugins 2025-04-11 23:26:34 +02:00
Aaron van Geffen
883845bcf9 Use larger cross glyph for close button when title bar is enlarged 2025-04-11 20:39:26 +02:00
Aaron van Geffen
3f87e2b67a Centralise ResizeFrame in WindowBase and call when setting widgets or resizing 2025-04-11 20:37:54 +02:00
Aaron van Geffen
6d7b312e7a Make WF_NO_TITLE_BAR actually fit in the uint16_t that is WindowBase::flags 2025-03-14 14:08:14 +01:00
Michael Steenbeek
8d1bb273d8 WIP: Make title bar bigger in Enlarged UI mode 2025-02-24 18:18:12 +01:00
ZeroBreakpoint
76cc04d044 Fix crash in map.getAllEntities("car") when car has an invalid ride 2025-04-17 19:18:23 +02:00
spacek531
2249dffe91 Replace display options tab with custom sprites 2025-04-17 16:45:03 +02:00
Aaron van Geffen
1691cb187e Advance editor step when saving (and go back if user cancels) 2025-04-09 18:37:32 +02:00
Aaron van Geffen
bbcc0e2413 Rework manually drawn labels into label widgets
* Introduce label widgets for land tab

* Introduce label widgets for guest tab

* Introduce label widgets for rides tab

* Introduce label widgets for financial tab
2025-03-28 16:04:02 +01:00
Aaron van Geffen
9b5596d18b Store tab sizes in ScreenSize structs 2025-03-28 16:01:31 +01:00