Initial Prey Game integration support.

This commit is contained in:
Justin Marshall
2026-05-05 15:01:01 -07:00
parent a6c6f1ed26
commit 8d5f678b25
552 changed files with 265551 additions and 209 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef __GAME_TRACKMOVER_H__
#define __GAME_TRACKMOVER_H__
class hhTrackMover : public idMover {
CLASS_PROTOTYPE( hhTrackMover );
public:
hhTrackMover();
void Spawn( void );
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
idEntity * GetNextDestination( void );
void DoneMoving( void );
protected:
enum States {
StateGlobal = 0,
StateIdle,
StateDead
} state;
int timeBetweenMoves;
idEntity * currentNode; // Current node of track
void Event_Activate( idEntity *activator );
void Event_Deactivate();
void Event_PostSpawn( void );
void Event_StartNextMove( void );
void Event_Kill();
};
#endif /* __GAME_TRACKMOVER_H__ */