diff options
author | Samuel Villareal | 2010-09-04 04:06:10 +0000 |
---|---|---|
committer | Samuel Villareal | 2010-09-04 04:06:10 +0000 |
commit | 583406a2ba2a10bfe0e654a0ede285da46c9bd88 (patch) | |
tree | 1451231cce840aafdb8e3a6f10290bac81e40a39 /src/strife/p_enemy.c | |
parent | 8761422d31fdceb685b292a780727f3ad1d950db (diff) | |
download | chocolate-doom-583406a2ba2a10bfe0e654a0ede285da46c9bd88.tar.gz chocolate-doom-583406a2ba2a10bfe0e654a0ede285da46c9bd88.tar.bz2 chocolate-doom-583406a2ba2a10bfe0e654a0ede285da46c9bd88.zip |
+ Map flags for things added (MTF_*)
+ A_FireGrenade and A_MissileTick codepointers added
+ Step up height changed to 16*FRACUNIT (non-human things are excluded)
+ Fixed bug in P_MovePlayer where player cannot climb over things when
pressing forward and jumping. Missed a line of code for this
+ P_SpawnSubMissile renamed to P_SpawnFaceMissile
+ P_SpawnMortar added
+ Ammo types added
+ Fixed some inaccuracies in P_SpawnBlood
Subversion-branch: /branches/strife-branch
Subversion-revision: 2008
Diffstat (limited to 'src/strife/p_enemy.c')
-rw-r--r-- | src/strife/p_enemy.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index 09567e99..cf610285 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -2374,9 +2374,20 @@ void A_RaiseAlarm(mobj_t* actor) } +// +// A_MissileTick +// villsa [STRIFE] - new codepointer +// + void A_MissileTick(mobj_t* actor) { + int r = actor->reactiontime--; + if(r - 1 <= 0) + { + P_ExplodeMissile(actor); + actor->flags &= ~MF_MISSILE; + } } void A_SpawnGrenadeFire(mobj_t* actor) @@ -2464,11 +2475,6 @@ void A_FireMauler2(mobj_t* actor) } -void A_FireGrenade(mobj_t* actor) -{ - -} - void A_FireElectricBolt(mobj_t* actor) { |