GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
save.h
Go to the documentation of this file.
1
27#ifndef SAVE_H
28#define SAVE_H
29
30#include "game_variables.h"
31
32#include <tonc.h>
33
39bool is_game_data_valid(void);
40
44void save_game(void);
45
51void load_game(void);
52
56void save_options(void);
57
63void load_options(void);
64
65#endif // SAVE_H
Game global game variables struct definition.
bool is_game_data_valid(void)
Checks whether the SaveGame section is present and valid.
Definition save.c:335
void save_game(void)
Save current run data to SRAM.
Definition save.c:341
void load_game(void)
Load previous run data from SRAM.
Definition save.c:378
void load_options(void)
Load options values from SRAM.
Definition save.c:316
void save_options(void)
Save options values to SRAM.
Definition save.c:302