comparison Chest.cpp @ 2215:e9625ad08541

fog fix and change 640,480 - window->GetWidth(), window->GetHeight()
author Ritor1
date Fri, 14 Feb 2014 18:08:30 +0600
parents e1e4a8a20b5f
children aff7a7b072b7
comparison
equal deleted inserted replaced
2214:20995bb8895a 2215:e9625ad08541
181 { 181 {
182 if ( !OpenedTelekinesis ) 182 if ( !OpenedTelekinesis )
183 pPlayers[uActiveCharacter]->PlaySound(SPEECH_4, 0); 183 pPlayers[uActiveCharacter]->PlaySound(SPEECH_4, 0);
184 } 184 }
185 OpenedTelekinesis = false; 185 OpenedTelekinesis = false;
186 pChestWindow = pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_Chest, uChestID, 0); 186 pChestWindow = pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_Chest, uChestID, 0);
187 pBtn_ExitCancel = pChestWindow->CreateButton(471, 445, 169, 35, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[79], pIcons_LOD->GetTexture(uExitCancelTextureId), 0);// Exit 187 pBtn_ExitCancel = pChestWindow->CreateButton(471, 445, 169, 35, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[79], pIcons_LOD->GetTexture(uExitCancelTextureId), 0);// Exit
188 pChestWindow->CreateButton( 7, 8, 460, 343, 1, 0, UIMSG_CHEST_ClickItem, 0, 0, "", 0); 188 pChestWindow->CreateButton( 7, 8, 460, 343, 1, 0, UIMSG_CHEST_ClickItem, 0, 0, "", 0);
189 pCurrentScreen = SCREEN_CHEST; 189 pCurrentScreen = SCREEN_CHEST;
190 pEventTimer->Pause(); 190 pEventTimer->Pause();
191 return true; 191 return true;