diff options
Diffstat (limited to 'sigmod/Map.h')
-rw-r--r-- | sigmod/Map.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sigmod/Map.h b/sigmod/Map.h index 5cb7dc4e..70607a54 100644 --- a/sigmod/Map.h +++ b/sigmod/Map.h @@ -26,7 +26,6 @@ // Qt includes #include <QtCore/QList> -#include <QtCore/QMetaType> namespace Sigmod { @@ -44,14 +43,6 @@ class SIGMOD_EXPORT Map : public Object Q_ENUMS(Type) public: - enum Type - { - Outdoor = 0, - Dungeon = 1, - Building = 2 - }; - static const QStringList TypeStr; - Map(const Map& map); Map(const Game* parent, const int id); Map(const Map& map, const Game* parent, const int id); @@ -64,17 +55,14 @@ class SIGMOD_EXPORT Map : public Object QDomElement save() const; void setName(const QString& name); - void setType(const Type type); void setWidth(const int width); void setHeight(const int height); QString name() const; - Type type() const; int width() const; int height() const; bool nameCheck(const QString& name) const; - bool typeCheck(const Type type) const; bool widthCheck(const int width) const; bool heightCheck(const int height) const; @@ -158,7 +146,6 @@ class SIGMOD_EXPORT Map : public Object void clear(); QString m_name; - Type m_type; int m_width; int m_height; QList<MapEffect*> m_effects; @@ -168,6 +155,5 @@ class SIGMOD_EXPORT Map : public Object QList<MapWildList*> m_wildLists; }; } -Q_DECLARE_METATYPE(Sigmod::Map::Type) #endif |