src/Graphics/Graphics.hh
branchnew_graphics
changeset 412 721c60072091
parent 411 106aaf6eadfe
child 413 7dddc163489a
equal deleted inserted replaced
411:106aaf6eadfe 412:721c60072091
     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