43 void readMap(XmlNodePtrConst node);
72 XmlNodeConstPtrConst root = doc->
rootNode();
81 if (xmlNameEqual(node,
"map"))
93 else if (xmlNameEqual(node,
"include"))
115 if (xmlNameEqual(childNode,
"atlas"))
120 mInfos[map].atlas = atlas;
134 if (xmlNameEqual(childNode,
"file"))
151 else if (atlas !=
"all")
168 XmlNodeConstPtrConst root = doc->
rootNode();
177 if (xmlNameEqual(node,
"map"))
181 else if (xmlNameEqual(node,
"atlas"))
185 else if (xmlNameEqual(node,
"include"))
208 if (it !=
mMaps.end())
222 info->files = &((*it2).second);
234 info->files = &(*it).second;
#define loadXmlDir(name, function)
std::string getStringValue(const std::string &key) const
void log(const char *const log_text,...)
void log1(const char *const log_text)
#define FOR_EACHP(type, iter, array)
#define FOR_EACH(type, iter, array)
#define for_each_xml_child_node(var, parent)
bool info(InputEvent &event)
MapInfos::iterator MapInfoIter
const MapInfo * getMapAtlas(const std::string &name)
Atlases::const_iterator AtlasCIter
const std::string getMapName(const std::string &name)
void readMap(xmlNode *const node)
std::map< std::string, StringVect > Atlases
std::map< std::string, MapInfo > MapInfos
Maps::iterator MapIterator
std::map< std::string, std::string > Maps
const MapInfo * getAtlas(const std::string &name)
void loadRemapXmlFile(const std::string &fileName, const SkipError skipError)
void loadInfo(const std::string &fileName, const SkipError skipError)
void readAtlas(xmlNode *const node)
bool isEmptyTileset(const std::string &name)
int getProperty(const xmlNodePtr node, const char *const name, int def)
std::set< std::string > mEmptyTilesets
const bool SkipError_false
const bool SkipError_true
StringVect::const_iterator StringVectCIter
std::vector< std::string > StringVect
const bool UseVirtFs_true