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

Method Recruit_Draw_Grave

Source/Recruits.cpp:1412–1424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412void cFodder::Recruit_Draw_Grave(int16 pSpriteType, const size_t pPosX, const size_t pPosY) {
1413 pSpriteType >>= 1;
1414 if (pSpriteType > 8)
1415 pSpriteType = 8;
1416
1417 int32 Frame = (int32)pPosY;
1418 Frame -= 0x14;
1419 Frame >>= 5;
1420 if (Frame >= 5)
1421 Frame = 4;
1422
1423 GUI_Draw_Frame_8(pSpriteType, Frame, pPosX, pPosY - 8);
1424}
1425
1426void cFodder::Recruit_Draw_Graves() {
1427 auto GraveIT = mGravePositions.rbegin();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected