diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-26 22:18:37 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-26 22:18:37 +0100 |
| commit | 4eaa6c091f97ca3455b2ae48a5f68867c0f7768e (patch) | |
| tree | 79ae89ae5b7399c774ae6fcb792c109a725e1af8 /Source/MapEditor/mainwindow.h | |
| parent | f06d582d63b1f91e48ecb17a11987217144c5c79 (diff) | |
| download | airport-4eaa6c091f97ca3455b2ae48a5f68867c0f7768e.tar.gz | |
* Slight optimization: all comparations against true are now compared against != false.
+ Added a provisional background during gameplay (still WIP).
* Map editor now allows creating a map.
Diffstat (limited to 'Source/MapEditor/mainwindow.h')
| -rw-r--r-- | Source/MapEditor/mainwindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/MapEditor/mainwindow.h b/Source/MapEditor/mainwindow.h index b05c6f5..d9c04d8 100644 --- a/Source/MapEditor/mainwindow.h +++ b/Source/MapEditor/mainwindow.h @@ -6,6 +6,7 @@ #include <QSettings>
#include <QDebug>
+#include "mygraphicsscene.h"
#include "ui_mainwindow.h"
namespace Ui {
@@ -26,10 +27,12 @@ private: bool checkFile(QFile &f);
void appSettings(void);
QString _last_dir;
+ MyGraphicsScene *gscene;
protected slots:
void onLoadMap(void);
-
+ void onCreateMap(void);
+ void onProcessMapFile(QByteArray data);
};
#endif // MAINWINDOW_H
|
