1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

multiple changes in config system, breaks existing mods. See upcoming post on forums.

- filesystem initialization works in conjuction with modHandler
- (config) split buildings.json in multiple files in "factions" directory
- (mods) merged filesystem.json and config/mod.json into mod.json
This commit is contained in:
Ivan Savenko
2012-12-12 11:13:57 +00:00
parent e3231db1c9
commit 04358ed0c6
26 changed files with 2422 additions and 2318 deletions

View File

@@ -509,9 +509,9 @@ int main(int argc, char** argv)
port = _ttoi(argv[1]);
#endif
}
LibClasses::loadFilesystem();
preinitDLL(console,logfile);
tlog0 << "Port " << port << " will be used." << std::endl;
initDLL(console,logfile);
loadDLLClasses();
srand ( (ui32)time(NULL) );
try
{