Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5346 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.h


Ignore:
Timestamp:
Oct 10, 2005, 1:17:11 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: code-renice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.h

    r5261 r5346  
    8383
    8484  public:
    85     static bool             texturesEnabled; //!< if textures should be enabled (globally)
     85    static bool             texturesEnabled;    //!< if textures should be enabled (globally)
    8686
    8787
    8888  private:
    89     static GraphicsEngine*  singletonRef;    //!< Pointer to the only instance of this Class
    90     bool                    isInit;          //!< if the GraphicsEngine is initialized.
     89    static GraphicsEngine*  singletonRef;       //!< Pointer to the only instance of this Class
     90    bool                    isInit;             //!< if the GraphicsEngine is initialized.
    9191
    92     SDL_Surface*            screen;          //!< the screen we draw to
    93     int                     resolutionX;     //!< the X-resoultion of the screen
    94     int                     resolutionY;     //!< the Y-resolution of the screen
    95     int                     bitsPerPixel;    //!< the bits per pixels of the screen
    96     Uint32                  fullscreenFlag;  //!< if we are in fullscreen mode
    97     Uint32                  videoFlags;      //!< flags for video
    98     SDL_Rect**              videoModes;      //!< list of resolutions
     92    // state.
     93    SDL_Surface*            screen;             //!< the screen we draw to
     94    int                     resolutionX;        //!< the X-resoultion of the screen
     95    int                     resolutionY;        //!< the Y-resolution of the screen
     96    int                     bitsPerPixel;       //!< the bits per pixels of the screen
     97    Uint32                  fullscreenFlag;     //!< if we are in fullscreen mode
     98    Uint32                  videoFlags;         //!< flags for video
     99    SDL_Rect**              videoModes;         //!< list of resolutions
    99100
    100     bool                    bDisplayFPS;     //!< is true if the fps should be displayed
    101     float                   currentFPS;      //!< the current frame rate: frames per seconds
    102     float                   maxFPS;          //!< maximal frame rate we ever got since start of the game
    103     float                   minFPS;          //!< minimal frame rate we ever got since start
     101    bool                    fogEnabled;         //!< If Fog should be enabled.
     102    bool                    shadowsEnabled;     //!< If Shadows should be enabled.
     103    bool                    particlesEnabled;   //!< If particles should be enabled.
     104    int                     particlesValue;     //!< How many particles
     105    int                     textureQuality;     //!< the quality of Textures
     106    int                     filteringMethod;    //!< The filtering Method of textures.
     107    int                     modelQuality;       //!< The quality of the Models loaded.
     108    int                     antialiasingDepth;  //!< the Depth of the AntiAlias-Filter.
    104109
    105110    // HARDWARE-Settings:
    106     char*                   hwRenderer;
    107     char*                   hwVendor;
    108     char*                   hwVersion;
    109     SubString*              hwExtensions;
     111    char*                   hwRenderer;         //!< HW-renderer-string
     112    char*                   hwVendor;           //!< HW-vendor-string
     113    char*                   hwVersion;          //!< HW-version-string
     114    SubString*              hwExtensions;       //!< All suported Extensions.
     115
     116    // FPS-related
     117    bool                    bDisplayFPS;        //!< is true if the fps should be displayed
     118    float                   currentFPS;         //!< the current frame rate: frames per seconds
     119    float                   maxFPS;             //!< maximal frame rate we ever got since start of the game
     120    float                   minFPS;             //!< minimal frame rate we ever got since start.
    110121
    111122#ifndef NO_TEXT
    112   Text*          geTextCFPS;      //!< Text for the current FPS
    113   Text*          geTextMaxFPS;    //!< Text for the max FPS
    114   Text*          geTextMinFPS;    //!< Text for the min FPS
     123  Text*          geTextCFPS;                    //!< Text for the current FPS
     124  Text*          geTextMaxFPS;                  //!< Text for the max FPS
     125  Text*          geTextMinFPS;                  //!< Text for the min FPS
    115126#endif /* NO_TEXT */
    116127};
Note: See TracChangeset for help on using the changeset viewer.