comparison mm7_5.cpp @ 264:fb890fb66cad

^Pi[%s]%s
author Ritor1
date Mon, 18 Feb 2013 12:51:51 +0600
parents 8cf4fe6b4941
children b34b53ee874d 1f0af5cac2dd
comparison
equal deleted inserted replaced
263:8cf4fe6b4941 264:fb890fb66cad
3503 v173 = (char *)pParty->uNumFoodRations; 3503 v173 = (char *)pParty->uNumFoodRations;
3504 v157 = pGlobalTXT_LocalizationStrings[501];// You have %lu food" 3504 v157 = pGlobalTXT_LocalizationStrings[501];// You have %lu food"
3505 goto _sprintex_2args_draw_status_and_continue; 3505 goto _sprintex_2args_draw_status_and_continue;
3506 case UIMSG_ShowStatus_Player: 3506 case UIMSG_ShowStatus_Player:
3507 pPlayer5 = pPlayers[uMessageParam]; 3507 pPlayer5 = pPlayers[uMessageParam];
3508 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[429], pPlayer5->pName, pClassNames[pPlayer5->classType]);// "%s the %s" 3508 sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[429], pPlayer5->pName, pClassNames[pPlayer5->classType]);// "%s the %s"
3509 strcat(pTmpBuf, ": "); 3509 strcat(pTmpBuf, ": ");
3510 v107 = pPlayer5->GetMajorConditionIdx(); 3510 v107 = pPlayer5->GetMajorConditionIdx();
3511 strcat(pTmpBuf, aCharacterConditionNames[v107]); 3511 strcat(pTmpBuf, aCharacterConditionNames[v107]);
3512 sub_41C0B8_set_status_string(pTmpBuf); 3512 sub_41C0B8_set_status_string(pTmpBuf);
3513 v108 = 8 * uMessageParam - 8; 3513 v108 = 8 * uMessageParam - 8;
16094 v9 = v6->uProfession; 16094 v9 = v6->uProfession;
16095 if ( v9 ) 16095 if ( v9 )
16096 { 16096 {
16097 v10 = v6->pName; 16097 v10 = v6->pName;
16098 v11 = pTmpBuf; 16098 v11 = pTmpBuf;
16099 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[429], v10, aNPCProfessionNames[v9]); 16099 sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[429], v10, aNPCProfessionNames[v9]);
16100 } 16100 }
16101 else 16101 else
16102 { 16102 {
16103 v12 = v6->pName; 16103 v12 = v6->pName;
16104 v11 = pTmpBuf; 16104 v11 = pTmpBuf;