diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-21 18:07:27 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-21 18:07:27 +0000 |
| commit | 9e4aea97bdb5a903150df57f8d546733ce4b4db2 (patch) | |
| tree | 7e18776bd7ace981895bca01ac753c9c289a71a5 /masterserver/src/main.cpp | |
| parent | f0e8502050ce27b9cef72fa385619d13faa35c27 (diff) | |
| download | zcatch-9e4aea97bdb5a903150df57f8d546733ce4b4db2.tar.gz zcatch-9e4aea97bdb5a903150df57f8d546733ce4b4db2.zip | |
lots of cool new features :D new master server
Diffstat (limited to 'masterserver/src/main.cpp')
| -rw-r--r-- | masterserver/src/main.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/masterserver/src/main.cpp b/masterserver/src/main.cpp deleted file mode 100644 index 380830ad..00000000 --- a/masterserver/src/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include <cstdio> -#include <cstdlib> - -#include "masterserver.h" - -int main(int argc, char *argv[]) -{ - if (argc != 2) - { - puts("Usage: masterserver <port> (this will bind the server to the port specified (both udp and tcp)."); - return -1; - } - - int port = atoi(argv[1]); - - CMasterServer masterServer; - masterServer.Init(port); - - while (1) - { - masterServer.Tick(); - - thread_sleep(10); - } - - masterServer.Shutdown(); - - return 0; -} |