projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added phonies to make, added fps to debug
[physics.git]
/
src
/
game.cpp
diff --git
a/src/game.cpp
b/src/game.cpp
index
ebf2ba7
..
1aabda2
100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-5,6
+5,7
@@
using std::vector;
#include "entityCreator.h"
using std::vector;
#include "entityCreator.h"
+#include "effectManager.h"
#include "GameStates/GameState.h"
#include "GameStates/Running.h"
#include "GameStates/GameState.h"
#include "GameStates/Running.h"
@@
-35,6
+36,8
@@
void gameInit()
active_States.push_back(running);
active_States.push_back(running);
+ effect::init();
+
#ifdef DEBUGGING
cout << "World Created" << endl;
#endif
#ifdef DEBUGGING
cout << "World Created" << endl;
#endif
@@
-42,6
+45,8
@@
void gameInit()
void gameClean()
{
void gameClean()
{
+ effect::clean();
+
creator::clean();
delete creating_Polygon;
creator::clean();
delete creating_Polygon;