diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-19 13:21:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-19 13:21:39 +0000 |
commit | 94505c89fa6cc87704793bf488d520d5d6179024 (patch) | |
tree | 654e7da1494909ab99b83e4a21108a1e8d15e08a /src/resources/mapreader.cpp | |
parent | 919d5a60b08bb39114d73295c59290a6c3402a76 (diff) | |
download | mana-94505c89fa6cc87704793bf488d520d5d6179024.tar.gz mana-94505c89fa6cc87704793bf488d520d5d6179024.tar.bz2 mana-94505c89fa6cc87704793bf488d520d5d6179024.tar.xz mana-94505c89fa6cc87704793bf488d520d5d6179024.zip |
Also add mapreader.cpp to the file.list.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 7e604b93..ccf38ac3 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -104,19 +104,6 @@ Map* MapReader::readMap(xmlNodePtr node, const std::string &path) readLayer(node, map, layerNr); layerNr++; } - /* - else if (xmlStrEqual(node->name, BAD_CAST "object")) { - int x = getProperty(node, "x", 0); - int y = getProperty(node, "y", 0); - - // Spawn the object - prop = xmlGetProp(node, BAD_CAST "type"); - - log("- Adding %s at (%d, %d)", (char*)prop, x, y); - map->addObject(double(x) / tilew, double(y) / tileh, (char*)prop); - xmlFree(prop); - } - */ } return map; |