QTfrontend/model/MapModel.cpp
changeset 11744 ac58a063d26a
parent 11046 47a8c19ecb60
child 11757 6874644a2d00
equal deleted inserted replaced
11743:eefa04b23c3b 11744:ac58a063d26a
    30 
    30 
    31 MapModel::MapInfo MapModel::MapInfoRandom = {MapModel::GeneratedMap, "+rnd+", "", 0, "", "", "", false};
    31 MapModel::MapInfo MapModel::MapInfoRandom = {MapModel::GeneratedMap, "+rnd+", "", 0, "", "", "", false};
    32 MapModel::MapInfo MapModel::MapInfoMaze = {MapModel::GeneratedMaze, "+maze+", "", 0, "", "", "", false};
    32 MapModel::MapInfo MapModel::MapInfoMaze = {MapModel::GeneratedMaze, "+maze+", "", 0, "", "", "", false};
    33 MapModel::MapInfo MapModel::MapInfoPerlin = {MapModel::GeneratedMaze, "+perlin+", "", 0, "", "", "", false};
    33 MapModel::MapInfo MapModel::MapInfoPerlin = {MapModel::GeneratedMaze, "+perlin+", "", 0, "", "", "", false};
    34 MapModel::MapInfo MapModel::MapInfoDrawn = {MapModel::HandDrawnMap, "+drawn+", "", 0, "", "", "", false};
    34 MapModel::MapInfo MapModel::MapInfoDrawn = {MapModel::HandDrawnMap, "+drawn+", "", 0, "", "", "", false};
    35 
    35 MapModel::MapInfo MapModel::MapInfoForts = {MapModel::FortsMap, "+forts+", "", 0, "", "", "", false};
    36 
    36 
    37 MapModel::MapModel(MapType maptype, QObject *parent) : QStandardItemModel(parent)
    37 MapModel::MapModel(MapType maptype, QObject *parent) : QStandardItemModel(parent)
    38 {
    38 {
    39     m_maptype = maptype;
    39     m_maptype = maptype;
    40     m_loaded = false;
    40     m_loaded = false;