#include <iostream>
#include <string>
+#include <Moof/Camera.hh>
#include <Moof/Dispatcher.hh>
#include <Moof/Engine.hh>
#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
* 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::Scene* testScene;
+ Mf::PolynomialInterpolator<5> interp;
+ Mf::Lerp fadeIn;
- Mf::Scalar x, y, z;
+ Mf::Camera camera;
+ Mf::OctreeP octree;
- Mf::Scalar state;
- Mf::Scalar prevstate;
+ void myFunc(Mf::Timer& timer, Mf::Scalar t);
+ Mf::Timer myTimer;
+ int myThread();
+
+ Hud hud;
};