Stop treating map header bools as strings

This commit is contained in:
GriffinR
2022-10-14 18:11:11 -04:00
parent 614242f1fe
commit 239f3935bf
7 changed files with 57 additions and 85 deletions

View File

@@ -42,14 +42,13 @@ public:
QString song;
QString layoutId;
QString location;
QString requiresFlash;
QString isFlyable;
bool requiresFlash;
QString weather;
QString type;
QString show_location;
QString allowRunning;
QString allowBiking;
QString allowEscapeRope;
bool show_location;
bool allowRunning;
bool allowBiking;
bool allowEscaping;
int floorNumber = 0;
QString battle_scene;
QString sharedEventsMap = "";
@@ -59,6 +58,7 @@ public:
bool isPersistedToFile = true;
bool hasUnsavedDataChanges = false;
bool needsLayoutDir = true;
bool needsHealLocation = false;
QImage collision_image;
QPixmap collision_pixmap;
QImage image;