27657 Commits

Author SHA1 Message Date
Michael Steenbeek
5b5d91abb0 Fix #23221: Track designs are saved with an incorrect ‘air’ time statistic
Co-authored-by: UnknownShadow200 <UnknownShadow200@users.noreply.github.com>
2025-01-25 23:11:18 +01:00
Michael Steenbeek
a8beae2ef3 Merge pull request #23704 from Gymnasiast/refactor/mini-golf-gotos
Remove the last gotos
2025-01-25 22:05:03 +01:00
Matt
2aba954631 Merge pull request #23708 from ZehMatt/fix-23707
Fix #23707: Crash when plugins use a custom tool
2025-01-25 22:17:44 +02:00
ζeh Matt
a80702c61f Fix #23707: Crash when plugins use a custom tool 2025-01-25 21:42:53 +02:00
Matt
fa0e7342ec Fix #23701: Potential crash when using mouse wheel on some widgets 2025-01-25 15:33:14 +01:00
Gymnasiast
5769e9237f Move Loc6DCA9A to own function 2025-01-25 15:05:33 +01:00
Gymnasiast
4b13f45eec Move Loc6DC462 to own function 2025-01-25 14:40:23 +01:00
Gymnasiast
3ad19f71ee Make Loc6DCA9A a loop 2025-01-25 14:21:24 +01:00
Gymnasiast
774240d081 Make Loc6DC462 a loop 2025-01-25 13:59:37 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Aaron van Geffen
da0a772e4d Offset dropdown text labels and separators (#23700)
* Centre dropdown separators optically and add margins

* Offset dropdown item text slightly to add a slight margin
2025-01-25 13:43:01 +01:00
Michael Steenbeek
a3d5b4e0c3 Change FIXED_XDP from macros to constexprs 2025-01-25 13:42:22 +01:00
Matt
67024cec2d Merge pull request #23694 from AaronVanGeffen/viewport-struct
Move Viewport struct to Viewport.h
2025-01-25 00:37:46 +02:00
Aaron van Geffen
c8da126c95 Move Viewport struct to Viewport.h 2025-01-24 22:44:21 +01:00
Matt
e3929c1ca9 Merge pull request #23687 from ZehMatt/fix-23686
Fix #23686: Shortcut window crashing and missing widgets
2025-01-23 11:37:32 +02:00
ζeh Matt
fe950f75d1 Add some assertions 2025-01-23 11:05:20 +02:00
ζeh Matt
e17799fb68 Fix #23686: Shortcut window crashing and missing widgets 2025-01-23 11:01:43 +02:00
ζeh Matt
9138fba9cf Prevent out of bounds access, prevents assert on debug builds 2025-01-23 11:00:30 +02:00
Michael Steenbeek
f70d202cf0 Create buttons for vertical drops in construction window (#23665) 2025-01-22 19:22:03 +01:00
Michael Steenbeek
b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Matt
b9486b9eb7 Merge pull request #23680 from ZehMatt/fix-widget-access
Fix widget access
2025-01-22 13:06:13 +02:00
ζeh Matt
87be9f0f6e Use correct widgets instance for Banner window 2025-01-22 11:48:06 +02:00
ζeh Matt
a288d0b912 Fix marketing campaign accessing the widget declaration not instance 2025-01-22 11:41:24 +02:00
Michał Janiszewski
a002834f39 Merge pull request #23515 from ethanaobrien/develop
Fix emscripten (webassembly) support
2025-01-21 17:14:03 +01:00
spacek531
4b3a342e81 Remove screaming snake case constant TRACK_BLOCK_2 (#23657) 2025-01-21 11:54:11 +01:00