I think finished structures
and some changes in loading and changes in map class we have 2 TODO now
This commit is contained in:
8
loader.h
8
loader.h
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user