2020-05-06 18:21:39 +00:00
|
|
|
#define CFG_FN "reiiden.cfg"
|
|
|
|
#define CFG_ID "REIIDEN"
|
|
|
|
|
|
|
|
struct cfg_options_t {
|
|
|
|
int8_t rank;
|
2022-08-15 07:50:42 +00:00
|
|
|
bgm_mode_t bgm_mode;
|
2020-05-06 18:21:39 +00:00
|
|
|
int8_t bombs;
|
|
|
|
int8_t lives_extra; // Add 2 for the actual number of lives
|
|
|
|
};
|
|
|
|
|
|
|
|
#define CFG_RANK_DEFAULT (RANK_NORMAL)
|
2022-08-15 07:50:42 +00:00
|
|
|
static const bgm_mode_t CFG_BGM_MODE_DEFAULT = BGM_MODE_MDRV2;
|
2020-05-06 18:21:39 +00:00
|
|
|
#define CFG_BOMBS_DEFAULT (1)
|
|
|
|
#define CFG_LIVES_EXTRA_DEFAULT (2)
|
|
|
|
|
2022-08-15 01:17:54 +00:00
|
|
|
static const int8_t CFG_LIVES_EXTRA_MAX = 5;
|
2020-05-06 18:21:39 +00:00
|
|
|
|
|
|
|
struct cfg_t {
|
|
|
|
char id[sizeof(CFG_ID) - 1];
|
|
|
|
cfg_options_t opts;
|
|
|
|
};
|