Mercurial > mm7
diff GUI/GUIWindow.cpp @ 2550:fb42e2662c38
Chest UI refactored to a class
author | a.parshin |
---|---|
date | Tue, 12 May 2015 11:28:22 +0200 |
parents | 3121fb54a110 |
children | 4008b2f34be0 |
line wrap: on
line diff
--- a/GUI/GUIWindow.cpp Tue May 12 11:07:32 2015 +0200 +++ b/GUI/GUIWindow.cpp Tue May 12 11:28:22 2015 +0200 @@ -1314,23 +1314,6 @@ GameUI_DrawBranchlessDialogue(); } -void GUIWindow_Chest::Update() -{ -// ----------------------------------- -// 004156F0 GUI_UpdateWindows --- part - if (current_screen_type == SCREEN_CHEST) - { - Chest::DrawChestUI(par1C); - } - else if (current_screen_type == SCREEN_CHEST_INVENTORY) - { - pRenderer->ClearZBuffer(0, 479); - draw_leather(); - CharacterUI_InventoryTab_Draw(pPlayers[uActiveCharacter], true); - pRenderer->DrawTextureIndexed(pBtn_ExitCancel->uX, pBtn_ExitCancel->uY, pIcons_LOD->GetTexture(uExitCancelTextureId)); - } -} - void GUIWindow_House::Update() { // -----------------------------------