2020-02-21 21:56:18 +00:00
|
|
|
#pragma option -a1
|
|
|
|
|
|
|
|
#if GAME == 2
|
|
|
|
# define CFG_FN "huuma.cfg"
|
|
|
|
typedef struct {
|
|
|
|
int8_t rank;
|
|
|
|
int8_t bgm_mode;
|
|
|
|
int8_t bombs;
|
|
|
|
int8_t lives;
|
|
|
|
int8_t perf;
|
|
|
|
} cfg_options_t;
|
2020-02-22 16:39:23 +00:00
|
|
|
|
|
|
|
# define CFG_LIVES_MAX 4
|
|
|
|
# define CFG_LIVES_DEFAULT 2
|
|
|
|
# define CFG_BOMBS_MAX 3
|
|
|
|
# define CFG_BOMBS_DEFAULT CFG_BOMBS_MAX
|
2020-02-21 21:56:18 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
cfg_options_t opts;
|
2020-02-22 11:55:34 +00:00
|
|
|
resident_t __seg *resident;
|
2020-02-21 21:56:18 +00:00
|
|
|
int8_t debug;
|
2020-02-22 11:55:34 +00:00
|
|
|
#if GAME >= 4
|
|
|
|
int8_t opts_sum; // Sum of all bytes in [opts]
|
|
|
|
#endif
|
2020-02-21 21:56:18 +00:00
|
|
|
} cfg_t;
|
|
|
|
#pragma option -a.
|