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
@@ -526,3 +526,31 @@ const char *idNetworkSystem::GetViewerGUID( int clientNum ) {
}
#endif // QUAKE4
/*
==================
idNetworkSystem::AllocateClientSlotForBot
==================
*/
int idNetworkSystem::AllocateClientSlotForBot(int maxPlayersOnServer) {
return idAsyncNetwork::server.AllocOpenClientSlotForAI(maxPlayersOnServer);
}
/*
==================
idNetworkSystem::ServerSetBotUserCommand
==================
*/
int idNetworkSystem::ServerSetBotUserCommand(int clientNum, int frameNum, const usercmd_t& cmd) {
return idAsyncNetwork::server.ServerSetBotUserCommand(clientNum, frameNum, cmd);
}
/*
==================
idNetworkSystem::ServerSetBotUserName
==================
*/
int idNetworkSystem::ServerSetBotUserName(int clientNum, const char* playerName) {
return 0;
}