comparison mm7_1.cpp @ 169:bf2956650e92

12.12.12
author Ritor1
date Wed, 12 Dec 2012 17:07:27 +0600
parents 90a9c828c2a6
children
comparison
equal deleted inserted replaced
168:12a0213e66c7 169:bf2956650e92
2611 (Texture *)(v5 != -1 ? (int)((char *)pIcons_LOD->pTextures + v75) : 0)); 2611 (Texture *)(v5 != -1 ? (int)((char *)pIcons_LOD->pTextures + v75) : 0));
2612 if ( a2.y ) 2612 if ( a2.y )
2613 v16 = _this->GetIdentifiedName(); 2613 v16 = _this->GetIdentifiedName();
2614 else 2614 else
2615 v16 = (const char *)*((int *)v76 + 2); 2615 v16 = (const char *)*((int *)v76 + 2);
2616 v79.DrawText2(pFontArrus, 0, 0xCu, var88, v16, 3u); 2616 v79.DrawTitleText(pFontArrus, 0, 0xCu, var88, v16, 3u);
2617 v17 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[32], &v79, 0, 0); 2617 v17 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[32], &v79, 0, 0);
2618 v57 = 3; 2618 v57 = 3;
2619 v52 = pGlobalTXT_LocalizationStrings[32]; 2619 v52 = pGlobalTXT_LocalizationStrings[32];
2620 goto LABEL_37; 2620 goto LABEL_37;
2621 } 2621 }
2634 v79.uFrameW = v79.uFrameY + v79.uFrameHeight - 1; 2634 v79.uFrameW = v79.uFrameY + v79.uFrameHeight - 1;
2635 pRenderer->DrawTextureTransparent( 2635 pRenderer->DrawTextureTransparent(
2636 v79.uFrameX + v78, 2636 v79.uFrameX + v78,
2637 v81 + v79.uFrameY + 30, 2637 v81 + v79.uFrameY + 30,
2638 (Texture *)(v5 != -1 ? (int)((char *)pIcons_LOD->pTextures + v75) : 0)); 2638 (Texture *)(v5 != -1 ? (int)((char *)pIcons_LOD->pTextures + v75) : 0));
2639 v79.DrawText2(pFontArrus, 0, 0xCu, var88, *((const char **)v76 + 2), 3u); 2639 v79.DrawTitleText(pFontArrus, 0, 0xCu, var88, *((const char **)v76 + 2), 3u);
2640 v17 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[232], &v79, 0, 0); 2640 v17 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[232], &v79, 0, 0);
2641 v57 = 3; 2641 v57 = 3;
2642 v52 = pGlobalTXT_LocalizationStrings[232]; 2642 v52 = pGlobalTXT_LocalizationStrings[232];
2643 LABEL_37: 2643 LABEL_37:
2644 v18 = v17 >> 1; 2644 v18 = v17 >> 1;
2645 v19 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0x19u, 0x19u); 2645 v19 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0x19u, 0x19u);
2646 v79.DrawText2(pFontArrus, 0x64u, ((signed int)v79.uFrameHeight >> 1) - v18, v19, v52, v57); 2646 v79.DrawTitleText(pFontArrus, 0x64u, ((signed int)v79.uFrameHeight >> 1) - v18, v19, v52, v57);
2647 goto LABEL_116; 2647 goto LABEL_116;
2648 } 2648 }
2649 sprintf(a1, pGlobalTXT_LocalizationStrings[463], *((int *)v3 + 2)); 2649 sprintf(a1, pGlobalTXT_LocalizationStrings[463], *((int *)v3 + 2));
2650 strcpy(Dest, ""); 2650 strcpy(Dest, "");
2651 strcpy(v64, ""); 2651 strcpy(v64, "");
2777 if ( *v35 ) 2777 if ( *v35 )
2778 v79.DrawText(pFontSmallnum, 100, v34, 0, v35, 0, 0, 0); 2778 v79.DrawText(pFontSmallnum, 100, v34, 0, v35, 0, 0, 0);
2779 v79.uFrameX += 12; 2779 v79.uFrameX += 12;
2780 v79.uFrameWidth -= 24; 2780 v79.uFrameWidth -= 24;
2781 v36 = _this->GetIdentifiedName(); 2781 v36 = _this->GetIdentifiedName();
2782 v79.DrawText2(pFontArrus, 0, 0xCu, var88, v36, 3u); 2782 v79.DrawTitleText(pFontArrus, 0, 0xCu, var88, v36, 3u);
2783 v79.uFrameWidth += 24; 2783 v79.uFrameWidth += 24;
2784 v79.uFrameX -= 12; 2784 v79.uFrameX -= 12;
2785 if ( v77 ) 2785 if ( v77 )
2786 { 2786 {
2787 sprintf(pTmpBuf, "%s: %lu", pGlobalTXT_LocalizationStrings[465], v77); 2787 sprintf(pTmpBuf, "%s: %lu", pGlobalTXT_LocalizationStrings[465], v77);
3299 v72 = pMonsterStats->pInfos[v121->pMonsterInfo.uID].pName; 3299 v72 = pMonsterStats->pInfos[v121->pMonsterInfo.uID].pName;
3300 } 3300 }
3301 strncpy(pTmpBuf, v72, v77); 3301 strncpy(pTmpBuf, v72, v77);
3302 LABEL_59: 3302 LABEL_59:
3303 v39 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); 3303 v39 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu);
3304 a1->DrawText2(pFontComic, 0, 0xCu, v39, pTmpBuf, 3u); 3304 a1->DrawTitleText(pFontComic, 0, 0xCu, v39, pTmpBuf, 3u);
3305 Actor::DrawHealthBar(v121, a1); 3305 Actor::DrawHealthBar(v121, a1);
3306 v119 = 0; 3306 v119 = 0;
3307 pMonsterInfoUI_Doll.uCurrentActionTime += pMiscTimer->uTimeElapsed; 3307 pMonsterInfoUI_Doll.uCurrentActionTime += pMiscTimer->uTimeElapsed;
3308 v115 = 0; 3308 v115 = 0;
3309 v116 = 0; 3309 v116 = 0;
3716 } 3716 }
3717 if ( (signed __int64)pParty->pPartyBuffs[3].uExpireTime > 0 ) 3717 if ( (signed __int64)pParty->pPartyBuffs[3].uExpireTime > 0 )
3718 { 3718 {
3719 sprintf(pTmpBuf, "%s: %d", pGlobalTXT_LocalizationStrings[650], v121->sCurrentHP); 3719 sprintf(pTmpBuf, "%s: %d", pGlobalTXT_LocalizationStrings[650], v121->sCurrentHP);
3720 pFontSmallnum->GetLineWidth(pTmpBuf); 3720 pFontSmallnum->GetLineWidth(pTmpBuf);
3721 result = a1->DrawText2( 3721 result = a1->DrawTitleText(
3722 pFontSmallnum, 3722 pFontSmallnum,
3723 0, 3723 0,
3724 a1->uFrameHeight - LOBYTE(pFontSmallnum->uFontHeight) - 12, 3724 a1->uFrameHeight - LOBYTE(pFontSmallnum->uFontHeight) - 12,
3725 0, 3725 0,
3726 pTmpBuf, 3726 pTmpBuf,