diff 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
line wrap: on
line diff
--- a/engine/core/controller/enginesettings.h	Thu Oct 07 16:44:44 2010 +0000
+++ b/engine/core/controller/enginesettings.h	Thu Oct 07 18:37:02 2010 +0000
@@ -210,6 +210,10 @@
 		 */
 		const SDL_Color& getColorKey() const;
 
+		void setVideoDriver(const std::string& driver);
+
+		const std::string& getVideoDriver() const;
+
 	private:
 		uint8_t m_bitsperpixel;
 		bool m_fullscreen;
@@ -227,6 +231,7 @@
 		std::string m_defaultfontglyphs;
 		bool m_iscolorkeyenabled;
 		SDL_Color m_colorkey;
+		std::string m_videodriver;
 	};
 
 }//FIFE