MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Service_Draw_String

Method Service_Draw_String

Source/Fodder.cpp:9976–9985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9974}
9975
9976void cFodder::Service_Draw_String(const std::string& pText, const bool pLarge, const size_t pY) {
9977
9978 const uint8* FontWidth = mFont_Briefing_Width;
9979 if (pLarge)
9980 FontWidth = mFont_ServiceName_Width;
9981
9982 String_CalculateWidth(320, FontWidth, pText.c_str());
9983 Service_Draw_String(pText, FontWidth, pLarge ? 3 : 0, mGUI_Temp_X, (int16) pY);
9984
9985}
9986
9987void cFodder::Service_Draw_Troop_And_Rank(int16 pRecruitID, int16 pRank) {
9988

Callers 1

cAboutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected