equal
deleted
inserted
replaced
1 #ifndef GRAPHICS_GRAPHICS_HH |
1 #ifndef GRAPHICS_GRAPHICS_HH |
2 #define GRAPHICS_GRAPHICS_HH |
2 #define GRAPHICS_GRAPHICS_HH |
|
3 |
|
4 namespace graphics |
|
5 { |
|
6 |
|
7 class Graphics; |
|
8 |
|
9 } |
3 |
10 |
4 #include "../Engine.hh" |
11 #include "../Engine.hh" |
5 #include "Display.hh" |
12 #include "Display.hh" |
6 #include "FontManager.hh" |
13 #include "FontManager.hh" |
7 #include "GameView.hh" |
14 #include "GameView.hh" |
18 * Our reference to the engine |
25 * Our reference to the engine |
19 */ |
26 */ |
20 Engine &engine; |
27 Engine &engine; |
21 |
28 |
22 /** |
29 /** |
|
30 * Our primary display |
|
31 */ |
|
32 Display display; |
|
33 |
|
34 /** |
23 * For loading fonts |
35 * For loading fonts |
24 */ |
36 */ |
25 FontManager fonts; |
37 FontManager fonts; |
26 |
38 |
27 /** |
|
28 * Our primary display |
|
29 */ |
|
30 Display display; |
|
31 |
|
32 /** |
39 /** |
33 * Initialize the graphics subsystem |
40 * Initialize the graphics subsystem |
34 */ |
41 */ |
35 Graphics (Engine &engine, CL_ResourceManager &resources, const DisplayConfig &display_config); |
42 Graphics (Engine &engine, CL_ResourceManager &resources, const DisplayConfig &display_config); |
36 |
43 |