projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update ignore
[physics.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
7576077
..
1e9d4ad
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-86,7
+86,7
@@
float num = 10;
float total = 0;
/// ***** MAIN Method *****
float total = 0;
/// ***** MAIN Method *****
-int main()
+int main(
int argc, char** args
)
{
init();
run();
{
init();
run();
@@
-102,13
+102,30
@@
void init()
graphics::init();
graphics::init();
+#ifdef DEBUGGING
+ cout << "Graphics initialized" << endl;
+ cout << "Graphics initialized2" << endl;
+#endif
+
game::init();
game::init();
+#ifdef DEBUGGING
+ cout << "Game initialized" << endl;
+#endif
+
input::init();
input::init();
+#ifdef DEBUGGING
+ cout << "Input initialized" << endl;
+#endif
+
cfg::init();
#ifdef DEBUGGING
cfg::init();
#ifdef DEBUGGING
+ cout << "Configs initialized" << endl;
+#endif
+
+#ifdef DEBUGGING
cout << "Initialization Complete" << endl;
#endif
}
cout << "Initialization Complete" << endl;
#endif
}