mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-05 17:41:05 +00:00
bf281a4372
occurences in the code that depended on it were changed accordingly. Invulnerability colormaps are now being set by the items exclusively. - Changed many checks for the friendly Minotaur to a new flag MF5_SUMMONEDMONSTER so that it can hopefully be generalized to be usable elsewhere later. - Added Gez's submission for converting the Minotaur to DECORATE. SVN r1120 (trunk)
32 lines
651 B
C++
32 lines
651 B
C++
#ifndef __RAVENSHARED_H__
|
|
#define __RAVENSHARED_H__
|
|
|
|
class AActor;
|
|
|
|
class AMinotaur : public AActor
|
|
{
|
|
DECLARE_CLASS (AMinotaur, AActor)
|
|
public:
|
|
void NoBlockingSet ();
|
|
int DoSpecialDamage (AActor *target, int damage);
|
|
|
|
public:
|
|
bool Slam (AActor *);
|
|
void Tick ();
|
|
};
|
|
|
|
class AMinotaurFriend : public AMinotaur
|
|
{
|
|
DECLARE_CLASS (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__
|