5 #include <msp/core/application.h>
6 #include <msp/datafile/directorysource.h>
7 #include <msp/gl/device.h>
8 #include <msp/gl/orderedscene.h>
9 #include <msp/gl/resourcemanager.h>
10 #include <msp/gl/resources.h>
11 #include <msp/gl/sequence.h>
12 #include <msp/gl/windowview.h>
13 #include <msp/graphics/display.h>
14 #include <msp/graphics/window.h>
17 class ForestPond: public Msp::RegisteredApplication<ForestPond>
20 class Resources: public Msp::GL::Resources
23 Msp::DataFile::DirectorySource source;
26 Resources(Msp::GL::ResourceManager *);
29 Msp::Graphics::Display display;
30 Msp::Graphics::Window window;
31 Msp::GL::Device gl_device;
32 Msp::GL::ResourceManager res_mgr;
35 Msp::GL::WindowView view;
36 std::unique_ptr<Msp::GL::Sequence> sequence;
37 Msp::GL::Camera &camera;
39 Msp::GL::OrderedScene content;
43 ForestPond(int, char **);