mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
49422188f2
- Added MissSound parameter to A_CustomMeleeAttack. - Converted Heretic's Snake (Ophidian) to DECORATE. - Added an option to A_CustomMissile to jump to the see state if the caller's target is dead. - Fixed: A_ThrowGrenade didn't play the missile's spawn sound. - Added MF_SPAWNSOUNDSOURCE flag so that Raven's missile spawning code pointers can be recreated with DECORATE. - Converted a_ravenambient.cpp to DECORATE. SVN r388 (trunk)
32 lines
661 B
C++
32 lines
661 B
C++
#ifndef __RAVENSHARED_H__
|
|
#define __RAVENSHARED_H__
|
|
|
|
class AActor;
|
|
|
|
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__
|