mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-15 15:11:32 +00:00
e1641da881
- Pass the damage type to AActor::DoSpecialDamage(). SVN r3717 (trunk)
29 lines
593 B
C++
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__
|