Huge refactor, pulling server and local out into their own binaries

This commit is contained in:
mdiluzio 2015-01-10 16:55:30 +00:00
parent 1b2010faba
commit 0ead12c7dd
16 changed files with 165 additions and 247 deletions

View file

@ -1,17 +1,15 @@
#include "client.h"
#include <iostream>
#include "net.h"
#include "game.h"
#include "error.h"
#include "filesystem.h"
int runClient(int argc, char* argv[])
int main(int argc, char* argv[])
{
// must provide information
if (argc < 2)
fatal_error("Usage: ttrts client HOST");
fatal_error("Usage: ttrts-client HOST");
std::string hostname = argv[1];