Mercurial > mm7
comparison mm7_5.cpp @ 697:2dfb67633b01
GUIButton Release
Allocator BigMemory fix?
author | zipi |
---|---|
date | Sun, 17 Mar 2013 14:25:00 +0000 |
parents | e0a1fccc89b1 |
children | d5b16a44d9b3 a5ee769b02c6 |
comparison
equal
deleted
inserted
replaced
696:4e1b2a24a6e3 | 697:2dfb67633b01 |
---|---|
3047 //LABEL_709: | 3047 //LABEL_709: |
3048 dword_506544 = v0; | 3048 dword_506544 = v0; |
3049 continue; | 3049 continue; |
3050 case UIMSG_55: | 3050 case UIMSG_55: |
3051 bRingsShownInCharScreen ^= v0; | 3051 bRingsShownInCharScreen ^= v0; |
3052 GUIButton::_41D0D8(pCharacterScreen_DetalizBtn); | 3052 pCharacterScreen_DetalizBtn->Release(); |
3053 GUIButton::_41D0D8(pCharacterScreen_DollBtn); | 3053 pCharacterScreen_DollBtn->Release(); |
3054 if ( bRingsShownInCharScreen ) | 3054 if ( bRingsShownInCharScreen ) |
3055 { | 3055 { |
3056 v128 = (uTextureID_5118C8 != -1 ? pIcons_LOD->pTextures[uTextureID_5118C8].uTextureHeight : 26); | 3056 v128 = (uTextureID_5118C8 != -1 ? pIcons_LOD->pTextures[uTextureID_5118C8].uTextureHeight : 26); |
3057 v125 = (uTextureID_5118C8 != -1 ? pIcons_LOD->pTextures[uTextureID_5118C8].uTextureWidth : 24); | 3057 v125 = (uTextureID_5118C8 != -1 ? pIcons_LOD->pTextures[uTextureID_5118C8].uTextureWidth : 24); |
3058 v123 = 445; | 3058 v123 = 445; |
17445 GUIButton *i; // esi@2 | 17445 GUIButton *i; // esi@2 |
17446 | 17446 |
17447 if ( dword_507CBC ) | 17447 if ( dword_507CBC ) |
17448 { | 17448 { |
17449 dword_507CBC = 0; | 17449 dword_507CBC = 0; |
17450 GUIButton::_41D0D8(ptr_507BA4); | 17450 ptr_507BA4->Release(); |
17451 GUIButton::_41D0D8(pBtn_Up); | 17451 pBtn_Up->Release(); |
17452 GUIButton::_41D0D8(pBtn_Down); | 17452 pBtn_Down->Release(); |
17453 pBtn_Down = 0; | 17453 pBtn_Down = 0; |
17454 pBtn_Up = 0; | 17454 pBtn_Up = 0; |
17455 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = i->pNext ) | 17455 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = i->pNext ) |
17456 { | 17456 { |
17457 if ( i->uControlID == 120 ) | 17457 if ( i->uControlID == 120 ) |