comparison UIPopup.cpp @ 1219:85bdbaa539f4

Merge
author Gloval
date Sun, 09 Jun 2013 21:42:01 +0400
parents b237a61e61d3
children fac7751b2dc9
comparison
equal deleted inserted replaced
1218:eb687c8529ee 1219:85bdbaa539f4
1692 sprintf(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[147], v15); 1692 sprintf(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[147], v15);
1693 v16 = sub_4B46F8(v15) - LODWORD(pPlayers[uActiveCharacter]->uExperience); 1693 v16 = sub_4B46F8(v15) - LODWORD(pPlayers[uActiveCharacter]->uExperience);
1694 sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[538], v16, v15 + 1); 1694 sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[538], v16, v15 + 1);
1695 strcat(pTmpBuf.data(), "\n"); 1695 strcat(pTmpBuf.data(), "\n");
1696 strcat(pTmpBuf.data(), pTmpBuf2.data()); 1696 strcat(pTmpBuf.data(), pTmpBuf2.data());
1697 sprintf(pTmpBuf2.data(), "%s\n \n%s", pPlayerExperienceAttributeDescription, pTmpBuf); 1697 sprintf(pTmpBuf2.data(), "%s\n \n%s", pPlayerExperienceAttributeDescription, pTmpBuf.data());
1698 if ( pGlobalTXT_LocalizationStrings[83] && pTmpBuf2.data() ) 1698 if ( pGlobalTXT_LocalizationStrings[83] && pTmpBuf2.data() )
1699 sub_4179BC_draw_tooltip(pGlobalTXT_LocalizationStrings[83], pTmpBuf2.data()); 1699 sub_4179BC_draw_tooltip(pGlobalTXT_LocalizationStrings[83], pTmpBuf2.data());
1700 break; 1700 break;
1701 case 15:// Attack Bonus 1701 case 15:// Attack Bonus
1702 if ( pGlobalTXT_LocalizationStrings[587] && pAttackBonusAttributeDescription ) 1702 if ( pGlobalTXT_LocalizationStrings[587] && pAttackBonusAttributeDescription )