mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-21 13:10:37 +02:00
Quake 4 integrated with DoomRTX
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
===============================================================================
|
||||
|
||||
rvHealingStation
|
||||
|
||||
===============================================================================
|
||||
*/
|
||||
class rvHealingStation : public idAnimatedEntity {
|
||||
public:
|
||||
|
||||
CLASS_PROTOTYPE( rvHealingStation );
|
||||
|
||||
virtual void Think ( void );
|
||||
|
||||
void Spawn ( void );
|
||||
void Save ( idSaveGame *savefile ) const;
|
||||
void Restore ( idRestoreGame *savefile );
|
||||
|
||||
void BeginHealing ( idEntity *toHeal );
|
||||
void EndHealing ( void );
|
||||
|
||||
protected:
|
||||
|
||||
void CreateFrame ( float station_health );
|
||||
|
||||
stateResult_t State_Healing ( const stateParms_t& parms );
|
||||
|
||||
rvStateThread stateThread;
|
||||
idEntityPtr<idEntity> entityToHeal;
|
||||
int nextHealTime;
|
||||
int healFrequency;
|
||||
int healAmount;
|
||||
int healthDispensed;
|
||||
int maxHealth;
|
||||
int dispenseAnim;
|
||||
int soundStartTime;
|
||||
int soundLength;
|
||||
|
||||
private:
|
||||
|
||||
bool IsPlaying ( void );
|
||||
|
||||
CLASS_STATES_PROTOTYPE ( rvHealingStation );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user