mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
29 lines
567 B
C++
29 lines
567 B
C++
// Game_JumpZone.h
|
|
//
|
|
|
|
#ifndef __GAME_JUMPZONE_H__
|
|
#define __GAME_JUMPZONE_H__
|
|
|
|
class hhJumpZone : public hhTrigger {
|
|
public:
|
|
CLASS_PROTOTYPE( hhJumpZone );
|
|
|
|
void Spawn( void );
|
|
void Save( idSaveGame *savefile ) const;
|
|
void Restore( idRestoreGame *savefile );
|
|
|
|
protected:
|
|
idVec3 CalculateJumpVelocity();
|
|
void Event_Touch( idEntity *other, trace_t *trace );
|
|
void Event_Enable( void );
|
|
void Event_Disable( void );
|
|
void Event_ResetSlopeCheck(int entNum);
|
|
|
|
public:
|
|
idVec3 velocity;
|
|
float pitchDegrees;
|
|
};
|
|
|
|
|
|
#endif /* __GAME_JUMPZONE_H__ */
|