Always use same level_int_t
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
2bb1f2ed4a
commit
0cdb5604e5
|
@ -3,17 +3,6 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#if LEVEL_U8
|
|
||||||
typedef uint8_t level_int_t;
|
typedef uint8_t level_int_t;
|
||||||
#elif LEVEL_U16
|
|
||||||
typedef uint16_t level_int_t;
|
|
||||||
#elif LEVEL_U32
|
|
||||||
typedef uint32_t level_int_t;
|
|
||||||
#elif LEVEL_U64
|
|
||||||
typedef uint64_t level_int_t;
|
|
||||||
#else
|
|
||||||
#warning Level size was not specified, falling back to uint8_t
|
|
||||||
typedef uint8_t level_int_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // CREATURELIB_DEFINES_HPP
|
#endif // CREATURELIB_DEFINES_HPP
|
||||||
|
|
Loading…
Reference in New Issue