# HG changeset patch # User helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1269437356 0 # Node ID 79678719d56999845c53ae519686a6706aa25098 # Parent ff36b24354c7c2d4ec2c2df2ab331dd022d6e321 * Fixed the sld typo. fixes[ticket:463] diff -r ff36b24354c7 -r 79678719d569 engine/core/controller/engine.i --- 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 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); diff -r ff36b24354c7 -r 79678719d569 engine/core/controller/enginesettings.cpp --- 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) { diff -r ff36b24354c7 -r 79678719d569 engine/core/controller/enginesettings.h --- 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;