summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-27 13:29:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-27 13:29:38 +0300
commit6897c86f62c6f5ed59ad0dade2c81946844fa5dd (patch)
tree8cd49605f6f7aab10aea2882d7b69c3bbfe5eab8 /src/resources/mapreader.h
parente0415e24477d07ecd90ec17667fba127deed91bd (diff)
downloadplus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.gz
plus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.bz2
plus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.xz
plus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.zip
Add ability to maps to play music files with map name.
If music attribute missing, music can be played with name MAP.ogg
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 9168206c3..26e47a74c 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -75,6 +75,8 @@ class MapReader final
*/
static Tileset *readTileset(XmlNodePtr node, const std::string &path,
Map *const map) A_WARN_UNUSED;
+
+ static void updateMusic(Map *const map);
};
#endif