Remember window sizes, add new map popup window (#54)

* save window state on app close

* new map popup window

* window title, groupItem fix

* fix new map heal location generation

* fix newmappopup form size

* empty map name check, increase max dimensions

* tool tips

* delete new window

* fix mainwindow.ui new map action

* use new config for window state

* clean window restore config settings

* extend "Add New Map" to different MapSortOrders

* fix crash when creating new map from unloaded layout

* fix new map from layout extra files
This commit is contained in:
garak
2019-01-07 18:14:44 -05:00
committed by huderlem
parent aa0709243d
commit d13a4da50a
14 changed files with 736 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ public:
QString layout_id;
QString location;
QString requiresFlash;
QString isFlyable; // TODO: implement this
QString isFlyable;
QString weather;
QString type;
QString unknown;
@@ -43,6 +43,7 @@ public:
QString battle_scene;
MapLayout *layout;
bool isPersistedToFile = true;
bool needsLayoutDir = true;
QImage collision_image;
QPixmap collision_pixmap;
QImage image;