I think finished structures

and some changes in loading
and changes in map class
we have 2 TODO now
This commit is contained in:
2010-08-22 21:55:29 +03:00
parent f6125014dd
commit 191e5ed1a1
14 changed files with 178 additions and 133 deletions

View File

@@ -117,7 +117,7 @@ struct tbWave
int id;
unsigned int timeout;
unsigned int prise;
int type;
//int type;
};
struct tbWaveOnLevel
@@ -131,7 +131,9 @@ struct tbMap
int id;
QString name;
unsigned int maxPlayers;
QVector < QVector <int> > cells;
//QVector < QVector <int> > cells;
QByteArray data;
QSize size;
int imgType;
};
@@ -158,7 +160,7 @@ public:
explicit Loader(QObject *parent = 0);
void create();
void reload();
void loadlevel(Game_Data * gd);
Game_Data * loadlevel();
signals:
public slots: