2006-02-24 04:48:15 +00:00
|
|
|
#ifndef __RAVENSHARED_H__
|
|
|
|
#define __RAVENSHARED_H__
|
|
|
|
|
|
|
|
class AActor;
|
|
|
|
class player_s;
|
|
|
|
|
|
|
|
bool P_MorphPlayer (player_s *player);
|
|
|
|
bool P_UndoPlayerMorph (player_s *player, bool force);
|
|
|
|
|
|
|
|
bool P_MorphMonster (AActor *actor, const TypeInfo *morphClass);
|
|
|
|
bool P_UpdateMorphedMonster (AActor *actor, int tics);
|
|
|
|
|
|
|
|
class AMinotaur : public AActor
|
|
|
|
{
|
|
|
|
DECLARE_ACTOR (AMinotaur, AActor)
|
|
|
|
public:
|
|
|
|
void NoBlockingSet ();
|
|
|
|
int DoSpecialDamage (AActor *target, int damage);
|
|
|
|
|
|
|
|
public:
|
|
|
|
bool Slam (AActor *);
|
|
|
|
void Tick ();
|
|
|
|
};
|
|
|
|
|
|
|
|
class AMinotaurFriend : public AMinotaur
|
|
|
|
{
|
|
|
|
DECLARE_STATELESS_ACTOR (AMinotaurFriend, AMinotaur)
|
|
|
|
public:
|
2006-04-23 20:12:27 +00:00
|
|
|
int StartTime;
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
void NoBlockingSet ();
|
2006-04-23 20:12:27 +00:00
|
|
|
bool IsOkayToAttack (AActor *target);
|
|
|
|
void Die (AActor *source, AActor *inflictor);
|
|
|
|
bool OkayToSwitchTarget (AActor *other);
|
|
|
|
void BeginPlay ();
|
|
|
|
void Serialize (FArchive &arc);
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__RAVENSHARED_H__
|