From 4eaa6c091f97ca3455b2ae48a5f68867c0f7768e Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Tue, 26 Dec 2017 22:18:37 +0100 Subject: * 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. --- Source/MapEditor/mainwindow.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/MapEditor/mainwindow.h') 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 #include +#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 -- cgit v1.2.3