#include <GL/glu.h>
#include <SDL/SDL.h>
-#include <vector>
-using std::vector;
-
#include "debug.h"
+#include "handleSignal.h"
#include "game.h"
#include "ticks.h"
#include "input/inputManager.h"
+
/// ***** Private Method Headers *****
void init();
+void sighandler( int sig );
+
void run();
void cleanUp();
/// ***** Private Methods *****
void init()
{
+ installSignal();
+
graphicsInit();
gameInit();
- // TODO
- // add a game state
-
#ifdef DEBUGGING
cout << "Initialization Complete" << endl;
#endif
-
- // create starting entities
-
-#ifdef DEBUGGING
- cout << "World Created" << endl;
-#endif
}
void cleanUp()