Added bot code.

This commit is contained in:
Justin Marshall
2026-05-19 18:34:55 -07:00
parent b97127f038
commit af56d4bfeb
166 changed files with 22251 additions and 297 deletions
+14 -1
View File
@@ -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;