comparison engine/core/controller/enginesettings.h @ 640:855ad500f991

* Added the ability to set/get the video driver used using the settings interface. Note that the default driver for the OS will be used unless explicitly specified.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 07 Oct 2010 18:37:02 +0000
parents a7909cdcdc85
children 51bbda7676f0
comparison
equal deleted inserted replaced
639:685d250f2c2d 640:855ad500f991
208 208
209 /** Gets the global colorkey setting 209 /** Gets the global colorkey setting
210 */ 210 */
211 const SDL_Color& getColorKey() const; 211 const SDL_Color& getColorKey() const;
212 212
213 void setVideoDriver(const std::string& driver);
214
215 const std::string& getVideoDriver() const;
216
213 private: 217 private:
214 uint8_t m_bitsperpixel; 218 uint8_t m_bitsperpixel;
215 bool m_fullscreen; 219 bool m_fullscreen;
216 float m_initialvolume; 220 float m_initialvolume;
217 std::string m_renderbackend; 221 std::string m_renderbackend;
225 std::string m_defaultfontpath; 229 std::string m_defaultfontpath;
226 uint16_t m_defaultfontsize; 230 uint16_t m_defaultfontsize;
227 std::string m_defaultfontglyphs; 231 std::string m_defaultfontglyphs;
228 bool m_iscolorkeyenabled; 232 bool m_iscolorkeyenabled;
229 SDL_Color m_colorkey; 233 SDL_Color m_colorkey;
234 std::string m_videodriver;
230 }; 235 };
231 236
232 }//FIFE 237 }//FIFE
233 238
234 #endif 239 #endif