gzdoom/src/g_raven/ravenshared.h
Randy Heit e1641da881 - Make APoisonCloud::DoSpecialDamage() and P_PoisonDamage() respect damage factors.
- Pass the damage type to AActor::DoSpecialDamage().

SVN r3717 (trunk)
2012-06-29 04:21:31 +00:00

29 lines
593 B
C++

#ifndef __RAVENSHARED_H__
#define __RAVENSHARED_H__
class AActor;
class AMinotaur : public AActor
{
DECLARE_CLASS (AMinotaur, AActor)
public:
int DoSpecialDamage (AActor *target, int damage, FName damagetype);
public:
bool Slam (AActor *);
void Tick ();
};
class AMinotaurFriend : public AMinotaur
{
DECLARE_CLASS (AMinotaurFriend, AMinotaur)
public:
int StartTime;
void Die (AActor *source, AActor *inflictor, int dmgflags);
bool OkayToSwitchTarget (AActor *other);
void BeginPlay ();
void Serialize (FArchive &arc);
};
#endif //__RAVENSHARED_H__