]> Dogcows Code - chaz/yoink/blobdiff - src/YoinkApp.hh
new timer class
[chaz/yoink] / src / YoinkApp.hh
index 66406d2d4447c0979ddb0ef94f1bced85da45569..24865c93fa741089fdd4b5fefdae6b097f7dfe77 100644 (file)
 #include <Moof/Interpolator.hh>
 #include <Moof/Math.hh>
 #include <Moof/Scene.hh>
+#include <Moof/Sound.hh>
 
 #include "Character.hh"
-#include "TilemapFont.hh"
+#include "Hud.hh"
 
 
 class YoinkApp : public Mf::Engine
@@ -63,21 +64,24 @@ 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;
-       TilemapFont *font;
+       Mf::Sound music;
 
-       Mf::Cerpv2 interp;
-       Mf::Lerps fadeIn;
+       CharacterP heroine;
+       Mf::Sound punchSound;
+
+       Mf::PolynomialInterpolator<5> interp;
+       Mf::Lerp fadeIn;
 
        Mf::Camera camera;
-       Mf::Scene* testScene;
+       Mf::OctreeP octree;
 
-       Mf::Scalar x, y, z;
+       void myFunc(Mf::Timer& timer, Mf::Scalar t);
+       Mf::Timer myTimer;
+       int myThread();
 
-       Mf::Scalar state;
-       Mf::Scalar prevstate;
+       Hud hud;
 };
 
 
This page took 0.016917 seconds and 4 git commands to generate.