Mercurial > mm7
comparison Chest.cpp @ 948:5a2dbb00c399
Code cleaning.
author | Nomad |
---|---|
date | Wed, 01 May 2013 17:31:10 +0200 |
parents | 0d96349d8c87 |
children | 9e132060ada3 |
comparison
equal
deleted
inserted
replaced
947:99aa9c8464cf | 948:5a2dbb00c399 |
---|---|
237 if ( !dword_507CD8 ) | 237 if ( !dword_507CD8 ) |
238 pPlayers[uActiveCharacter]->PlaySound(SPEECH_4, 0); | 238 pPlayers[uActiveCharacter]->PlaySound(SPEECH_4, 0); |
239 } | 239 } |
240 dword_507CD8 = 0; | 240 dword_507CD8 = 0; |
241 | 241 |
242 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640u, 480u, WINDOW_Chest, uChestID, 0); | 242 pChestWindow = pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_Chest, uChestID, 0); |
243 pChestWindow = pGUIWindow_CurrentMenu; | 243 |
244 pBtn_ExitCancel = pChestWindow->CreateButton(0x1D7u, 0x1BDu, 0xA9u, 0x23u, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[79],// Exit | 244 pBtn_ExitCancel = pChestWindow->CreateButton(471, 445, 169, 35, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[79], pIcons_LOD->GetTexture(uExitCancelTextureId), 0);// Exit |
245 pIcons_LOD->GetTexture(uExitCancelTextureId), 0); | 245 pChestWindow->CreateButton( 7, 8, 460, 343, 1, 0, UIMSG_C, 0, 0, "", 0); |
246 pChestWindow->CreateButton(7u, 8u, 460u, 343u, 1, 0, UIMSG_C, 0, 0, "", 0); | 246 |
247 pCurrentScreen = SCREEN_CHEST; | 247 pCurrentScreen = SCREEN_CHEST; |
248 pEventTimer->Pause(); | 248 pEventTimer->Pause(); |
249 return 1; | 249 return 1; |
250 } | 250 } |
251 | 251 |