Started working on the room system

This commit is contained in:
Kayne Ruse
2013-08-11 20:39:08 +10:00
commit 0a0b61287e
9 changed files with 217 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#include "application.hpp"
#include "SDL/SDL.h"
#include <stdexcept>
#include <iostream>
using namespace std;
int main(int, char**) {
#ifdef DEBUG
cout << "Beginning server" << endl;
#endif
try {
Application app;
app.Init();
app.Loop();
app.Quit();
}
catch(exception& e) {
cerr << "Fatal error: " << e.what() << endl;
return 1;
}
#ifdef DEBUG
cout << "Clean exit" << endl;
#endif
return 0;
}