mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- added 'damage' to the actor variables exported to DECORATE's expression
evaluator. - fixed: solid corpses could block ripper missile that originally killed them. SVN r1520 (trunk)
This commit is contained in:
parent
4376c6b415
commit
9d47afb304
6 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
April 2, 2009
|
||||
April 4, 2009 (Changes by Graf Zahl)
|
||||
- added 'damage' to the actor variables exported to DECORATE's expression
|
||||
evaluator.
|
||||
- fixed: solid corpses could block ripper missile that originally killed them.
|
||||
|
||||
April 2, 2009
|
||||
- Fixed: Doom's status bar was lacking its default face.
|
||||
- Fixed: Custom skin face graphics were not added to the texture manager.
|
||||
- Fixed: UseHealthItems() gave you health equal to the number of items in
|
||||
|
|
|
@ -105,5 +105,6 @@ struct IWADInfo
|
|||
};
|
||||
|
||||
extern const IWADInfo IWADInfos[NUM_IWAD_TYPES];
|
||||
extern EIWADType gameiwad;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -46,6 +46,8 @@ IMPLEMENT_CLASS (APowerup)
|
|||
|
||||
bool APowerupGiver::Use (bool pickup)
|
||||
{
|
||||
if (PowerupType == NULL) return true; // item is useless
|
||||
|
||||
APowerup *power = static_cast<APowerup *> (Spawn (PowerupType, 0, 0, 0, NO_REPLACE));
|
||||
|
||||
if (EffectTics != 0)
|
||||
|
|
|
@ -834,6 +834,11 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
|
|||
{
|
||||
return true;
|
||||
}
|
||||
// Check for rippers passing through corpses
|
||||
if ((thing->flags & MF_CORPSE) && (tm.thing->flags2 & MF2_RIP) && !(thing->flags & MF_SHOOTABLE))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
int clipheight;
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ DEFINE_MEMBER_VARIABLE(z, AActor)
|
|||
DEFINE_MEMBER_VARIABLE(momx, AActor)
|
||||
DEFINE_MEMBER_VARIABLE(momy, AActor)
|
||||
DEFINE_MEMBER_VARIABLE(momz, AActor)
|
||||
DEFINE_MEMBER_VARIABLE(Damage, AActor)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
|
@ -33,6 +33,7 @@ ACTOR Actor native //: Thinker
|
|||
native int tid;
|
||||
native int TIDtoHate;
|
||||
native int waterlevel;
|
||||
native int damage;
|
||||
native fixed_t x;
|
||||
native fixed_t y;
|
||||
native fixed_t z;
|
||||
|
|
Loading…
Reference in a new issue