comparison UI/UICharacter.cpp @ 1684:f84b8b2a875c

Fixing a few warnings in Players.cpp
author Grumpy7
date Fri, 20 Sep 2013 10:51:42 +0200
parents 3c451fd02fcf
children 5cbd88f8a2eb
comparison
equal deleted inserted replaced
1683:96d567a7d15f 1684:f84b8b2a875c
2107 pText = pGlobalTXT_LocalizationStrings[83]; // "Experience" 2107 pText = pGlobalTXT_LocalizationStrings[83]; // "Experience"
2108 sprintf(pTmpBuf.data(), "%s\r180\f%05d%lu\f00000\n\n", pText, player->GetExperienceDisplayColor(), LODWORD(player->uExperience)); 2108 sprintf(pTmpBuf.data(), "%s\r180\f%05d%lu\f00000\n\n", pText, player->GetExperienceDisplayColor(), LODWORD(player->uExperience));
2109 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0); 2109 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0);
2110 2110
2111 pY += 2 * LOBYTE(pFontArrus->uFontHeight); 2111 pY += 2 * LOBYTE(pFontArrus->uFontHeight);
2112 sprintf(pTmpBuf.data(), "%s\t100%+d\n", pGlobalTXT_LocalizationStrings[18], player->GetActualAttack(0)); 2112 sprintf(pTmpBuf.data(), "%s\t100%+d\n", pGlobalTXT_LocalizationStrings[18], player->GetActualAttack(false));
2113 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0); 2113 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0);
2114 2114
2115 pY += LOBYTE(pFontArrus->uFontHeight) - 2; 2115 pY += LOBYTE(pFontArrus->uFontHeight) - 2;
2116 sprintf(pTmpBuf.data(), "%s\t100 %s\n", pGlobalTXT_LocalizationStrings[53], player->GetMeleeDamageString()); 2116 sprintf(pTmpBuf.data(), "%s\t100 %s\n", pGlobalTXT_LocalizationStrings[53], player->GetMeleeDamageString());
2117 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0); 2117 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0);