]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/demo.h
Make it possible for Stages to add things to the Demo
[libs/demoscene.git] / source / demo.h
index e2dfd6e9e6d926455827b9232036568bc68c795b..35be62454e0c70100b13f392f560ef8784446a07 100644 (file)
@@ -32,6 +32,8 @@ private:
        };
 
 public:
+       typedef std::map<std::string, Msp::Variant> ThingMap;
+
        sigc::signal<void> signal_finished;
 
 protected:
@@ -48,7 +50,7 @@ protected:
        Msp::Time::TimeStamp last_tick;
        Msp::Time::TimeStamp next_frame;
 
-       std::map<std::string, Msp::Variant> things;
+       ThingMap things;
 
        Demo(Msp::Graphics::Window &, Msp::Graphics::GLContext &, Msp::DataFile::Collection &);
 public: