diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-19 20:22:59 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-19 20:22:59 +0200 |
commit | 86eb0c08d233636cd4647649c6542d3cf410e3ab (patch) | |
tree | 9721759b41f0256f15c3786c357448a93215440e /src/configuration.h | |
parent | 335eec717f6189c01d8217dd2c4f4e74a171d9a5 (diff) | |
parent | 2d584d7e8aaeacbcb1036bae5c8deca9b810fe60 (diff) | |
download | mana-86eb0c08d233636cd4647649c6542d3cf410e3ab.tar.gz mana-86eb0c08d233636cd4647649c6542d3cf410e3ab.tar.bz2 mana-86eb0c08d233636cd4647649c6542d3cf410e3ab.tar.xz mana-86eb0c08d233636cd4647649c6542d3cf410e3ab.zip |
Merge branch '1.0'
Conflicts:
src/gui/itempopup.cpp
src/item.cpp
src/monster.cpp
src/net/manaserv/playerhandler.cpp
src/net/tmwa/partyhandler.cpp
src/npc.cpp
src/player.cpp
src/resources/itemdb.cpp
src/resources/monsterdb.cpp
src/resources/monsterinfo.cpp
src/resources/npcdb.cpp
src/resources/spritedef.cpp
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/configuration.h b/src/configuration.h index a0c896a5..908d13a4 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -197,9 +197,10 @@ class Configuration : public ConfigurationObject /** * Reads config file and parse all options into memory. * - * \param filename path to config file + * @param filename path to config file + * @param useResManager Make use of the resource manager. */ - void init(const std::string &filename); + void init(const std::string &filename, bool useResManager = false); /** * Writes the current settings back to the config file. @@ -244,10 +245,11 @@ class Configuration : public ConfigurationObject typedef ListenerMap::iterator ListenerMapIterator; ListenerMap mListenerMap; - std::string mConfigPath; /**< Location of config file */ + std::string mConfigPath; /**< Location of config file */ }; extern Configuration branding; extern Configuration config; +extern Configuration paths; #endif |