comparison mm7_5.cpp @ 573:7c0763248a87

.
author Nomad
date Wed, 06 Mar 2013 06:41:05 +0200
parents 5eb2c6286c49
children f90753ebabe3
comparison
equal deleted inserted replaced
569:f451efdb7c8b 573:7c0763248a87
5269 { 5269 {
5270 v33 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * pMonster->uActorRadius : pMonster->uActorRadius; 5270 v33 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * pMonster->uActorRadius : pMonster->uActorRadius;
5271 //v55 = v33; 5271 //v55 = v33;
5272 if ( pRenderer->pRenderD3D ) 5272 if ( pRenderer->pRenderD3D )
5273 { 5273 {
5274 if ( pGame->uFlags2 & 0x20 ) 5274 if ( pGame->uFlags2 & GAME_FLAGS_2_DRAW_BLOODSPLATS )
5275 { 5275 {
5276 v50 = 0; 5276 v50 = 0;
5277 pMonsterName = 0; 5277 pMonsterName = 0;
5278 v34 = pMonster->vPosition.z; 5278 v34 = pMonster->vPosition.z;
5279 *(float *)&pPlayerName = (double)v33; 5279 *(float *)&pPlayerName = (double)v33;
5592 { 5592 {
5593 v27 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * v7->uActorRadius : v7->uActorRadius; 5593 v27 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * v7->uActorRadius : v7->uActorRadius;
5594 v74 = v27; 5594 v74 = v27;
5595 if ( pRenderer->pRenderD3D ) 5595 if ( pRenderer->pRenderD3D )
5596 { 5596 {
5597 if ( pGame->uFlags2 & 0x20 ) 5597 if ( pGame->uFlags2 & GAME_FLAGS_2_DRAW_BLOODSPLATS )
5598 { 5598 {
5599 v28 = (double)v74; 5599 v28 = (double)v74;
5600 v74 = v7->vPosition.z; 5600 v74 = v7->vPosition.z;
5601 v29 = (double)v74; 5601 v29 = (double)v74;
5602 v74 = v7->vPosition.y; 5602 v74 = v7->vPosition.y;
5778 { 5778 {
5779 v57 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * v44->uActorRadius : v44->uActorRadius; 5779 v57 = byte_4D864C && BYTE2(pGame->uFlags) & 8 ? 10 * v44->uActorRadius : v44->uActorRadius;
5780 v75 = v57; 5780 v75 = v57;
5781 if ( pRenderer->pRenderD3D ) 5781 if ( pRenderer->pRenderD3D )
5782 { 5782 {
5783 if ( pGame->uFlags2 & 0x20 ) 5783 if ( pGame->uFlags2 & GAME_FLAGS_2_DRAW_BLOODSPLATS )
5784 { 5784 {
5785 v58 = (double)(signed int)v75; 5785 v58 = (double)(signed int)v75;
5786 v75 = v44->vPosition.z; 5786 v75 = v44->vPosition.z;
5787 v59 = (double)(signed int)v75; 5787 v59 = (double)(signed int)v75;
5788 v75 = v44->vPosition.y; 5788 v75 = v44->vPosition.y;
14792 0x12Fu, 14792 0x12Fu,
14793 (Texture *)(uTextureID_507C54 != -1 ? &pIcons_LOD->pTextures[uTextureID_507C54] : 0)); 14793 (Texture *)(uTextureID_507C54 != -1 ? &pIcons_LOD->pTextures[uTextureID_507C54] : 0));
14794 v2 = uTextureID_507C58; 14794 v2 = uTextureID_507C58;
14795 goto LABEL_12; 14795 goto LABEL_12;
14796 } 14796 }
14797 if ( pGame->uFlags2 & 0x20 ) 14797 if ( pGame->uFlags2 & GAME_FLAGS_2_DRAW_BLOODSPLATS )
14798 pRenderer->DrawTextureIndexed( 14798 pRenderer->DrawTextureIndexed(
14799 0x14u, 14799 0x14u,
14800 0x119u, 14800 0x119u,
14801 (Texture *)(uTextureID_507C14 != -1 ? &pIcons_LOD->pTextures[uTextureID_507C14] : 0)); 14801 (Texture *)(uTextureID_507C14 != -1 ? &pIcons_LOD->pTextures[uTextureID_507C14] : 0));
14802 if ( pRenderer->bUseColoredLights ) 14802 if ( pRenderer->bUseColoredLights )
14968 } 14968 }
14969 } 14969 }
14970 14970
14971 14971
14972 //----- (00415485) -------------------------------------------------------- 14972 //----- (00415485) --------------------------------------------------------
14973 char *__cdecl DrawCopyrightWindow() 14973 void DrawCopyrightWindow()
14974 { 14974 {
14975 GUIWindow Dst; // [sp+8h] [bp-54h]@1 14975 GUIWindow Dst; // [sp+8h] [bp-54h]@1
14976 14976
14977 memset(&Dst, 0, 0x54u); 14977 memset(&Dst, 0, 0x54u);
14978 Dst.uFrameWidth = 624; 14978 Dst.uFrameWidth = 624;
14990 Dst.uFrameX += 12; 14990 Dst.uFrameX += 12;
14991 Dst.uFrameY += 12; 14991 Dst.uFrameY += 12;
14992 Dst.uFrameHeight -= 12; 14992 Dst.uFrameHeight -= 12;
14993 Dst.uFrameZ = Dst.uFrameX + Dst.uFrameWidth - 1; 14993 Dst.uFrameZ = Dst.uFrameX + Dst.uFrameWidth - 1;
14994 Dst.uFrameW = Dst.uFrameY + Dst.uFrameHeight - 1; 14994 Dst.uFrameW = Dst.uFrameY + Dst.uFrameHeight - 1;
14995 return Dst.DrawTitleText(pFontSmallnum, 0, 0xCu, 0, pGlobalTXT_LocalizationStrings[157], 3u); 14995 Dst.DrawTitleText(pFontSmallnum, 0, 0xCu, 0, pGlobalTXT_LocalizationStrings[157], 3u);
14996 } 14996 }
14997 14997
14998 14998
14999 14999
15000 15000