X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=73133064f1ab57e2b11c34a9ed25bf53764c30f6;hp=98565a6afa682eacb4cdd551e6782e3b052e43d6;hb=7cbd45053add8c0ee042a69a51f7c8e4dc40bc06;hpb=f72f4a59026b8daa160908170f366c843aca5bb9 diff --git a/src/main.cpp b/src/main.cpp index 98565a6..7313306 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,10 +2,8 @@ #include #include -#include -using std::vector; - #include "debug.h" +#include "handleSignal.h" #include "game.h" #include "ticks.h" @@ -14,9 +12,12 @@ using std::vector; #include "input/inputManager.h" + /// ***** Private Method Headers ***** void init(); +void sighandler( int sig ); + void run(); void cleanUp(); @@ -66,6 +67,8 @@ long int last_Second; /// ***** Private Methods ***** void init() { + installSignal(); + graphicsInit(); gameInit();