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 __PREY_PHYSICS_DELTA_H__
#define __PREY_PHYSICS_DELTA_H__
class hhPhysics_Delta : public idPhysics_Actor {
public:
CLASS_PROTOTYPE( hhPhysics_Delta );
hhPhysics_Delta();
void SetOrigin( const idVec3 &newOrigin, int id = -1 );
void SetAxis( const idMat3 &newAxis, int id = -1 );
bool Evaluate( int timeStepMSec, int endTimeMSec );
void SetDelta( const idVec3 &d );
void Activate();
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
protected:
void Rest();
idVec3 delta;
};
#endif /* __PREY_PHYSICS_DELTA_H__ */