summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-10-27 01:32:24 +0000
committerJared Adams <jaxad0127@gmail.com>2008-10-27 01:32:24 +0000
commitdb7eb254e97f1b3560b2e12f12cd2b4ff1828f4a (patch)
treea387d066c866c1e2f84c4ca46c0ca37bb0280821 /src/game.cpp
parenta602dd13024304ddd5ec36befee25961622a36a8 (diff)
downloadmana-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.gz
mana-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.bz2
mana-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.xz
mana-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.zip
Add an effects manager (patch by Kage Jittai)
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 901b8dea..b4c9190d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -44,6 +44,7 @@
#include "log.h"
#include "npc.h"
#include "particle.h"
+#include "effectmanager.h"
#include "gui/buy.h"
#include "gui/buysell.h"
@@ -133,6 +134,7 @@ BeingManager *beingManager = NULL;
FloorItemManager *floorItemManager = NULL;
ChannelManager *channelManager = NULL;
CommandHandler *commandHandler = NULL;
+EffectManager *effectManager = NULL;
Particle *particleEngine = NULL;
@@ -286,6 +288,7 @@ Game::Game():
floorItemManager = new FloorItemManager();
channelManager = new ChannelManager();
commandHandler = new CommandHandler();
+ effectManager = new EffectManager();
particleEngine = new Particle(NULL);
particleEngine->setupEngine();