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

Method Recruit_Draw_Graves

Source/Recruits.cpp:1426–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426void cFodder::Recruit_Draw_Graves() {
1427 auto GraveIT = mGravePositions.rbegin();
1428
1429 if (mGame_Data.mHeroes.empty())
1430 return;
1431
1432 for (size_t i = mGame_Data.mHeroes.size(); i > 0; --i) {
1433 ++GraveIT;
1434 }
1435
1436 for (auto& Hero : mGame_Data.mHeroes) {
1437 --GraveIT;
1438 Recruit_Draw_Grave(Hero.mRank, GraveIT->mX, GraveIT->mY + PLATFORM_BASED(0, 6));
1439 };
1440
1441}
1442
1443void cFodder::Recruit_Render_Sidebar() {
1444 int16 SpriteType = 0xAD;

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected