diff --git a/src/global/types.h b/src/global/types.h index bec5c76de..c2bdf58f0 100644 --- a/src/global/types.h +++ b/src/global/types.h @@ -2024,35 +2024,35 @@ typedef struct PICTURE { } PICTURE; typedef union INPUT_STATE { - int32_t any; + uint32_t any; struct { - int32_t forward : 1; - int32_t back : 1; - int32_t left : 1; - int32_t right : 1; - int32_t jump : 1; - int32_t draw : 1; - int32_t action : 1; - int32_t slow : 1; - int32_t option : 1; - int32_t look : 1; - int32_t step_left : 1; - int32_t step_right : 1; - int32_t roll : 1; - int32_t pause : 1; - int32_t select : 1; - int32_t deselect : 1; - int32_t save : 1; - int32_t load : 1; - int32_t fly_cheat : 1; - int32_t item_cheat : 1; - int32_t level_skip_cheat : 1; - int32_t health_cheat : 1; - int32_t camera_up : 1; - int32_t camera_down : 1; - int32_t camera_left : 1; - int32_t camera_right : 1; - int32_t camera_reset : 1; + uint32_t forward : 1; + uint32_t back : 1; + uint32_t left : 1; + uint32_t right : 1; + uint32_t jump : 1; + uint32_t draw : 1; + uint32_t action : 1; + uint32_t slow : 1; + uint32_t option : 1; + uint32_t look : 1; + uint32_t step_left : 1; + uint32_t step_right : 1; + uint32_t roll : 1; + uint32_t pause : 1; + uint32_t select : 1; + uint32_t deselect : 1; + uint32_t save : 1; + uint32_t load : 1; + uint32_t fly_cheat : 1; + uint32_t item_cheat : 1; + uint32_t level_skip_cheat : 1; + uint32_t health_cheat : 1; + uint32_t camera_up : 1; + uint32_t camera_down : 1; + uint32_t camera_left : 1; + uint32_t camera_right : 1; + uint32_t camera_reset : 1; }; } INPUT_STATE;