Changeset 6742 in orxonox.OLD
- Timestamp:
- Jan 25, 2006, 10:48:18 PM (19 years ago)
- Location:
- branches/network/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/graphics_engine.h
r6522 r6742 22 22 class SubString; 23 23 class WorldEntity; 24 class GraphicsEffect; 24 25 25 26 //! class to handle graphics … … 82 83 void process(const Event &event); 83 84 85 void loadGraphicsEffect(GraphicsEffect* effect); 86 void unloadGraphicsEffect(GraphicsEffect* effect); 87 88 89 84 90 private: 85 91 GraphicsEngine(); … … 91 97 92 98 private: 93 static GraphicsEngine* singletonRef; //!< Pointer to the only instance of this Class94 bool isInit; //!< if the GraphicsEngine is initialized.99 static GraphicsEngine* singletonRef; //!< Pointer to the only instance of this Class 100 bool isInit; //!< if the GraphicsEngine is initialized. 95 101 96 102 // state. 97 SDL_Surface* screen; //!< the screen we draw to98 int resolutionX; //!< the X-resoultion of the screen99 int resolutionY; //!< the Y-resolution of the screen100 int bitsPerPixel; //!< the bits per pixels of the screen101 Uint32 fullscreenFlag; //!< if we are in fullscreen mode102 Uint32 videoFlags; //!< flags for video103 SDL_Rect** videoModes; //!< list of resolutions103 SDL_Surface* screen; //!< the screen we draw to 104 int resolutionX; //!< the X-resoultion of the screen 105 int resolutionY; //!< the Y-resolution of the screen 106 int bitsPerPixel; //!< the bits per pixels of the screen 107 Uint32 fullscreenFlag; //!< if we are in fullscreen mode 108 Uint32 videoFlags; //!< flags for video 109 SDL_Rect** videoModes; //!< list of resolutions 104 110 105 bool fogEnabled; //!< If Fog should be enabled.106 bool shadowsEnabled; //!< If Shadows should be enabled.107 bool particlesEnabled; //!< If particles should be enabled.108 int particlesValue; //!< How many particles109 int textureQuality; //!< the quality of Textures110 int filteringMethod; //!< The filtering Method of textures.111 int modelQuality; //!< The quality of the Models loaded.112 int antialiasingDepth; //!< the Depth of the AntiAlias-Filter.111 bool fogEnabled; //!< If Fog should be enabled. 112 bool shadowsEnabled; //!< If Shadows should be enabled. 113 bool particlesEnabled; //!< If particles should be enabled. 114 int particlesValue; //!< How many particles 115 int textureQuality; //!< the quality of Textures 116 int filteringMethod; //!< The filtering Method of textures. 117 int modelQuality; //!< The quality of the Models loaded. 118 int antialiasingDepth; //!< the Depth of the AntiAlias-Filter. 113 119 114 120 // HARDWARE-Settings: 115 char* hwRenderer; //!< HW-renderer-string116 char* hwVendor; //!< HW-vendor-string117 char* hwVersion; //!< HW-version-string118 SubString* hwExtensions; //!< All suported Extensions.121 char* hwRenderer; //!< HW-renderer-string 122 char* hwVendor; //!< HW-vendor-string 123 char* hwVersion; //!< HW-version-string 124 SubString* hwExtensions; //!< All suported Extensions. 119 125 120 126 // FPS-related 121 bool bDisplayFPS; //!< is true if the fps should be displayed 122 float currentFPS; //!< the current frame rate: frames per seconds 123 float maxFPS; //!< maximal frame rate we ever got since start of the game 124 float minFPS; //!< minimal frame rate we ever got since start. 127 bool bDisplayFPS; //!< is true if the fps should be displayed 128 float currentFPS; //!< the current frame rate: frames per seconds 129 float maxFPS; //!< maximal frame rate we ever got since start of the game 130 float minFPS; //!< minimal frame rate we ever got since start. 131 132 std::list<GraphicsEffect*> graphicsEffects; //!< list of graphics effects 133 125 134 126 135 #ifndef NO_TEXT -
branches/network/src/lib/network/synchronizeable.cc
r6695 r6742 35 35 { 36 36 this->setClassID(CL_SYNCHRONIZEABLE, "Synchronizeable"); 37 this->owner = 0;37 this->owner = -1; 38 38 this->state = 0; 39 39 this->hostID = SharedNetworkData::getInstance()->getHostID();
Note: See TracChangeset
for help on using the changeset viewer.