1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Close #12456: Refactor INPUT_STATE to use strong enum (#12484)

This commit is contained in:
frutiemax
2020-07-27 18:51:10 -04:00
committed by GitHub
parent 6a191224b5
commit af0fc89cf4
10 changed files with 62 additions and 62 deletions

View File

@@ -11,7 +11,7 @@
#include "Context.h"
INPUT_STATE _inputState;
InputState _inputState;
uint8_t _inputFlags;
uint8_t gInputPlaceObjectModifier;
@@ -63,12 +63,12 @@ void input_reset_flags()
_inputFlags = 0;
}
void input_set_state(INPUT_STATE state)
void input_set_state(InputState state)
{
_inputState = state;
}
INPUT_STATE input_get_state()
InputState input_get_state()
{
return _inputState;
}