Changeset 5346 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.h
- Timestamp:
- Oct 10, 2005, 1:17:11 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.h
r5261 r5346 83 83 84 84 public: 85 static bool texturesEnabled; //!< if textures should be enabled (globally)85 static bool texturesEnabled; //!< if textures should be enabled (globally) 86 86 87 87 88 88 private: 89 static GraphicsEngine* singletonRef; //!< Pointer to the only instance of this Class90 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. 91 91 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 99 100 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. 104 109 105 110 // 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. 110 121 111 122 #ifndef NO_TEXT 112 Text* geTextCFPS; //!< Text for the current FPS113 Text* geTextMaxFPS; //!< Text for the max FPS114 Text* geTextMinFPS; //!< Text for the min FPS123 Text* geTextCFPS; //!< Text for the current FPS 124 Text* geTextMaxFPS; //!< Text for the max FPS 125 Text* geTextMinFPS; //!< Text for the min FPS 115 126 #endif /* NO_TEXT */ 116 127 };
Note: See TracChangeset
for help on using the changeset viewer.