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
+34
View File
@@ -0,0 +1,34 @@
#ifndef __GAME_POD_H__
#define __GAME_POD_H__
class hhPod : public hhMine {
public:
CLASS_PROTOTYPE( hhPod );
hhPod();
void Spawn( void );
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
virtual bool Pain( idEntity *inflictor, idEntity *attacker, int damage, const idVec3 &dir, int location );
void Release();
virtual bool GetPhysicsToVisualTransform( idVec3 &origin, idMat3 &axis );
virtual void Think( void );
virtual void ClientPredictionThink( void );
virtual bool Collide( const trace_t &collision, const idVec3 &velocity );
virtual void Event_HoverTo( const idVec3 &position );
virtual void Event_Unhover();
protected:
void RollThink( void );
private:
float radius; // radius of barrel
idVec3 lastOrigin; // origin of the barrel the last frame
idMat3 additionalAxis; // transformation for visual model
bool bMoverThink;
};
#endif /* __GAME_POD_H__ */