comparison UI/UiGame.cpp @ 2186:7a517c9a1d5b

CastSpell continue
author Ritor1
date Mon, 27 Jan 2014 17:33:34 +0600
parents e1e4a8a20b5f
children 9856c2f8f918
comparison
equal deleted inserted replaced
2185:385040580292 2186:7a517c9a1d5b
976 } 976 }
977 977
978 //----- (0041AEBB) -------------------------------------------------------- 978 //----- (0041AEBB) --------------------------------------------------------
979 void GameUI_DrawFoodAndGold() 979 void GameUI_DrawFoodAndGold()
980 { 980 {
981 int v2; // esi@2 981 int text_y; // esi@2
982 982
983 if ( uGameState != GAME_STATE_FINAL_WINDOW ) 983 if ( uGameState != GAME_STATE_FINAL_WINDOW )
984 { 984 {
985 v2 = sub_44100D() != 0 ? 381 : 322; 985 text_y = sub_44100D() != 0 ? 381 : 322;
986 sprintf(pTmpBuf.data(), "\r087%lu", pParty->uNumFoodRations); 986 sprintf(pTmpBuf.data(), "\r087%lu", pParty->uNumFoodRations);
987 pPrimaryWindow->DrawText(pFontSmallnum, 0, v2, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow); 987 pPrimaryWindow->DrawText(pFontSmallnum, 0, text_y, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
988 sprintf(pTmpBuf.data(), "\r028%lu", pParty->uNumGold); 988 sprintf(pTmpBuf.data(), "\r028%lu", pParty->uNumGold);
989 pPrimaryWindow->DrawText(pFontSmallnum, 0, v2, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow); 989 pPrimaryWindow->DrawText(pFontSmallnum, 0, text_y, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
990 } 990 }
991 } 991 }
992 992
993 //----- (0041B0C9) -------------------------------------------------------- 993 //----- (0041B0C9) --------------------------------------------------------
994 void GameUI_DrawLifeManaBars() 994 void GameUI_DrawLifeManaBars()