2006-02-24 04:48:15 +00:00
|
|
|
#ifndef __A_DOOMGLOBAL_H__
|
|
|
|
#define __A_DOOMGLOBAL_H__
|
|
|
|
|
|
|
|
#include "info.h"
|
|
|
|
|
|
|
|
class AScriptedMarine : public AActor
|
|
|
|
{
|
2008-08-05 13:50:57 +00:00
|
|
|
DECLARE_CLASS (AScriptedMarine, AActor)
|
2006-02-24 04:48:15 +00:00
|
|
|
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);
|
2006-05-10 02:40:43 +00:00
|
|
|
void SetSprite (const PClass *source);
|
2006-02-24 04:48:15 +00:00
|
|
|
void Serialize (FArchive &arc);
|
|
|
|
|
2008-08-05 13:50:57 +00:00
|
|
|
int CurrentWeapon;
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
protected:
|
2008-08-05 13:50:57 +00:00
|
|
|
bool GetWeaponStates(int weap, FState *&melee, FState *&missile);
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
int SpriteOverride;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__A_DOOMGLOBAL_H__
|