]> Dogcows Code - chaz/yoink/blobdiff - src/YoinkApp.hh
more featureful sound class
[chaz/yoink] / src / YoinkApp.hh
index 19564b5d903e559849bb1bb2865986a48c08eee1..ad8d694e62619aee1c947e50f901e864310db95d 100644 (file)
@@ -37,6 +37,7 @@
 #include <iostream>
 #include <string>
 
+#include <Moof/Camera.hh>
 #include <Moof/Dispatcher.hh>
 #include <Moof/Engine.hh>
 #include <Moof/Interpolator.hh>
 #include "Character.hh"
 #include "TilemapFont.hh"
 
+#include <Moof/Sound.hh>
+
+#include "Hud.hh"
+
 
 class YoinkApp : public Mf::Engine
 {
@@ -62,20 +67,21 @@ private:
         * Set OpenGL to a state we can know and depend on.
         */
        void setupGL();
-       void contextRecreated(const Mf::Notification& note);
+       void contextRecreated(const Mf::Notification* note);
 
-       Character* someChar;
+       Mf::Sound music;
+
+       CharacterP heroine;
+       Mf::Sound punchSound;
        TilemapFont *font;
 
-       Mf::Cerpv2 interp;
+       Mf::Cerps interp;
        Mf::Lerps fadeIn;
 
-       Mf::Scene* testScene;
-
-       Mf::Scalar x, y, z;
+       Mf::Camera camera;
+       Mf::SceneP testScene;
 
-       Mf::Scalar state;
-       Mf::Scalar prevstate;
+       Hud hud;
 };
 
 
This page took 0.019032 seconds and 4 git commands to generate.