supercasiobros/include/save.h

23 lines
716 B
C
Raw Normal View History

2020-01-07 21:31:34 +01:00
#ifndef SAVE_H
#define SAVE_H
#define WORLD_RUN_ENTRY 9 // 8 niveaux + mode run
2020-01-07 21:31:34 +01:00
#define NB_MONDES 5
void saveLoad(); // Not yet ! will use BFile
void saveWrite(); // neither :E
2020-01-07 21:31:34 +01:00
int saveGetScore(int world, int level); // return the highest score for the correspondig challenge
void saveSetScore(int world, int level, unsigned int score);
2020-01-07 21:31:34 +01:00
int saveGetTime(int world, int level); // return the lowest time for the corresponding challenge
void saveSetTime(int world, int level, unsigned int time);
2020-01-07 21:31:34 +01:00
int saveGetCoins(int world, int level); // return the highest number of coins for the correspondig challenge
void saveSetCoins(int world, int level, unsigned int coins);
2020-01-25 11:54:39 +01:00
unsigned int saveGetProgressStatus();
2020-01-08 15:43:58 +01:00
#endif