1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Rework modifier key state into strong enum class (#22558)

* Rework modifier key state into strong enum class

* Move modifier key state into InputManager
This commit is contained in:
Aaron van Geffen
2024-08-14 16:36:05 +02:00
committed by GitHub
parent 0c97e44be0
commit 2a99b2f1f9
12 changed files with 74 additions and 65 deletions

View File

@@ -14,7 +14,6 @@
InputState _inputState;
uint8_t _inputFlags;
uint8_t gInputPlaceObjectModifier;
WidgetRef gHoverWidget;
WidgetRef gPressedWidget;
@@ -75,8 +74,3 @@ void ResetTooltipNotShown()
{
_tooltipNotShownTimeout = gCurrentRealTimeTicks + 50;
}
void InputResetPlaceObjModifier()
{
gInputPlaceObjectModifier = PLACE_OBJECT_MODIFIER_NONE;
}