Merge branch 'master' into jgrpp
Remove 'byte' typedef
This commit is contained in:
@@ -110,7 +110,7 @@ enum WindowKeyCodes {
|
||||
struct AnimCursor {
|
||||
static const CursorID LAST = MAX_UVALUE(CursorID);
|
||||
CursorID sprite; ///< Must be set to LAST_ANIM when it is the last sprite of the loop
|
||||
byte display_time; ///< Amount of ticks this sprite will be shown
|
||||
uint8_t display_time; ///< Amount of ticks this sprite will be shown
|
||||
};
|
||||
|
||||
/** Collection of variables for cursor-display and -animation */
|
||||
@@ -249,7 +249,7 @@ enum Colours : uint8_t {
|
||||
COLOUR_END,
|
||||
INVALID_COLOUR = 0xFF,
|
||||
};
|
||||
template <> struct EnumPropsT<Colours> : MakeEnumPropsT<Colours, byte, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 8> {};
|
||||
template <> struct EnumPropsT<Colours> : MakeEnumPropsT<Colours, uint8_t, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 8> {};
|
||||
DECLARE_POSTFIX_INCREMENT(Colours)
|
||||
DECLARE_ENUM_AS_ADDABLE(Colours)
|
||||
|
||||
@@ -311,7 +311,7 @@ enum PaletteType {
|
||||
};
|
||||
|
||||
/** Types of sprites that might be loaded */
|
||||
enum class SpriteType : byte {
|
||||
enum class SpriteType : uint8_t {
|
||||
Normal = 0, ///< The most basic (normal) sprite
|
||||
MapGen = 1, ///< Special sprite for the map generator
|
||||
Font = 2, ///< A sprite used for fonts
|
||||
|
Reference in New Issue
Block a user