diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-27 13:29:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-27 13:29:38 +0300 |
commit | 6897c86f62c6f5ed59ad0dade2c81946844fa5dd (patch) | |
tree | 8cd49605f6f7aab10aea2882d7b69c3bbfe5eab8 /src/resources/mapreader.h | |
parent | e0415e24477d07ecd90ec17667fba127deed91bd (diff) | |
download | manaplus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.gz manaplus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.bz2 manaplus-6897c86f62c6f5ed59ad0dade2c81946844fa5dd.tar.xz manaplus-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.h | 2 |
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 |