gzdoom-gles/src/g_raven/ravenshared.h
2006-05-10 02:40:43 +00:00

39 lines
898 B
C++

#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 PClass *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:
int StartTime;
void NoBlockingSet ();
bool IsOkayToAttack (AActor *target);
void Die (AActor *source, AActor *inflictor);
bool OkayToSwitchTarget (AActor *other);
void BeginPlay ();
void Serialize (FArchive &arc);
};
#endif //__RAVENSHARED_H__