mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-19 20:19:50 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
#ifndef __GAME_FIXEDPOD_H__
|
||||
#define __GAME_FIXEDPOD_H__
|
||||
|
||||
extern const idEventDef EV_ExplodedBy;
|
||||
|
||||
class hhFixedPod : public idEntity {
|
||||
public:
|
||||
CLASS_PROTOTYPE( hhFixedPod );
|
||||
|
||||
hhFixedPod();
|
||||
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 );
|
||||
|
||||
void Explode( idEntity *attacker );
|
||||
void SpawnDebris();
|
||||
|
||||
protected:
|
||||
void Event_Trigger( idEntity *activator );
|
||||
void Event_ExplodeDamage( idEntity *attacker );
|
||||
void Event_ExplodedBy( idEntity *activator );
|
||||
void Event_SpawnDebris();
|
||||
void Event_AssignFx( hhEntityFx* fx );
|
||||
|
||||
idEntityPtr<hhEntityFx> fx;
|
||||
};
|
||||
|
||||
|
||||
#endif /* __GAME_FIXEDPOD_H__ */
|
||||
Reference in New Issue
Block a user