| 9 | // To be replaced with std::to_underlying in c++23 |
| 10 | template<typename TEnum> |
| 11 | constexpr auto enumValue(TEnum enumerator) noexcept |
| 12 | { |
| 13 | return static_cast<std::underlying_type_t<TEnum>>(enumerator); |
| 14 | } |
| 15 | |
| 16 | using coord_t = int16_t; |
| 17 | using tile_coord_t = int16_t; |
no outgoing calls