ReC98/th01/ranks.h
nmlgc 31d7f166b9 [Maintenance] Force the difficulty level enum to int
That should finally get it right, with no more casts anywhere.

Part of P0159, funded by Yanga.
2021-09-28 18:05:25 +02:00

13 lines
187 B
C

// Rank definitions
typedef enum {
RANK_EASY,
RANK_NORMAL,
RANK_HARD,
RANK_LUNATIC,
RANK_EXTRA,
RANK_COUNT,
RANK_DEFAULT = -1,
_rank_t_FORCE_INT16 = 0x7FFF
} rank_t;