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

Method Service_Mission_Text_Prepare

Source/Fodder.cpp:10172–10181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10170}
10171
10172void cFodder::Service_Mission_Text_Prepare() {
10173 std::stringstream Mission;
10174 Mission << "MISSION ";
10175
10176 Mission << tool_StripLeadingZero(std::to_string(mGame_Data.mMission_Number));
10177
10178 String_CalculateWidth(320, mFont_Service_Width, Mission.str().c_str());
10179
10180 Service_Draw_String(Mission.str(), mFont_Service_Width, 4, mGUI_Temp_X, mVideo_Draw_PosY);
10181}
10182
10183void cFodder::Briefing_Draw_Phase() {
10184 const char* Str_Brief = "BRIEFING";

Callers

nothing calls this directly

Calls 1

tool_StripLeadingZeroFunction · 0.85

Tested by

no test coverage detected