mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 12:40:25 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#ifndef __HH_SAFE_DEATH_VOLUME_H
|
||||
#define __HH_SAFE_DEATH_VOLUME_H
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
//
|
||||
// hhSafeResurrectionVolume
|
||||
//
|
||||
//-----------------------------------------------------------------------
|
||||
class hhSafeResurrectionVolume : public idEntity {
|
||||
CLASS_PROTOTYPE( hhSafeResurrectionVolume );
|
||||
|
||||
public:
|
||||
void Spawn();
|
||||
|
||||
void PickRandomPoint( idVec3& origin, idMat3& axis );
|
||||
|
||||
protected:
|
||||
virtual int DetermineContents() const;
|
||||
|
||||
void Event_Enable();
|
||||
void Event_Disable();
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
//
|
||||
// hhSafeResurrectionVolume
|
||||
//
|
||||
//-----------------------------------------------------------------------
|
||||
class hhSafeDeathVolume : public hhSafeResurrectionVolume {
|
||||
CLASS_PROTOTYPE( hhSafeDeathVolume );
|
||||
|
||||
public:
|
||||
void Spawn();
|
||||
|
||||
protected:
|
||||
virtual bool IsValid( const hhPlayer* player );
|
||||
virtual int DetermineContents() const;
|
||||
|
||||
protected:
|
||||
void Event_Touch( idEntity *other, trace_t *trace );
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user