Changed: Minor changes

This commit is contained in:
kervala 2015-12-02 18:55:31 +01:00
parent 5a4f7a3757
commit e96f954a87
3 changed files with 8 additions and 27 deletions

View file

@ -1340,10 +1340,10 @@ void initMainLoop()
// init CSessionBrowserImpl
CSessionBrowserImpl::getInstance().init(CLuaManager::getInstance().getLuaState());
// active/desactive welcome window
// enable/disable welcome window
initWelcomeWindow();
// active/desactive bloom config interface
// enable/disable bloom config interface
initBloomConfigUI();
// popup to offer hardware cursor activation
@ -1364,7 +1364,7 @@ void destroyLoadingBitmap ()
// Destroy the Loading Background.
Driver->deleteTextureFile(LoadingBitmap);
LoadingBitmap = NULL;
LoadingBitmapFilename = "";
LoadingBitmapFilename.clear();
LoadingMaterial.setTexture (0, NULL);
}
if (LoadingBitmapFull && Driver)

View file

@ -3050,6 +3050,7 @@ public:
{
pBut->setPushed(ClientCfg.VREnable);
}
updateVRDevicesComboUI(ClientCfg.VREnable);
// init the mode in DB
@ -3060,6 +3061,7 @@ public:
texMode= HighTextureMode;
else
texMode= NormalTextureMode;
// -1 is important to indicate we set this value in edit mode
NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_TEXTURE_MODE_DB )->setValue32(-1);
NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_TEXTURE_MODE_DB )->setValue32(texMode);

View file

@ -59,30 +59,9 @@ void displayDebugUIUnderMouse();
void inGamePatchUncompleteWarning();
// active/desactive bloom config interface
// enable/disable bloom config interface
void initBloomConfigUI();
#endif // CL_MAIN_LOOP_H
/* End of main_loop.h */