Rename blind enums to represent their type

This commit prefixes the enums `BlindType` and `BlindState` with their
types for clarity
This commit is contained in:
Rickey Fehr
2025-10-13 23:36:27 -07:00
parent 7ee07bb34c
commit 3c2dd0edba
3 changed files with 75 additions and 61 deletions
+11 -9
View File
@@ -24,22 +24,24 @@
enum BlindType
{
SMALL_BLIND,
BIG_BLIND,
BOSS_BLIND,
MAX_BLINDS
BLIND_TYPE_SMALL,
BLIND_TYPE_BIG,
BLIND_TYPE_BOSS,
BLIND_TYPE_MAX,
};
enum BlindState
{
BLIND_CURRENT,
BLIND_UPCOMING,
BLIND_DEFEATED,
BLIND_SKIPPED
BLIND_STATE_CURRENT,
BLIND_STATE_UPCOMING,
BLIND_STATE_DEFEATED,
BLIND_STATE_SKIPPED,
BLIND_STATE_MAX,
};
// TODO: Move this to a common interface for other palettes
typedef struct {
typedef struct
{
const u16* palette;
u32 tid;
u32 pb;