46 lines
481 B
C++
46 lines
481 B
C++
|
#ifndef SAVE
|
||
|
#define SAVE
|
||
|
|
||
|
struct Level;
|
||
|
struct Info;
|
||
|
|
||
|
class Save
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Save();
|
||
|
~Save();
|
||
|
void LoadData();
|
||
|
void SaveData();
|
||
|
|
||
|
Level ** TabLevel;
|
||
|
Info * UserInfo;
|
||
|
|
||
|
int * data;
|
||
|
int lenght;
|
||
|
|
||
|
int nblevel;
|
||
|
};
|
||
|
|
||
|
class Level
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
int normalprogress;
|
||
|
int practiseprogress;
|
||
|
};
|
||
|
|
||
|
class Info
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
int nbattemp;
|
||
|
int nbjump;
|
||
|
int nbtime;
|
||
|
int completlevel;
|
||
|
int perso;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|