comparison mm7_5.cpp @ 24:352b15291822

18.01.13 (PlaySound work)
author Ritor1
date Fri, 18 Jan 2013 17:30:54 +0600
parents 5070f4343e0e
children c261e0eea3c9
comparison
equal deleted inserted replaced
23:75d706037de4 24:352b15291822
3224 pCurrentScreen = 104; 3224 pCurrentScreen = 104;
3225 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, (enum WindowType)12, 5, 0); 3225 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, 640, 480, (enum WindowType)12, 5, 0);
3226 papredoll_dbrds[2] = pIcons_LOD->LoadTexture("BUTTEXI1", TEXTURE_16BIT_PALETTE); 3226 papredoll_dbrds[2] = pIcons_LOD->LoadTexture("BUTTEXI1", TEXTURE_16BIT_PALETTE);
3227 pBtn_ExitCancel = pGUIWindow_CurrentMenu->CreateButton(0x187u, 0x13Cu, 0x4Bu, 0x21u, v0, 0, 0x71u, 0, 0, 3227 pBtn_ExitCancel = pGUIWindow_CurrentMenu->CreateButton(0x187u, 0x13Cu, 0x4Bu, 0x21u, v0, 0, 0x71u, 0, 0,
3228 pGlobalTXT_LocalizationStrings[79],// "Exit" 3228 pGlobalTXT_LocalizationStrings[79],// "Exit"
3229 (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0), 0, v179); 3229 (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0), 0); //, v179);
3230 continue; 3230 continue;
3231 case 0x6B: 3231 case 0x6B:
3232 if ( pCurrentScreen ) 3232 if ( pCurrentScreen )
3233 { 3233 {
3234 pGUIWindow_CurrentMenu->Release(); 3234 pGUIWindow_CurrentMenu->Release();
12562 12562
12563 12563
12564 //----- (0040F82D) -------------------------------------------------------- 12564 //----- (0040F82D) --------------------------------------------------------
12565 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue) 12565 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue)
12566 { 12566 {
12567 ZBuffer_DoFill(pZBuffer, (Texture *)(uTextureId != -1 ? 72 * uTextureId + 0x6D084C : 0), iZValue); 12567 ZBuffer_DoFill(pZBuffer, (Texture *)(uTextureId != -1 ? (int)&pIcons_LOD->pTextures[uTextureId] : 0), iZValue);
12568 } 12568 }
12569 12569
12570 //----- (0040F845) -------------------------------------------------------- 12570 //----- (0040F845) --------------------------------------------------------
12571 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7) 12571 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7)
12572 { 12572 {