On second thoughts move filesystem game code out to a filesystem cpp

This commit is contained in:
mdiluzio 2015-01-02 14:09:29 +00:00
parent 0962546a82
commit 8835bfb82a
6 changed files with 234 additions and 227 deletions

View file

@ -1,5 +1,5 @@
#include "game.h"
#include "server.h"
#include "filesystem.h"
#include <iostream>
#include <unistd.h>
@ -60,6 +60,6 @@ int main(int argc, char* argv[])
return -1;
}
return runServer(ttrts_games_dir, gameFile);
return runFromFilesystem(ttrts_games_dir, gameFile);
};