X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=demos%2Fforestpond%2Fsource%2Fforestpond.h;fp=demos%2Fforestpond%2Fsource%2Fforestpond.h;h=b626f4e169a85af4cf4a859932b418d61ca1f50d;hp=0000000000000000000000000000000000000000;hb=35fbb952c5a932cd1b77111da42d5608b51caa4c;hpb=d9c437291135255422c71918cd0cab8a735848af diff --git a/demos/forestpond/source/forestpond.h b/demos/forestpond/source/forestpond.h new file mode 100644 index 00000000..b626f4e1 --- /dev/null +++ b/demos/forestpond/source/forestpond.h @@ -0,0 +1,45 @@ +#ifndef FORESTPOND_H_ +#define FORESTPOND_H_ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class ForestPond: public Msp::RegisteredApplication +{ +private: + class Resources: public Msp::GL::Resources + { + private: + Msp::DataFile::DirectorySource source; + + public: + Resources(Msp::GL::ResourceManager *); + }; + + Msp::Graphics::Display display; + Msp::Graphics::Window window; + Msp::GL::Device gl_device; + Msp::GL::ResourceManager res_mgr; + Resources resources; + + Msp::GL::WindowView view; + std::unique_ptr sequence; + Msp::GL::Camera &camera; + +public: + ForestPond(int, char **); + + virtual int main(); +private: + virtual void tick(); +}; + +#endif