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

Method loc_1F092

Source/Fodder.cpp:15157–15175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15155}
15156
15157void cFodder::loc_1F092(sSprite* pSprite, sSprite* pData24) {
15158 int16 Data0 = pData24->field_0;
15159 Data0 += 0x10;
15160 if (pData24->field_6F == eVehicle_Turret_Cannon)
15161 goto loc_1F0B9;
15162
15163 if (pData24->field_6F == eVehicle_Turret_Missile)
15164 goto loc_1F0BE;
15165loc_1F0B9:;
15166 Data0 -= 0x0C;
15167
15168loc_1F0BE:;
15169
15170 int16 Data4 = pData24->field_4;
15171 Data4 -= 0x09;
15172
15173 pSprite->field_0 = Data0;
15174 pSprite->field_4 = Data4;
15175}
15176
15177int16 cFodder::Sprite_Handle_Player_MissionOver(sSprite* pSprite) {
15178

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected