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_PODSPAWNER_H__
|
||||
#define __GAME_PODSPAWNER_H__
|
||||
|
||||
class hhPodSpawner : public hhMineSpawner {
|
||||
public:
|
||||
CLASS_PROTOTYPE( hhPodSpawner );
|
||||
|
||||
void Spawn( void );
|
||||
void Save( idSaveGame *savefile ) const;
|
||||
void Restore( idRestoreGame *savefile );
|
||||
|
||||
virtual void Damage( idEntity *inflictor, idEntity *attacker, const idVec3 &dir, const char *damageDefName, const float damageScale, const int location );
|
||||
void SpawnMine();
|
||||
|
||||
protected:
|
||||
void Event_PlayIdle();
|
||||
void Event_DropPod();
|
||||
void Event_DoneSpawning();
|
||||
|
||||
private:
|
||||
int idleAnim;
|
||||
int painAnim;
|
||||
int spawnAnim;
|
||||
|
||||
bool spawning;
|
||||
hhPod *pod;
|
||||
};
|
||||
|
||||
|
||||
#endif /* __GAME_PODSPAWNER_H__ */
|
||||
Reference in New Issue
Block a user