22 #ifndef FIFE_ENGINESETTINGS_H
23 #define FIFE_ENGINESETTINGS_H
34 #include "util/base/exception.h"
60 return m_bitsperpixel;
70 m_fullscreen = fullscreen;
87 return m_initialvolume;
102 return m_renderbackend;
108 return m_renderbackend;
122 return m_sdlremovefakealpha;
132 return m_oglcompressimages;
142 return m_ogluseframebuffer;
162 return m_screenwidth;
172 return m_screenheight;
182 return m_defaultfontpath;
188 return m_defaultfontpath;
198 return m_defaultfontsize;
208 return m_defaultfontglyphs;
214 return m_defaultfontglyphs;
224 return m_windowtitle;
230 return m_windowtitle;
265 void setVideoDriver(
const std::string& driver);
267 const std::string& getVideoDriver()
const;
314 uint8_t m_bitsperpixel;
316 float m_initialvolume;
317 std::string m_renderbackend;
318 bool m_sdlremovefakealpha;
319 bool m_oglcompressimages;
320 bool m_ogluseframebuffer;
322 uint16_t m_screenwidth;
323 uint16_t m_screenheight;
324 std::string m_windowtitle;
325 std::string m_windowicon;
328 std::string m_defaultfontpath;
329 uint16_t m_defaultfontsize;
330 std::string m_defaultfontglyphs;
331 bool m_iscolorkeyenabled;
332 SDL_Color m_colorkey;
333 std::string m_videodriver;
336 uint16_t m_framelimit;
337 float m_mousesensitivity;
338 bool m_mouseacceleration;
std::string getDefaultFontGlyphs()
void setDefaultFontSize(uint16_t defaultfontsize)
bool getMouseAcceleration() const
float getMaxVolume() const
std::string getDefaultFontPath()
bool isColorKeyEnabled() const
void setMouseAcceleration(bool acceleration)
void setGLUseFramebuffer(bool ogluseframebuffer)
void setFrameLimitEnabled(bool limited)
void setInitialVolume(float volume)
void setSDLRemoveFakeAlpha(bool sdlremovefakealpha)
void setDefaultFontGlyphs(const std::string &defaultfontglyphs)
void setMouseSensitivity(float sens)
bool isFrameLimitEnabled() const
std::string getWindowIcon()
void setFullScreen(bool fullscreen)
uint16_t getDefaultFontSize() const
uint16_t getScreenHeight() const
void setColorKeyEnabled(bool colorkeyenable)
const SDL_Color & getColorKey() const
const std::string & getWindowTitle() const
void setGLCompressImages(bool oglcompressimages)
uint16_t getScreenWidth() const
void setWindowTitle(const std::string &title)
float getMouseSensitivity() const
void setDefaultFontPath(const std::string &defaultfontpath)
bool isGLCompressImages() const
void setScreenHeight(uint16_t screenheight)
const std::string & getDefaultFontPath() const
float getInitialVolume() const
void setFrameLimit(uint16_t framelimit)
std::string getWindowTitle()
const std::string & getRenderBackend() const
uint8_t getBitsPerPixel() const
void setRenderBackend(const std::string &renderbackend)
void setScreenWidth(uint16_t screenwidth)
void setColorKey(uint8_t r, uint8_t g, uint8_t b)
std::vector< uint8_t > getPossibleBitsPerPixel() const
bool isSDLRemoveFakeAlpha() const
uint16_t getFrameLimit() const
bool isGLUseFramebuffer() const
void setGLUseNPOT(bool oglusenpot)
bool isFullScreen() const
void setBitsPerPixel(uint8_t bitsperpixel)
void setLightingModel(uint32_t lighting)
void setWindowIcon(const std::string &icon)
uint32_t getLightingModel() const
const std::string & getWindowIcon() const
std::string getRenderBackend()
const std::string & getDefaultFontGlyphs() const
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...
std::vector< std::string > getPossibleRenderBackends()