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,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__ */
|
||||
Reference in New Issue
Block a user