aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 48e384d..aa0db73 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -8,6 +8,8 @@
#include <components.hpp>
#include <player.hpp>
#include <quest.hpp>
+#include <particle.hpp>
+#include <weather.hpp>
Engine::Engine(void)
: shouldRun(true), systems(game::entities, game::events)
@@ -30,6 +32,9 @@ void Engine::init(void) {
systems.add<MovementSystem>();
systems.add<DialogSystem>();
+ systems.add<ParticleSystem>();
+ systems.add<WeatherSystem>();
+
systems.configure();
ui::initSounds();
@@ -57,6 +62,8 @@ void Engine::update(entityx::TimeDelta dt)
systems.update<WorldSystem>(dt);
systems.update<PlayerSystem>(dt);
//systems.update<QuestSystem>(dt); // doesn't do anything
+ systems.update<WeatherSystem>(dt);
+ systems.update<ParticleSystem>(dt);
}