]> git.localhorst.tv Git - gong.git/blob - src/app/Environment.hpp
code, assets, and other stuff stolen from blank
[gong.git] / src / app / Environment.hpp
1 #ifndef GONG_APP_ENVIRONMENT_HPP_
2 #define GONG_APP_ENVIRONMENT_HPP_
3
4 #include "Assets.hpp"
5 #include "HeadlessEnvironment.hpp"
6 #include "MessageState.hpp"
7 #include "../audio/Audio.hpp"
8 #include "../graphics/Viewport.hpp"
9
10
11 namespace gong {
12 namespace app {
13
14 class Window;
15
16
17 struct Environment
18 : public HeadlessEnvironment {
19
20         Assets assets;
21
22         audio::Audio audio;
23         graphics::Viewport viewport;
24         Window &window;
25
26         MessageState msg_state;
27
28
29         Environment(Window &win, const Config &);
30
31         void ShowMessage(const char *);
32
33 };
34
35 }
36 }
37
38 #endif