Mercurial > mm7
comparison Player.cpp @ 809:7bb33867d2cb
Pv[] in sprintfex
author | Ritor1 |
---|---|
date | Tue, 26 Mar 2013 00:09:21 +0600 |
parents | 67b77b052ef3 |
children | cfc65feef029 |
comparison
equal
deleted
inserted
replaced
808:a49b8df4de89 | 809:7bb33867d2cb |
---|---|
1487 { | 1487 { |
1488 result = 1; | 1488 result = 1; |
1489 } | 1489 } |
1490 else | 1490 else |
1491 { | 1491 { |
1492 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[67], this->pName); | 1492 sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[67], this->pName); |
1493 ShowStatusBarString(pTmpBuf, 2u); | 1493 ShowStatusBarString(pTmpBuf, 2u); |
1494 result = 0; | 1494 result = 0; |
1495 } | 1495 } |
1496 return result; | 1496 return result; |
1497 } | 1497 } |
3595 } | 3595 } |
3596 v26 = (int)v31->pName; | 3596 v26 = (int)v31->pName; |
3597 v25 = pGlobalTXT_LocalizationStrings[377]; | 3597 v25 = pGlobalTXT_LocalizationStrings[377]; |
3598 } | 3598 } |
3599 v23 = pTmpBuf2; | 3599 v23 = pTmpBuf2; |
3600 sprintf(pTmpBuf2, v25, v26); | 3600 sprintfex(pTmpBuf2, v25, v26); |
3601 goto LABEL_43; | 3601 goto LABEL_43; |
3602 } | 3602 } |
3603 return 0; | 3603 return 0; |
3604 } | 3604 } |
3605 // 4EDEA0: using guessed type int dword_4EDEA0[]; | 3605 // 4EDEA0: using guessed type int dword_4EDEA0[]; |
7291 } | 7291 } |
7292 goto LABEL_112; | 7292 goto LABEL_112; |
7293 case 0x10Fu: | 7293 case 0x10Fu: |
7294 v3->sAgeModifier = 0; | 7294 v3->sAgeModifier = 0; |
7295 goto LABEL_112; | 7295 goto LABEL_112; |
7296 case 0xDDu: | |
7297 goto LABEL_172; | |
7296 default: | 7298 default: |
7297 goto LABEL_167; | 7299 goto LABEL_167; |
7298 case 0xDDu: | |
7299 goto LABEL_172; | |
7300 } | 7300 } |
7301 goto LABEL_172; | 7301 goto LABEL_172; |
7302 } | 7302 } |
7303 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType != 15 ) | 7303 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType != 15 ) |
7304 { | 7304 { |
7542 } | 7542 } |
7543 LABEL_89: | 7543 LABEL_89: |
7544 v68 = aCharacterConditionNames[v3->GetMajorConditionIdx()]; | 7544 v68 = aCharacterConditionNames[v3->GetMajorConditionIdx()]; |
7545 v58 = pGlobalTXT_LocalizationStrings[382]; | 7545 v58 = pGlobalTXT_LocalizationStrings[382]; |
7546 LABEL_90: | 7546 LABEL_90: |
7547 sprintf(pTmpBuf, v58, v68); | 7547 sprintfex(pTmpBuf, v58, v68); |
7548 v23 = pTmpBuf; | 7548 v23 = pTmpBuf; |
7549 LABEL_91: | 7549 LABEL_91: |
7550 ShowStatusBarString(v23, 2u); | 7550 ShowStatusBarString(v23, 2u); |
7551 v4 = 0; | 7551 v4 = 0; |
7552 goto LABEL_92; | 7552 goto LABEL_92; |
7598 v21 = a2; | 7598 v21 = a2; |
7599 LABEL_83: | 7599 LABEL_83: |
7600 if ( v75 > v21 || !*v17 ) | 7600 if ( v75 > v21 || !*v17 ) |
7601 { | 7601 { |
7602 v22 = pParty->pPickedItem.GetDisplayName(); | 7602 v22 = pParty->pPickedItem.GetDisplayName(); |
7603 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[381], v22); | 7603 sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[381], v22); |
7604 ShowStatusBarString(pTmpBuf, 2u); | 7604 ShowStatusBarString(pTmpBuf, 2u); |
7605 v65 = 0; | 7605 v65 = 0; |
7606 v56 = 20; | 7606 v56 = 20; |
7607 goto LABEL_67; | 7607 goto LABEL_67; |
7608 } | 7608 } |