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

Method Sprites_Draw

Source/Fodder.cpp:3829–3847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3827}
3828
3829void cFodder::Sprites_Draw(cSurface* pSurface) {
3830
3831 std::lock_guard<std::mutex> lock(mSpriteMtx);
3832
3833 for( auto& Sprite : mSprite_DrawList_Final) {
3834
3835 if (Sprite->field_24) {
3836 Sprite->field_24 = 0;
3837 Sprite->field_0 = -32768;
3838 mSprite_SpareUsed = 0;
3839 mSprite_SpareUsed2 = 0;
3840 }
3841 else {
3842 int16 Data0 = Sprite->field_8;
3843 int16 Data4 = Sprite->field_A;
3844 Sprite_Draw_Frame(Sprite, Data0, Data4, pSurface);
3845 }
3846 }
3847}
3848
3849void cFodder::Sprite_Map_Sound_Play(int16 &pData0) {
3850

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected