mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 11:00:38 +02:00
Added bot code.
This commit is contained in:
+14
-1
@@ -338,7 +338,7 @@ public:
|
||||
void SetupWeaponEntity( void );
|
||||
void SelectInitialSpawnPoint( idVec3 &origin, idAngles &angles );
|
||||
void SpawnFromSpawnSpot( void );
|
||||
void SpawnToPoint( const idVec3 &spawn_origin, const idAngles &spawn_angles );
|
||||
virtual void SpawnToPoint( const idVec3 &spawn_origin, const idAngles &spawn_angles );
|
||||
void SetClipModel( void ); // spectator mode uses a different bbox size
|
||||
|
||||
void SavePersistantInfo( void );
|
||||
@@ -512,6 +512,19 @@ public:
|
||||
bool SelfSmooth( void );
|
||||
void SetSelfSmooth( bool b );
|
||||
|
||||
virtual bool IsBot(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsShooting(void)
|
||||
{
|
||||
return AI_ATTACK_HELD;
|
||||
}
|
||||
|
||||
float GetViewHeight(void);
|
||||
|
||||
idStr netname;
|
||||
private:
|
||||
jointHandle_t hipJoint;
|
||||
jointHandle_t chestJoint;
|
||||
|
||||
Reference in New Issue
Block a user