Mercurial > mm7
comparison mm7_1.cpp @ 70:2b798f781d1d
awards tab fixed
author | zipi |
---|---|
date | Sun, 27 Jan 2013 12:10:43 +0000 |
parents | f12a7fd4d114 |
children | 377535d6e366 |
comparison
equal
deleted
inserted
replaced
69:f12a7fd4d114 | 70:2b798f781d1d |
---|---|
635 | 635 |
636 v1 = uPlayerID; | 636 v1 = uPlayerID; |
637 v2 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); | 637 v2 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); |
638 v3 = pIcons_LOD->LoadTexture("fr_award", TEXTURE_16BIT_PALETTE); | 638 v3 = pIcons_LOD->LoadTexture("fr_award", TEXTURE_16BIT_PALETTE); |
639 pRenderer->DrawTextureIndexed(8u, 8u, (Texture *)(v3 != -1 ? (int)&pIcons_LOD->pTextures[v3] : 0)); | 639 pRenderer->DrawTextureIndexed(8u, 8u, (Texture *)(v3 != -1 ? (int)&pIcons_LOD->pTextures[v3] : 0)); |
640 sprintf(pTmpBuf, "%s ", pGlobalTXT_LocalizationStrings[23], v2);// TODO check args | 640 sprintf(pTmpBuf, "%s \f%05d", pGlobalTXT_LocalizationStrings[23], v2);// TODO check args |
641 sprintf( | 641 sprintf( |
642 Source, | 642 Source, |
643 pGlobalTXT_LocalizationStrings[429], | 643 pGlobalTXT_LocalizationStrings[429], |
644 &pParty->pPlayers[v1-1].pName,//&stru_AA1058[3].pSounds[6972 * v1 + 40720], | 644 &pParty->pPlayers[v1-1].pName,//&stru_AA1058[3].pSounds[6972 * v1 + 40720], |
645 &pClassNames[pParty->pPlayers[v1-1].uClass]);//&pClassNames[stru_AA1058[3].pSounds[6972 * v1 + 40737]]); | 645 pClassNames[pParty->pPlayers[v1-1].uClass]);//&pClassNames[stru_AA1058[3].pSounds[6972 * v1 + 40737]]); |
646 strcat(pTmpBuf, Source); | 646 strcat(pTmpBuf, Source); |
647 strcat(pTmpBuf, "\xC" "00000"); | 647 strcat(pTmpBuf, "\xC" "00000"); |
648 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 24, 18, 0, pTmpBuf, 0, 0, 0); | 648 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 24, 18, 0, pTmpBuf, 0, 0, 0); |
649 result = dword_506528; | 649 result = dword_506528; |
650 a1.uFrameX = 12; | 650 a1.uFrameX = 12; |