- removed some unused functions from actor.cpp.

This commit is contained in:
Christoph Oelckers 2020-12-02 20:05:53 +01:00
parent 19b731bc8f
commit eee972d446
3 changed files with 2262 additions and 2288 deletions

File diff suppressed because it is too large Load diff

View file

@ -216,8 +216,6 @@ void actDoLight(int spriteNum);
#endif #endif
bool IsUnderwaterSector(int nSector); bool IsUnderwaterSector(int nSector);
bool actTypeInSector(int nSector, int nType);
void actAllocateSpares(void);
void actInit(bool bSaveLoad); void actInit(bool bSaveLoad);
void ConcussSprite(int a1, spritetype *pSprite, int x, int y, int z, int a6); void ConcussSprite(int a1, spritetype *pSprite, int x, int y, int z, int a6);
int actWallBounceVector(int *x, int *y, int nWall, int a4); int actWallBounceVector(int *x, int *y, int nWall, int a4);

View file

@ -89,5 +89,11 @@ public:
} }
}; };
inline int DeleteSprite(DBloodActor* nSprite)
{
if (nSprite) return DeleteSprite(nSprite->s().index);
return 0;
}
END_BLD_NS END_BLD_NS