mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Load virtual filesystem on lobby start to access schemas
This commit is contained in:
parent
456dfd9e3d
commit
efe10b05e9
@ -12,12 +12,17 @@
|
||||
#include "LobbyServer.h"
|
||||
|
||||
#include "../lib/logging/CBasicLogConfigurator.h"
|
||||
#include "../lib/filesystem/CFilesystemLoader.h"
|
||||
#include "../lib/filesystem/Filesystem.h"
|
||||
#include "../lib/VCMIDirs.h"
|
||||
|
||||
static const int LISTENING_PORT = 30303;
|
||||
|
||||
int main(int argc, const char * argv[])
|
||||
{
|
||||
CResourceHandler::initialize();
|
||||
CResourceHandler::load("config/filesystem.json"); // FIXME: we actually need only config directory for schemas, can be reduced
|
||||
|
||||
#ifndef VCMI_IOS
|
||||
console = new CConsoleHandler();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user