summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 17:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 17:59:57 +0300
commitf315432679f760b71505e74dcb2185b7aef7a906 (patch)
tree07d45620464a2542cb28fbe773f652501e6ee6fb /src/client.cpp
parentcccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff)
downloadmanaverse-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz
manaverse-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2
manaverse-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz
manaverse-f315432679f760b71505e74dcb2185b7aef7a906.zip
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/client.cpp b/src/client.cpp
index bba942e7d..a14e36198 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -313,7 +313,7 @@ Client::Client(const Options &options) :
mButtonSpacing(3),
mKeyboardHeight(0),
mOldUpdates(),
- mGuiAlpha(1.0f),
+ mGuiAlpha(1.0F),
mLimitFps(false),
mConfigAutoSaved(false),
mIsMinimized(false),
@@ -601,12 +601,12 @@ void Client::gameInit()
OpenGLImageHelper::setBlur(config.getBoolValue("blur"));
SurfaceImageHelper::SDLSetEnableAlphaCache(
config.getBoolValue("alphaCache") && !openGLMode);
- ImageHelper::setEnableAlpha(config.getFloatValue("guialpha") != 1.0f
+ ImageHelper::setEnableAlpha(config.getFloatValue("guialpha") != 1.0F
|| openGLMode);
#else
SurfaceImageHelper::SDLSetEnableAlphaCache(
config.getBoolValue("alphaCache"));
- ImageHelper::setEnableAlpha(config.getFloatValue("guialpha") != 1.0f);
+ ImageHelper::setEnableAlpha(config.getFloatValue("guialpha") != 1.0F);
#endif
logVars();
Cpu::detect();
@@ -1310,7 +1310,7 @@ int Client::gameExec()
{
// Don't allow an alpha opacity
// lower than the default value
- Theme::instance()->setMinimumOpacity(0.8f);
+ Theme::instance()->setMinimumOpacity(0.8F);
mCurrentDialog = new ServerDialog(&mCurrentServer,
mConfigDir);
@@ -1350,7 +1350,7 @@ int Client::gameExec()
logger->log1("State: LOGIN");
// Don't allow an alpha opacity
// lower than the default value
- Theme::instance()->setMinimumOpacity(0.8f);
+ Theme::instance()->setMinimumOpacity(0.8F);
loginData.updateType
= serverConfig.getValue("updateType", 1);
@@ -1547,7 +1547,7 @@ int Client::gameExec()
logger->log1("State: CHAR SELECT");
// Don't allow an alpha opacity
// lower than the default value
- Theme::instance()->setMinimumOpacity(0.8f);
+ Theme::instance()->setMinimumOpacity(0.8F);
mCurrentDialog = new CharSelectDialog(&loginData);
@@ -1613,7 +1613,7 @@ int Client::gameExec()
soundManager.fadeOutMusic(1000);
// Allow any alpha opacity
- Theme::instance()->setMinimumOpacity(-1.0f);
+ Theme::instance()->setMinimumOpacity(-1.0F);
if (chatLogger)
chatLogger->setServerName(mServerName);
@@ -1870,7 +1870,7 @@ void Client::optionChanged(const std::string &name)
{
const float alpha = config.getFloatValue("guialpha");
setGuiAlpha(alpha);
- ImageHelper::setEnableAlpha(alpha != 1.0f);
+ ImageHelper::setEnableAlpha(alpha != 1.0F);
}
else if (name == "gamma" || name == "enableGamma")
{
@@ -2157,7 +2157,7 @@ void Client::initConfiguration() const
#endif
config.setValue("screen", false);
config.setValue("sound", true);
- config.setValue("guialpha", 0.8f);
+ config.setValue("guialpha", 0.8F);
// config.setValue("remember", true);
config.setValue("sfxVolume", 100);
config.setValue("musicVolume", 60);