comparison UI/UiGame.cpp @ 1827:0c75c3e7e436

cleaned up part of party.cpp, renamed byte_AE3368 to playerAlreadyPicked + 3 vars after it, moved them to party.cpp, some player.cpp bugfixes
author Grumpy7
date Fri, 11 Oct 2013 05:49:39 +0200
parents bdac32c645c5
children 35c1e4ff6ba7
comparison
equal deleted inserted replaced
1826:bdac32c645c5 1827:0c75c3e7e436
930 else 930 else
931 pText = pGlobalTXT_LocalizationStrings[153];//Нет 931 pText = pGlobalTXT_LocalizationStrings[153];//Нет
932 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, pText, 84, 0); 932 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, pText, 84, 0);
933 } 933 }
934 934
935 if ( GetPartyReputation() >= 0 ) 935 if ( pParty->GetPartyReputation() >= 0 )
936 { 936 {
937 if ( GetPartyReputation() <= 5 ) 937 if ( pParty->GetPartyReputation() <= 5 )
938 pTextColor = ui_character_default_text_color; 938 pTextColor = ui_character_default_text_color;
939 else 939 else
940 pTextColor = ui_character_bonus_text_color_neg; 940 pTextColor = ui_character_bonus_text_color_neg;
941 } 941 }
942 else 942 else
943 pTextColor = ui_character_bonus_text_color; 943 pTextColor = ui_character_bonus_text_color;
944 944
945 sprintf(pTmpBuf.data(), "%s: \f%05d%s\f00000", pGlobalTXT_LocalizationStrings[180], pTextColor, GetReputationString(GetPartyReputation()));//Reputation 945 sprintf(pTmpBuf.data(), "%s: \f%05d%s\f00000", pGlobalTXT_LocalizationStrings[180], pTextColor, GetReputationString(pParty->GetPartyReputation()));//Reputation
946 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 22, 323, 0, pTmpBuf.data(), 0, 0, 0); 946 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 22, 323, 0, pTmpBuf.data(), 0, 0, 0);
947 sprintf(pTmpBuf.data(), "\r261%s: %d", pGlobalTXT_LocalizationStrings[84], pParty->GetPartyFame());// Fame Слава 947 sprintf(pTmpBuf.data(), "\r261%s: %d", pGlobalTXT_LocalizationStrings[84], pParty->GetPartyFame());// Fame Слава
948 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 0, 323, 0, pTmpBuf.data(), 0, 0, 0); 948 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 0, 323, 0, pTmpBuf.data(), 0, 0, 0);
949 } 949 }
950 950