1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

Parsing & loading for new creatures. A lot of tweaks & improvements. Still needs some work.

This commit is contained in:
DjWarmonger
2012-09-19 16:10:45 +00:00
parent fb2f19b4c5
commit 3f95ba8ac8
4 changed files with 91 additions and 36 deletions

View File

@ -330,7 +330,8 @@ void CResourceHandler::initialize()
//create "LOCAL" dir with current userDir (may be same as rootDir)
initialLoader->addLoader("LOCAL/", userDir, false);
recurseInDir("ALL/CONFIG", 0);// look for configs
//recurseInDir("ALL/CONFIG", 0);// look for configs
recurseInDir("ALL/CONFIG", 4);// look for mods (2) and mod files (3) in config folder
recurseInDir("ALL/DATA", 0); // look for archives
recurseInDir("ALL/MODS", 2); // look for mods. Depth 2 is required for now but won't cause issues if no mods present
}