X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain.cpp;h=1e9d4ad7e0b916915b5bd5cfa247d77f05eb7649;hb=9ae1c0798cff2d1ed816bccb0723bd5a4ca97194;hp=7576077160d922c84cf16eba5617ee225c0f6792;hpb=9bbcda111f0b64b99a15ec832bf436cfee2304ca;p=physics.git diff --git a/src/main.cpp b/src/main.cpp index 7576077..1e9d4ad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -86,7 +86,7 @@ float num = 10; float total = 0; /// ***** MAIN Method ***** -int main() +int main(int argc, char** args) { init(); run(); @@ -102,13 +102,30 @@ void init() graphics::init(); +#ifdef DEBUGGING + cout << "Graphics initialized" << endl; + cout << "Graphics initialized2" << endl; +#endif + game::init(); +#ifdef DEBUGGING + cout << "Game initialized" << endl; +#endif + input::init(); +#ifdef DEBUGGING + cout << "Input initialized" << endl; +#endif + cfg::init(); #ifdef DEBUGGING + cout << "Configs initialized" << endl; +#endif + +#ifdef DEBUGGING cout << "Initialization Complete" << endl; #endif }