QTfrontend/model/MapModel.h
changeset 8419 d99f46b676b5
parent 8377 869f80966a77
child 9080 9b42757d7e71
equal deleted inserted replaced
8418:4543cc2049af 8419:d99f46b676b5
    62             QString theme; ///< The theme to be used. (can be empty)
    62             QString theme; ///< The theme to be used. (can be empty)
    63             quint32 limit; ///< The maximum allowed number of hedgehogs.
    63             quint32 limit; ///< The maximum allowed number of hedgehogs.
    64             QString scheme; ///< Default scheme name or "locked", for mission-maps.
    64             QString scheme; ///< Default scheme name or "locked", for mission-maps.
    65             QString weapons; ///< Default weaponset name or "locked", for missions-maps.
    65             QString weapons; ///< Default weaponset name or "locked", for missions-maps.
    66             QString desc; ///< The brief 1-2 sentence description of the mission, for mission-maps.
    66             QString desc; ///< The brief 1-2 sentence description of the mission, for mission-maps.
       
    67             bool dlc; ///< True if this map was not packaged with the game
    67         };
    68         };
    68 
    69 
    69         /**
    70         /**
    70          * @brief Searches maps in model to find out if one exists
    71          * @brief Searches maps in model to find out if one exists
    71          * @param map map of which to check existence
    72          * @param map map of which to check existence
   129             QString name = "",
   130             QString name = "",
   130             QString theme = "",
   131             QString theme = "",
   131             quint32 limit = 0,
   132             quint32 limit = 0,
   132             QString scheme = "",
   133             QString scheme = "",
   133             QString weapons = "",
   134             QString weapons = "",
   134             QString desc = "");
   135             QString desc = "",
       
   136             bool dlc = false);
   135 };
   137 };
   136 
   138 
   137 Q_DECLARE_METATYPE(MapModel::MapInfo)
   139 Q_DECLARE_METATYPE(MapModel::MapInfo)
   138 
   140 
   139 #endif // HEDGEWARS_MAPMODEL_H
   141 #endif // HEDGEWARS_MAPMODEL_H