1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00
Commit Graph

4756 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
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
4a413ff8af Increase the grid size for OpenGL, it's faster this way 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
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
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
1e2d94fc95 Add project for dependencies, restructure targets and cleanup unused 2025-04-23 01:46:12 +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
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
e92875e592 Fix misaligned 'flag' button with Enlarged UI enabled (#24247) 2025-04-19 09:52:50 +00:00
Aaron van Geffen
9f5c675bc9 Update existing windows when toggling 'window buttons on the left' (#24237) 2025-04-18 15:24:33 +00: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
Michael Steenbeek
8d1bb273d8 WIP: Make title bar bigger in Enlarged UI mode 2025-02-24 18:18:12 +01: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
Aaron van Geffen
c881d2e17e Internally rename 'park' tab into 'land' tab for consistency 2025-03-28 15:55:20 +01:00
Aaron van Geffen
b0b050d42f Add extra editor step for entering scenario details 2025-03-20 16:37:47 +01:00
Aaron van Geffen
50f58d4c4f Change: allow going back in editor when converting a save 2025-03-20 16:34:09 +01:00
Aaron van Geffen
42126cd35d Move 'RCT1 interest' checkbox into the same place as regular interest spinner 2025-03-13 19:18:37 +01:00
Aaron van Geffen
e2d4a25c8a Move 'hard park rating' option to objective tab 2025-03-13 19:15:31 +01:00
Aaron van Geffen
d4478e7814 Fix widget recovery after "no money" toggle 2025-03-13 17:50:34 +01:00
Aaron van Geffen
eca3b4bddd Rework financial options tab with groupboxes 2025-03-13 17:36:41 +01:00
Aaron van Geffen
c2c598e4c2 Add new window titles and tooltips 2025-03-13 16:25:25 +01:00
Aaron van Geffen
d593a50bf7 Split off Scenario Details from Objective tab 2025-03-13 15:56:10 +01:00
Aaron van Geffen
0d141224ba Change dimensions for park tab; use terraform icon 2025-03-13 15:27:05 +01:00
Aaron van Geffen
3a0240f6c4 Move earning model / park entrance price widgets to financial tab 2025-03-13 15:23:07 +01:00
Aaron van Geffen
094a5950b9 Move hard park rating option to finances tab 2025-03-13 14:12:07 +01:00
Aaron van Geffen
49727c62b9 Move difficult guest generation option to guests tab 2025-03-13 14:09:19 +01:00
Aaron van Geffen
11d72d4968 Tweak and use constants more 2025-03-13 14:04:31 +01:00
Aaron van Geffen
807a2fa7c9 Merge objective options into scenario options 2025-03-13 13:57:03 +01:00
Aaron van Geffen
d2d9c15cc3 Consolidate groupbox drawing code 2025-04-17 00:02:29 +02:00