qzdoom-gpl/src/g_doom/a_doomglobal.h
Christoph Oelckers 5cc1b4991c - converted the boss brain to DECORATE.
- added an abstract base class for special map spots that are maintained in 
  lists and rewrote the boss brain, the mace and DSparil to use it.
- fixed: RandomSpawners didn't destroy themselves after finishing their work.


SVN r1076 (trunk)
2008-07-20 14:42:54 +00:00

40 lines
781 B
C++

#ifndef __A_DOOMGLOBAL_H__
#define __A_DOOMGLOBAL_H__
#include "dobject.h"
#include "info.h"
#include "d_player.h"
class AScriptedMarine : public AActor
{
DECLARE_ACTOR (AScriptedMarine, AActor)
public:
enum EMarineWeapon
{
WEAPON_Dummy,
WEAPON_Fist,
WEAPON_BerserkFist,
WEAPON_Chainsaw,
WEAPON_Pistol,
WEAPON_Shotgun,
WEAPON_SuperShotgun,
WEAPON_Chaingun,
WEAPON_RocketLauncher,
WEAPON_PlasmaRifle,
WEAPON_Railgun,
WEAPON_BFG
};
void Activate (AActor *activator);
void Deactivate (AActor *activator);
void BeginPlay ();
void Tick ();
void SetWeapon (EMarineWeapon);
void SetSprite (const PClass *source);
void Serialize (FArchive &arc);
protected:
int SpriteOverride;
};
#endif //__A_DOOMGLOBAL_H__