Mercurial > fife-parpg
changeset 444:79678719d569
* Fixed the sld typo. fixes[ticket:463]
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 24 Mar 2010 13:29:16 +0000 |
parents | ff36b24354c7 |
children | f855809822cf |
files | engine/core/controller/engine.i engine/core/controller/enginesettings.cpp engine/core/controller/enginesettings.h |
diffstat | 3 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/core/controller/engine.i Fri Mar 19 19:12:58 2010 +0000 +++ b/engine/core/controller/engine.i Wed Mar 24 13:29:16 2010 +0000 @@ -56,8 +56,8 @@ void setRenderBackend(const std::string& renderbackend); const std::string getRenderBackend() const; std::vector<std::string> getPossibleRenderBackends(); - void setSDLRemoveFakeAlpha(bool sldremovefakealpha); - bool isSDLRemoveFakeAlpha(bool sldremovefakealpha) const; + void setSDLRemoveFakeAlpha(bool sdlremovefakealpha); + bool isSDLRemoveFakeAlpha(bool sdlremovefakealpha) const; void setScreenWidth(unsigned int screenwidth); unsigned int getScreenWidth() const; void setScreenHeight(unsigned int screenheight);
--- a/engine/core/controller/enginesettings.cpp Fri Mar 19 19:12:58 2010 +0000 +++ b/engine/core/controller/enginesettings.cpp Wed Mar 24 13:29:16 2010 +0000 @@ -42,7 +42,7 @@ m_fullscreen(false), m_initialvolume(MAXIMUM_VOLUME / 2), m_renderbackend("SDL"), - m_sldremovefakealpha(false), + m_sdlremovefakealpha(false), m_screenwidth(800), m_screenheight(600), m_windowtitle("FIFE"), @@ -132,8 +132,8 @@ return tmp; } - void EngineSettings::setSDLRemoveFakeAlpha(bool sldremovefakealpha) { - m_sldremovefakealpha = sldremovefakealpha; + void EngineSettings::setSDLRemoveFakeAlpha(bool sdlremovefakealpha) { + m_sdlremovefakealpha = sdlremovefakealpha; } void EngineSettings::setScreenWidth(unsigned int screenwidth) {
--- a/engine/core/controller/enginesettings.h Fri Mar 19 19:12:58 2010 +0000 +++ b/engine/core/controller/enginesettings.h Wed Mar 24 13:29:16 2010 +0000 @@ -116,12 +116,12 @@ /** Sets if fake alpha is removed in SDL renderbackend */ - void setSDLRemoveFakeAlpha(bool sldremovefakealpha); + void setSDLRemoveFakeAlpha(bool sdlremovefakealpha); /** Tells if fake alpha is removed in SDL renderbackend */ - bool isSDLRemoveFakeAlpha(bool sldremovefakealpha) const { - return m_sldremovefakealpha; + bool isSDLRemoveFakeAlpha(bool sdlremovefakealpha) const { + return m_sdlremovefakealpha; } /** Sets screen width (pixels) @@ -227,7 +227,7 @@ bool m_fullscreen; float m_initialvolume; std::string m_renderbackend; - bool m_sldremovefakealpha; + bool m_sdlremovefakealpha; unsigned int m_screenwidth; unsigned int m_screenheight; std::string m_windowtitle;