mirror of https://github.com/nmlgc/ReC98.git
25 lines
616 B
C++
25 lines
616 B
C++
// Allocates the resident structure if it doesn't exist yet, and initializes
|
|
// the given bunch of data with the respective values.
|
|
void resident_create_and_stuff_set(
|
|
int8_t rank,
|
|
bgm_mode_t bgm_mode,
|
|
int8_t bombs,
|
|
int8_t start_lives_extra,
|
|
long rand
|
|
);
|
|
|
|
// Retrieves another incomplete bunch of data from the resident structure.
|
|
// Returns 0 on success, 1 on error.
|
|
int resident_stuff_get(
|
|
int8_t& rank,
|
|
bgm_mode_t& bgm_mode,
|
|
int8_t& bombs,
|
|
int8_t& start_lives_extra,
|
|
unsigned long& rand,
|
|
long& continues_total,
|
|
int& stage_id
|
|
);
|
|
|
|
// Frees the resident structure if it exists.
|
|
void resident_free(void);
|