Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -27,7 +27,7 @@ extern uint32_t _story_page_next_sort_value;
|
||||
/*
|
||||
* Each story page element is one of these types.
|
||||
*/
|
||||
enum StoryPageElementType : byte {
|
||||
enum StoryPageElementType : uint8_t {
|
||||
SPET_TEXT = 0, ///< A text element.
|
||||
SPET_LOCATION, ///< An element that references a tile along with a one-line text.
|
||||
SPET_GOAL, ///< An element that references a goal.
|
||||
@@ -39,7 +39,7 @@ enum StoryPageElementType : byte {
|
||||
};
|
||||
|
||||
/** Flags available for buttons */
|
||||
enum StoryPageButtonFlags : byte {
|
||||
enum StoryPageButtonFlags : uint8_t {
|
||||
SPBF_NONE = 0,
|
||||
SPBF_FLOAT_LEFT = 1 << 0,
|
||||
SPBF_FLOAT_RIGHT = 1 << 1,
|
||||
@@ -47,7 +47,7 @@ enum StoryPageButtonFlags : byte {
|
||||
DECLARE_ENUM_AS_BIT_SET(StoryPageButtonFlags)
|
||||
|
||||
/** Mouse cursors usable by story page buttons. */
|
||||
enum StoryPageButtonCursor : byte {
|
||||
enum StoryPageButtonCursor : uint8_t {
|
||||
SPBC_MOUSE,
|
||||
SPBC_ZZZ,
|
||||
SPBC_BUOY,
|
||||
|
||||
Reference in New Issue
Block a user