diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-26 15:47:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-26 15:47:39 +0300 |
commit | 9fe86d302838c62034c0bf6c74d8ca47722bd40b (patch) | |
tree | 58aa24b936547f3489788d5afb1045c89d5029fa /src/defaults.cpp | |
parent | 61e3fa8513c1bc2644348ac6052ab87785fb119d (diff) | |
download | ManaVerse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.gz ManaVerse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.bz2 ManaVerse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.xz ManaVerse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.zip |
dehardcode client data configuration file names.
Now names stored in paths.xml
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index f2229492d..11ebec96b 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -424,7 +424,6 @@ DefaultsData* getPathsDefaults() AddDEF("minimaps", "graphics/minimaps/"); AddDEF("maps", "maps/"); - AddDEF("sfx", "sfx/"); AddDEF("music", "music/"); @@ -433,6 +432,28 @@ DefaultsData* getPathsDefaults() AddDEF("help", "help/"); + AddDEF("statusEffectsFile", "status-effects.xml"); + AddDEF("effectsFile", "effects.xml"); + AddDEF("unitsFile", "units.xml"); + AddDEF("featuresFile", "features.xml"); + AddDEF("questsFile", "quests.xml"); + AddDEF("skillsFile", "ea-skills.xml"); + AddDEF("skillsFile2", "skills.xml"); + AddDEF("equipmentWindowFile", "equipmentwindow.xml"); + AddDEF("emotesFile", "emotes.xml"); + AddDEF("hairColorFile", "hair.xml"); + AddDEF("hairColorFile2", "colors.xml"); + AddDEF("itemColorsFile", "itemcolors.xml"); + AddDEF("charCreationFile", "charcreation.xml"); + AddDEF("soundsFile", "sounds.xml"); + AddDEF("itemsFile", "items.xml"); + AddDEF("avatarsFile", "avatars.xml"); + AddDEF("npcsFile", "npcs.xml"); + AddDEF("petsFile", "pets.xml"); + AddDEF("monstersFile", "monsters.xml"); + AddDEF("mapsRemapFile", "maps/remap.xml"); + AddDEF("mapsFile", "maps.xml"); + return configData; } |