mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-15 22:51:46 +00:00
d878c2e7d6
SVN r97 (trunk)
39 lines
898 B
C++
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__
|