47 lines
495 B
C++
47 lines
495 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;
|
|
int mini;
|
|
};
|
|
|
|
|
|
#endif
|