- Added MF5_PIERCEARMOR flag that allows damaging objects that aren't

affected by armor.
- Added an unfreeze CCMD so that frozen players can be unfrozen for testing.
- Added special death states for projectiles hitting actors.
- Added ACS SetActorPitch/GetActorPitch functions.
- Added cameraheight property for actors.


SVN r359 (trunk)
This commit is contained in:
Christoph Oelckers 2006-10-22 10:32:41 +00:00
commit 0d5e3cf97e
17 changed files with 128 additions and 28 deletions

View file

@ -1677,7 +1677,7 @@ void A_CountdownArg(AActor * self)
{
if (self->flags&MF_MISSILE)
{
P_ExplodeMissile(self, NULL);
P_ExplodeMissile(self, NULL, NULL);
}
else if (self->flags&MF_SHOOTABLE)
{
@ -1761,3 +1761,14 @@ void A_CheckFloor (AActor *self)
if (pStateCall != NULL) pStateCall->Result=false; // Jumps should never set the result for inventory state chains!
}
//===========================================================================
//
// A_Stop
// resets all momentum of the actor to 0
//
//===========================================================================
void A_Stop (AActor *self)
{
self->momx = self->momy = self->momz = 0;
}