2021-01-17 15:28:56 +00:00
|
|
|
#define RES_ID "MIKOConfig"
|
|
|
|
typedef struct {
|
|
|
|
char id[sizeof(RES_ID)];
|
|
|
|
unsigned char stage;
|
|
|
|
char debug;
|
|
|
|
int8_t padding_1;
|
|
|
|
long score;
|
|
|
|
int continues_used;
|
|
|
|
char rem_bombs;
|
|
|
|
char rem_lives;
|
|
|
|
char rank;
|
|
|
|
char start_power;
|
|
|
|
char bgm_mode;
|
|
|
|
char start_bombs;
|
|
|
|
char start_lives;
|
|
|
|
int8_t padding_2;
|
|
|
|
long frame;
|
|
|
|
int unused_1;
|
|
|
|
char unused_2;
|
|
|
|
unsigned char op_main_retval;
|
2023-03-18 16:11:35 +00:00
|
|
|
bool reduce_effects;
|
2021-01-17 15:28:56 +00:00
|
|
|
char unused_3;
|
|
|
|
char shottype;
|
|
|
|
char demo_num;
|
|
|
|
int skill;
|
|
|
|
int unused_4;
|
|
|
|
long score_highest;
|
|
|
|
} resident_t;
|
|
|
|
|
|
|
|
extern resident_t *resident;
|
2023-03-18 16:11:35 +00:00
|
|
|
|
|
|
|
// Redundant copies of resident structure fields to static data
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
|
|
|
|
extern bool reduce_effects;
|
|
|
|
// ------------------------------------------------------------
|