mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-21 05:02:28 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#ifndef __GAME_ORGANTRIGGER_H__
|
||||
#define __GAME_ORGANTRIGGER_H__
|
||||
|
||||
extern const idEventDef EV_ModelDoorOpen;
|
||||
extern const idEventDef EV_ModelDoorClose;
|
||||
|
||||
class hhOrganTrigger : public hhAnimatedEntity {
|
||||
public:
|
||||
CLASS_PROTOTYPE( hhOrganTrigger );
|
||||
|
||||
virtual ~hhOrganTrigger();
|
||||
|
||||
void Spawn( void );
|
||||
void Save( idSaveGame *savefile ) const;
|
||||
void Restore( idRestoreGame *savefile );
|
||||
|
||||
virtual void Killed( idEntity* inflictor, idEntity* attacker, int damage, const idVec3& dir, int location );
|
||||
|
||||
protected:
|
||||
void SpawnTrigger();
|
||||
|
||||
virtual void Enable();
|
||||
virtual void Disable();
|
||||
|
||||
void Event_Enable();
|
||||
void Event_Disable();
|
||||
void Event_PlayIdle( void );
|
||||
void Event_PlayPainIdle( void );
|
||||
void Event_ResetOrgan( void );
|
||||
virtual void Event_PostSpawn();
|
||||
|
||||
private:
|
||||
int idleAnim;
|
||||
int painAnim;
|
||||
int resetAnim;
|
||||
int painIdleAnim;
|
||||
|
||||
idEntityPtr<hhTrigger> trigger;
|
||||
};
|
||||
|
||||
#endif /* __GAME_ORGANTRIGGER_H__ */
|
||||
Reference in New Issue
Block a user