mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-13 16:51:14 +02:00
Added bot code.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user