mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
Added bot code.
This commit is contained in:
@@ -118,7 +118,7 @@ public:
|
||||
virtual void CacheDictionaryMedia( const idDict *dict ) = 0;
|
||||
|
||||
// Spawns the player entity to be used by the client.
|
||||
virtual void SpawnPlayer( int clientNum ) = 0;
|
||||
virtual void SpawnPlayer( int clientNum, bool isBot ) = 0;
|
||||
|
||||
// Runs a game frame, may return a session command for level changing, etc
|
||||
virtual gameReturn_t RunFrame( const usercmd_t *clientCmds ) = 0;
|
||||
@@ -146,7 +146,9 @@ public:
|
||||
virtual void ServerClientConnect( int clientNum, const char *guid ) = 0;
|
||||
|
||||
// Spawns the player entity to be used by the client.
|
||||
virtual void ServerClientBegin( int clientNum ) = 0;
|
||||
virtual void ServerClientBegin( int clientNum, bool isBot ) = 0;
|
||||
|
||||
virtual bool GetRandomBotName(int clientNum, idStr& botName) = 0;
|
||||
|
||||
// Disconnects a client and removes the player entity from the game.
|
||||
virtual void ServerClientDisconnect( int clientNum ) = 0;
|
||||
|
||||
Reference in New Issue
Block a user