comparison GUIWindow.cpp @ 264:fb890fb66cad

^Pi[%s]%s
author Ritor1
date Mon, 18 Feb 2013 12:51:51 +0600
parents d1af3319bc44
children 1f0af5cac2dd
comparison
equal deleted inserted replaced
263:8cf4fe6b4941 264:fb890fb66cad
219 } 219 }
220 220
221 pRenderer->DrawTextureTransparent(uFrameX + 24, uFrameY + 24, v13); 221 pRenderer->DrawTextureTransparent(uFrameX + 24, uFrameY + 24, v13);
222 v16 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); 222 v16 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu);
223 sprintf(pTmpBuf, "\xC%05d", v16); 223 sprintf(pTmpBuf, "\xC%05d", v16);
224 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]); 224 sprintfex(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]);
225 strcat(pTmpBuf, pTmpBuf2); 225 strcat(pTmpBuf, pTmpBuf2);
226 strcat(pTmpBuf, "\xC" "00000\n"); 226 strcat(pTmpBuf, "\xC" "00000\n");
227 v20 = UI_GetHealthManaStringColor(pPlayer->sHealth, pPlayer->GetMaxHealth()); 227 v20 = UI_GetHealthManaStringColor(pPlayer->sHealth, pPlayer->GetMaxHealth());
228 sprintf(pTmpBuf2, "%s : \x0C" "%05u%d\x0C" "00000 / %d\n", pGlobalTXT_LocalizationStrings[108], 228 sprintf(pTmpBuf2, "%s : \x0C" "%05u%d\x0C" "00000 / %d\n", pGlobalTXT_LocalizationStrings[108],
229 v20, pPlayer->sHealth, pPlayer->GetMaxHealth()); 229 v20, pPlayer->sHealth, pPlayer->GetMaxHealth());
1153 { 1153 {
1154 sub_4B2A74(); 1154 sub_4B2A74();
1155 } 1155 }
1156 else 1156 else
1157 { 1157 {
1158 sprintf( pTmpBuf, pGlobalTXT_LocalizationStrings[429], 1158 sprintfex( pTmpBuf, pGlobalTXT_LocalizationStrings[429],
1159 //p2DEvents_minus1_::08[13 * (unsigned int)ptr_507BC0->ptr_1C], 1159 //p2DEvents_minus1_::08[13 * (unsigned int)ptr_507BC0->ptr_1C],
1160 p2DEvents[(unsigned int)ptr_507BC0->ptr_1C - 1].pProprieterName, 1160 p2DEvents[(unsigned int)ptr_507BC0->ptr_1C - 1].pProprieterName,
1161 //p2DEvents_minus1__10[13 * (unsigned int)ptr_507BC0->ptr_1C]); 1161 //p2DEvents_minus1__10[13 * (unsigned int)ptr_507BC0->ptr_1C]);
1162 p2DEvents[(unsigned int)ptr_507BC0->ptr_1C - 1].pProprieterTitle); 1162 p2DEvents[(unsigned int)ptr_507BC0->ptr_1C - 1].pProprieterTitle);
1163 v18.DrawTitleText(pFontCreate, 0x1E3u, 0x71u, v19, pTmpBuf, 3u); 1163 v18.DrawTitleText(pFontCreate, 0x1E3u, 0x71u, v19, pTmpBuf, 3u);