diff options
Diffstat (limited to 'src/pass-mode.hpp')
-rw-r--r-- | src/pass-mode.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pass-mode.hpp b/src/pass-mode.hpp index accefaae..876466d7 100644 --- a/src/pass-mode.hpp +++ b/src/pass-mode.hpp @@ -1,10 +1,9 @@ #pragma once -#include <cstdint> namespace floormat { -enum class pass_mode : std::uint8_t { blocked, see_through, shoot_through, pass, }; -constexpr inline std::uint8_t pass_mode_COUNT = 4; -constexpr inline std::uint8_t pass_mode_BITS = 2; +enum class pass_mode : unsigned char { blocked, see_through, shoot_through, pass, }; +constexpr inline unsigned char pass_mode_COUNT = 4; +constexpr inline unsigned char pass_mode_BITS = 2; } // namespace floormat |