From 463d5c603ea95f478dff4b12fbca3c7dd05cc8b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Jan 2014 20:43:46 +0300 Subject: add ability to inlude config parts from subdirs for most dbs. --- src/defaults.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/defaults.cpp') diff --git a/src/defaults.cpp b/src/defaults.cpp index 0ef44d8e2..e420c8805 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -489,31 +489,39 @@ DefaultsData* getPathsDefaults() AddDEF("equipmentWindowFile", "equipmentwindow.xml"); AddDEF("emotesFile", "emotes.xml"); AddDEF("emotesPatchFile", "emotes_patch.xml"); + AddDEF("emotesPatchDir", "emotes.d"); AddDEF("hairColorFile", "hair.xml"); AddDEF("hairColorPatchFile", "hair_patch.xml"); + AddDEF("hairColorPatchDir", "hair.d"); AddDEF("itemColorsFile", "itemcolors.xml"); AddDEF("itemColorsPatchFile", "itemcolors_patch.xml"); + AddDEF("itemColorsPatchDir", "itemcolors.d"); AddDEF("charCreationFile", "charcreation.xml"); AddDEF("soundsFile", "sounds.xml"); AddDEF("soundsPatchFile", "sounds_patch.xml"); + AddDEF("soundsPatchDir", "sounds.d"); AddDEF("itemsFile", "items.xml"); AddDEF("itemsPatchFile", "items_patch.xml"); AddDEF("itemsPatchDir", "items.d"); AddDEF("avatarsFile", "avatars.xml"); AddDEF("avatarsPatchFile", "avatars_patch.xml"); + AddDEF("avatarsPatchDir", "avatars.d"); AddDEF("npcsFile", "npcs.xml"); AddDEF("npcsPatchFile", "npcs_patch.xml"); AddDEF("npcsPatchDir", "npcs.d"); AddDEF("petsFile", "pets.xml"); AddDEF("petsPatchFile", "pets_patch.xml"); + AddDEF("petsPatchDir", "pets.d"); AddDEF("monstersFile", "monsters.xml"); AddDEF("monstersPatchFile", "monsters_patch.xml"); AddDEF("monstersPatchDir", "monsters.d"); AddDEF("mapsRemapFile", "maps/remap.xml"); AddDEF("mapsFile", "maps.xml"); AddDEF("mapsPatchFile", "maps_patch.xml"); + AddDEF("mapsPatchDir", "maps.d"); AddDEF("deadMessagesFile", "deadmessages.xml"); AddDEF("deadMessagesPatchFile", "deadmessages_patch.xml"); + AddDEF("deadMessagesPatchDir", "deadmessages.d"); return configData; } -- cgit v1.2.3-70-g09d2