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);
|
|
|
|
|
2006-05-10 02:40:43 +00:00
|
|
|
bool P_MorphMonster (AActor *actor, const PClass *morphClass);
|
2006-08-17 00:19:26 +00:00
|
|
|
bool P_UpdateMorphedMonster (AActor *actor);
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2006-08-17 00:19:26 +00:00
|
|
|
class AEggFX : public AActor
|
|
|
|
{
|
|
|
|
DECLARE_ACTOR (AEggFX, AActor)
|
|
|
|
public:
|
|
|
|
int DoSpecialDamage (AActor *target, int damage);
|
|
|
|
void Serialize (FArchive &arc);
|
|
|
|
|
|
|
|
int PlayerClass, MonsterClass; // actually names
|
|
|
|
};
|
|
|
|
|
|
|
|
class AMorphedMonster : public AActor
|
|
|
|
{
|
|
|
|
DECLARE_ACTOR (AMorphedMonster, AActor)
|
|
|
|
HAS_OBJECT_POINTERS
|
|
|
|
public:
|
|
|
|
void Tick ();
|
|
|
|
void Serialize (FArchive &arc);
|
|
|
|
void Die (AActor *source, AActor *inflictor);
|
|
|
|
void Destroy ();
|
|
|
|
|
|
|
|
AActor *UnmorphedMe;
|
|
|
|
int UnmorphTime;
|
|
|
|
DWORD FlagsSave;
|
|
|
|
};
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
#endif //__RAVENSHARED_H__
|