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

Method Sprite_Handle_Text_Again

Source/Fodder.cpp:12909–12921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12907}
12908
12909void cFodder::Sprite_Handle_Text_Again(sSprite* pSprite) {
12910 pSprite->field_0 = mMapTile_TargetX >> 16;
12911 pSprite->field_0 += (getCameraWidth() / 2) - 49;
12912 pSprite->field_4 -= 0x20;
12913
12914 int16 Data0 = mMapTile_TargetY >> 16;
12915 Data0 += getCameraHeight() / 2 + 5;
12916
12917 if (Data0 < pSprite->field_4)
12918 return;
12919
12920 pSprite->field_4 = Data0;
12921}
12922
12923void cFodder::Sprite_Handle_BoilingPot(sSprite* pSprite) {
12924 pSprite->field_8 = 0xCD;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected