Replace hex numbers with calculated bit shifts for bit masked debug display enum.
@@ -261,12 +261,12 @@ typedef enum
// Debugging display options for end user.
typedef enum
{
- DEBUG_DISPLAY_NONE,
- DEBUG_DISPLAY_COLLISION_ATTACK = 0x00000001,
- DEBUG_DISPLAY_COLLISION_BODY = 0x00000002,
- DEBUG_DISPLAY_PERFORMANCE = 0x00000004,
- DEBUG_DISPLAY_PROPERTIES = 0x00000008,
- DEBUG_DISPLAY_RANGE = 0x00000010
+ DEBUG_DISPLAY_NONE = (1 << 0),
+ DEBUG_DISPLAY_COLLISION_ATTACK = (1 << 1),
+ DEBUG_DISPLAY_COLLISION_BODY = (1 << 2),
+ DEBUG_DISPLAY_PERFORMANCE = (1 << 3),
+ DEBUG_DISPLAY_PROPERTIES = (1 << 4),
+ DEBUG_DISPLAY_RANGE = (1 << 5)
} e_debug_display;
typedef enum
