mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-13 02:39:37 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
532f8c502f
commit
d8102a8c67
3 changed files with 8 additions and 27 deletions
|
@ -1340,10 +1340,10 @@ void initMainLoop()
|
||||||
// init CSessionBrowserImpl
|
// init CSessionBrowserImpl
|
||||||
CSessionBrowserImpl::getInstance().init(CLuaManager::getInstance().getLuaState());
|
CSessionBrowserImpl::getInstance().init(CLuaManager::getInstance().getLuaState());
|
||||||
|
|
||||||
// active/desactive welcome window
|
// enable/disable welcome window
|
||||||
initWelcomeWindow();
|
initWelcomeWindow();
|
||||||
|
|
||||||
// active/desactive bloom config interface
|
// enable/disable bloom config interface
|
||||||
initBloomConfigUI();
|
initBloomConfigUI();
|
||||||
|
|
||||||
// popup to offer hardware cursor activation
|
// popup to offer hardware cursor activation
|
||||||
|
@ -1364,7 +1364,7 @@ void destroyLoadingBitmap ()
|
||||||
// Destroy the Loading Background.
|
// Destroy the Loading Background.
|
||||||
Driver->deleteTextureFile(LoadingBitmap);
|
Driver->deleteTextureFile(LoadingBitmap);
|
||||||
LoadingBitmap = NULL;
|
LoadingBitmap = NULL;
|
||||||
LoadingBitmapFilename = "";
|
LoadingBitmapFilename.clear();
|
||||||
LoadingMaterial.setTexture (0, NULL);
|
LoadingMaterial.setTexture (0, NULL);
|
||||||
}
|
}
|
||||||
if (LoadingBitmapFull && Driver)
|
if (LoadingBitmapFull && Driver)
|
||||||
|
|
|
@ -3034,7 +3034,7 @@ public:
|
||||||
|
|
||||||
// **** Init Texture Size Modes
|
// **** Init Texture Size Modes
|
||||||
// init the combo box, according to Texture Installed or not
|
// init the combo box, according to Texture Installed or not
|
||||||
pCB= dynamic_cast<CDBGroupComboBox*>(CWidgetManager::getInstance()->getElementFromId( GAME_CONFIG_TEXTURE_MODE_COMBO ));
|
pCB = dynamic_cast<CDBGroupComboBox*>(CWidgetManager::getInstance()->getElementFromId( GAME_CONFIG_TEXTURE_MODE_COMBO ));
|
||||||
if( pCB )
|
if( pCB )
|
||||||
{
|
{
|
||||||
pCB->resetTexts();
|
pCB->resetTexts();
|
||||||
|
@ -3050,6 +3050,7 @@ public:
|
||||||
{
|
{
|
||||||
pBut->setPushed(ClientCfg.VREnable);
|
pBut->setPushed(ClientCfg.VREnable);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateVRDevicesComboUI(ClientCfg.VREnable);
|
updateVRDevicesComboUI(ClientCfg.VREnable);
|
||||||
|
|
||||||
// init the mode in DB
|
// init the mode in DB
|
||||||
|
@ -3060,6 +3061,7 @@ public:
|
||||||
texMode= HighTextureMode;
|
texMode= HighTextureMode;
|
||||||
else
|
else
|
||||||
texMode= NormalTextureMode;
|
texMode= NormalTextureMode;
|
||||||
|
|
||||||
// -1 is important to indicate we set this value in edit mode
|
// -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(-1);
|
||||||
NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_TEXTURE_MODE_DB )->setValue32(texMode);
|
NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_TEXTURE_MODE_DB )->setValue32(texMode);
|
||||||
|
@ -3485,7 +3487,7 @@ class CHandlerGameConfigApply : public IActionHandler
|
||||||
|
|
||||||
// *** Apply the language code
|
// *** Apply the language code
|
||||||
// only if not in "work" language mode (else strange requestReboot)
|
// only if not in "work" language mode (else strange requestReboot)
|
||||||
if(ClientCfg.LanguageCode!="wk")
|
if (ClientCfg.LanguageCode!="wk")
|
||||||
{
|
{
|
||||||
sint newOne = NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_LANGUAGE )->getValue32();
|
sint newOne = NLGUI::CDBManager::getInstance()->getDbProp( GAME_CONFIG_LANGUAGE )->getValue32();
|
||||||
//string newVal = (newOne==2)?"de":(newOne==1)?"fr":"en";
|
//string newVal = (newOne==2)?"de":(newOne==1)?"fr":"en";
|
||||||
|
|
|
@ -59,30 +59,9 @@ void displayDebugUIUnderMouse();
|
||||||
void inGamePatchUncompleteWarning();
|
void inGamePatchUncompleteWarning();
|
||||||
|
|
||||||
|
|
||||||
// active/desactive bloom config interface
|
// enable/disable bloom config interface
|
||||||
void initBloomConfigUI();
|
void initBloomConfigUI();
|
||||||
|
|
||||||
#endif // CL_MAIN_LOOP_H
|
#endif // CL_MAIN_LOOP_H
|
||||||
|
|
||||||
/* End of main_loop.h */
|
/* End of main_loop.h */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue