]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/sequencer.cpp
Make some simple actions loadable
[libs/demoscene.git] / source / sequencer.cpp
index 917108b7878753a987e88d7c931a6e6a69760586..3807e1c15a760777273cc65a0c7030287f8c7467 100644 (file)
@@ -1,7 +1,9 @@
 #include <cmath>
 #include <msp/core/algorithm.h>
 #include <msp/core/maputils.h>
+#include "fadeoverlay.h"
 #include "sequencer.h"
+#include "stage.h"
 
 using namespace std;
 using namespace Msp;
@@ -12,6 +14,9 @@ Sequencer::Sequencer(float bpm):
        next_event(0)
 {
        set_beats_per_minute(bpm);
+
+       register_action_type<FadeOverlay::Fade>("fade");
+       register_action_type<Stage::UseInView>("use_stage");
 }
 
 void Sequencer::set_beats_per_minute(float bpm)