X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FYoinkApp.hh;h=950d31983002443dd83abe9c3c70d4a57321f1b8;hp=66406d2d4447c0979ddb0ef94f1bced85da45569;hb=542e50a284c7f5b144a5c97c17f6d89b2af0175c;hpb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539 diff --git a/src/YoinkApp.hh b/src/YoinkApp.hh index 66406d2..950d319 100644 --- a/src/YoinkApp.hh +++ b/src/YoinkApp.hh @@ -43,9 +43,10 @@ #include #include #include +#include #include "Character.hh" -#include "TilemapFont.hh" +#include "Hud.hh" class YoinkApp : public Mf::Engine @@ -63,21 +64,20 @@ 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::Camera camera; - 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; + Hud hud; };