OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
g_bot.h
1/*
2===========================================================================
3Copyright (C) 2025 the OpenMoHAA team
4
5This file is part of OpenMoHAA source code.
6
7OpenMoHAA source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12OpenMoHAA source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OpenMoHAA source code; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22
23#pragma once
24
26 char userinfo[MAX_INFO_STRING];
27};
28
29void G_BotBegin(gentity_t *ent);
30void G_BotThink(gentity_t *ent, int msec);
31void G_BotShift(int clientNum);
32gentity_t *G_GetFirstBot();
33void G_AddBot(const saved_bot_t *saved = NULL);
34void G_AddBots(unsigned int num);
35void G_RemoveBot(gentity_t *ent);
36void G_RemoveBots(unsigned int num);
37bool G_IsBot(gentity_t *ent);
38bool G_IsPlayer(gentity_t *ent);
39void G_ResetBots();
40void G_RestartBots();
41void G_BotInit();
42void G_BotFrame();
43void G_BotPostInit();
44void G_SpawnBots();
45const char *G_GetRandomAlliedPlayerModel();
46const char *G_GetRandomGermanPlayerModel();
Definition g_bot.h:25