comparison mm7_2.cpp @ 1405:c0b273d33338

RemoveTexturesPackFromTextureList and RemoveTexturesFromTextureList
author Ritor1
date Mon, 22 Jul 2013 15:23:43 +0600
parents 7cc3b01a92ac
children 204cce84300b 468f434a8d8a
comparison
equal deleted inserted replaced
1404:7cc3b01a92ac 1405:c0b273d33338
3473 3473
3474 if (GetCurrentMenuID() != MENU_MAIN) 3474 if (GetCurrentMenuID() != MENU_MAIN)
3475 { 3475 {
3476 if (GetCurrentMenuID() == MENU_LoadingProcInMainMenu) 3476 if (GetCurrentMenuID() == MENU_LoadingProcInMainMenu)
3477 { 3477 {
3478 pIcons_LOD->ClearTextureList(); 3478 pIcons_LOD->RemoveTexturesPackFromTextureList();
3479 pGUIWindow_CurrentMenu->Release(); 3479 pGUIWindow_CurrentMenu->Release();
3480 pGUIWindow_CurrentMenu = 0; 3480 pGUIWindow_CurrentMenu = 0;
3481 pCurrentScreen = SCREEN_GAME; 3481 pCurrentScreen = SCREEN_GAME;
3482 viewparams->bRedrawGameUI = 1; 3482 viewparams->bRedrawGameUI = 1;
3483 } 3483 }
3532 { 3532 {
3533 pGUIWindow2->Release(); 3533 pGUIWindow2->Release();
3534 pGUIWindow2 = 0; 3534 pGUIWindow2 = 0;
3535 } 3535 }
3536 pWindow_MainMenu->Release(); 3536 pWindow_MainMenu->Release();
3537 pIcons_LOD->ClearTextureList(); 3537 pIcons_LOD->RemoveTexturesPackFromTextureList();
3538 } 3538 }
3539 3539
3540 //----- (004637EB) -------------------------------------------------------- 3540 //----- (004637EB) --------------------------------------------------------
3541 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam) 3541 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam)
3542 { 3542 {