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

Method Recruit_Draw_String

Source/Recruits.cpp:1348–1365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1346}
1347
1348void cFodder::Recruit_Draw_String(int32 pParam0, size_t pParam8, size_t pParamC, const std::string& pString) {
1349
1350 for (std::string::const_iterator Text = pString.begin(); Text != pString.end(); ++Text, pParam8 += 0x0C) {
1351 char NextChar = *Text;
1352
1353 if (NextChar == 0x20)
1354 continue;
1355
1356 if (NextChar <= 0x39) {
1357 NextChar -= 0x30;
1358 NextChar += 0x1A;
1359 }
1360 else
1361 NextChar -= 0x41;
1362
1363 GUI_Draw_Frame_8(pParam0, NextChar, pParam8, pParamC);
1364 }
1365}
1366
1367void cFodder::Recruit_Truck_Anim_Prepare() {
1368 uint16* di = mRecruit_Truck_FramesPlay;

Callers 2

Recruit_Draw_HomeAwayMethod · 0.80
Recruit_Draw_HomeAwayMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected