supercasiobros/include/save.h

23 lines
716 B
C

#ifndef SAVE_H
#define SAVE_H
#define WORLD_RUN_ENTRY 9 // 8 niveaux + mode run
#define NB_MONDES 5
void saveLoad(); // Not yet ! will use BFile
void saveWrite(); // neither :E
int saveGetScore(int world, int level); // return the highest score for the correspondig challenge
void saveSetScore(int world, int level, unsigned int score);
int saveGetTime(int world, int level); // return the lowest time for the corresponding challenge
void saveSetTime(int world, int level, unsigned int time);
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);
unsigned int saveGetProgressStatus();
#endif