Mercurial > mm7
comparison GUIWindow.cpp @ 135:9b0d651821f1
Party creation screen: sorcerer class icon fixed
author | Nomad |
---|---|
date | Mon, 11 Feb 2013 20:23:55 +0200 |
parents | 1c471f3629fb |
children | 8b8fd4d83fdc |
comparison
equal
deleted
inserted
replaced
131:3ee983b8082b | 135:9b0d651821f1 |
---|---|
218 } | 218 } |
219 | 219 |
220 pRenderer->DrawTextureTransparent(uFrameX + 24, uFrameY + 24, v13); | 220 pRenderer->DrawTextureTransparent(uFrameX + 24, uFrameY + 24, v13); |
221 v16 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); | 221 v16 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); |
222 sprintf(pTmpBuf, "\xC%05d", v16); | 222 sprintf(pTmpBuf, "\xC%05d", v16); |
223 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->uClass]); | 223 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]); |
224 strcat(pTmpBuf, pTmpBuf2); | 224 strcat(pTmpBuf, pTmpBuf2); |
225 strcat(pTmpBuf, "\xC" "00000\n"); | 225 strcat(pTmpBuf, "\xC" "00000\n"); |
226 v20 = UI_GetHealthManaStringColor(pPlayer->sHealth, pPlayer->GetMaxHealth()); | 226 v20 = UI_GetHealthManaStringColor(pPlayer->sHealth, pPlayer->GetMaxHealth()); |
227 sprintf(pTmpBuf2, "%s : \x0C" "%05u%d\x0C" "00000 / %d\n", pGlobalTXT_LocalizationStrings[108], | 227 sprintf(pTmpBuf2, "%s : \x0C" "%05u%d\x0C" "00000 / %d\n", pGlobalTXT_LocalizationStrings[108], |
228 v20, pPlayer->sHealth, pPlayer->GetMaxHealth()); | 228 v20, pPlayer->sHealth, pPlayer->GetMaxHealth()); |