comparison mm7_4.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
10701 pDialogueWindow->Release(); 10701 pDialogueWindow->Release();
10702 } 10702 }
10703 else 10703 else
10704 { 10704 {
10705 for ( i = 0; i < uNumDialogueNPCPortraits; ++i ) 10705 for ( i = 0; i < uNumDialogueNPCPortraits; ++i )
10706 GUIButton::_41D0D8((GUIButton *)HouseNPCData[i + 7]); 10706 ((GUIButton *)HouseNPCData[i + 7])->Release();
10707 } 10707 }
10708 pDialogueWindow = GUIWindow::Create(0, 0, 640, 0x159u, WINDOW_MainMenu, 0, 0); 10708 pDialogueWindow = GUIWindow::Create(0, 0, 640, 0x159u, WINDOW_MainMenu, 0, 0);
10709 pBtn_ExitCancel = pDialogueWindow->CreateButton( 471u, 445u, 169u, 35u, 1, 0, 0x71u, 0, 0, 10709 pBtn_ExitCancel = pDialogueWindow->CreateButton( 471u, 445u, 169u, 35u, 1, 0, 0x71u, 0, 0,
10710 pGlobalTXT_LocalizationStrings[74],// "End Conversation" 10710 pGlobalTXT_LocalizationStrings[74],// "End Conversation"
10711 (Texture *)(uExitCancelTextureId != -1 ? (int)&pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0); 10711 (Texture *)(uExitCancelTextureId != -1 ? (int)&pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0);