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

Method Sprite_Handle_Text_Mission

Source/Fodder.cpp:12047–12059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12045}
12046
12047void cFodder::Sprite_Handle_Text_Mission(sSprite* pSprite) {
12048 pSprite->field_0 = mMapTile_TargetX >> 16;
12049 pSprite->field_0 += (getCameraWidth() / 2) - 50;
12050 pSprite->field_4 -= 0x20;
12051
12052 int16 Data0 = mMapTile_TargetY >> 16;
12053 Data0 += (getCameraHeight() / 2 - 13);
12054
12055 if (Data0 < pSprite->field_4)
12056 return;
12057
12058 pSprite->field_4 = Data0;
12059}
12060
12061void cFodder::Sprite_Handle_Text_Phase(sSprite* pSprite) {
12062 pSprite->field_0 = mMapTile_TargetX >> 16;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected