diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-13 21:23:33 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-13 21:59:10 +0200 |
commit | bf32ca896ccf51385eb67812088ba5861ca2ede2 (patch) | |
tree | 02cc6a7f8de3ef48b6092668368f3b5ba8f35683 /src/resources/mapreader.h | |
parent | 774e86e8d2f8d787fb3b3a865cd500f166153c96 (diff) | |
download | manaplus-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.gz manaplus-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.bz2 manaplus-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.xz manaplus-bf32ca896ccf51385eb67812088ba5861ca2ede2.zip |
Add ability to remap maps to different files.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index 6995aaf8e..927b76173 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -46,7 +46,8 @@ class MapReader /** * Read an XML map from a file. */ - static Map *readMap(const std::string &filename); + static Map *readMap(const std::string &filename, + const std::string &realFilename); /** * Read an XML map from a parsed XML tree. The path is used to find the |