MCPcopy Create free account
hub / github.com/diasurgical/devilution / M_StartSpStand

Function M_StartSpStand

Source/monster.cpp:1268–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268void M_StartSpStand(int i, int md)
1269{
1270 NewMonsterAnim(i, &monster[i].MType->Anims[MA_SPECIAL], md);
1271 monster[i]._mmode = MM_SPSTAND;
1272 monster[i]._mxoff = 0;
1273 monster[i]._myoff = 0;
1274 monster[i]._mfutx = monster[i]._mx;
1275 monster[i]._mfuty = monster[i]._my;
1276 monster[i]._moldx = monster[i]._mx;
1277 monster[i]._moldy = monster[i]._my;
1278 monster[i]._mdir = md;
1279 M_CheckEFlag(i);
1280}
1281
1282void M_StartWalk(int i, int xvel, int yvel, int xadd, int yadd, int EndDir)
1283{

Callers 5

MAI_FallenFunction · 0.85
MAI_SkelKingFunction · 0.85
M_SpawnSkelFunction · 0.85
ActivateSpawnFunction · 0.85
SpawnGolumFunction · 0.85

Calls 2

NewMonsterAnimFunction · 0.85
M_CheckEFlagFunction · 0.85

Tested by

no test coverage detected