OpenMoHAA 0.82.1
Loading...
Searching...
No Matches
gamecmds.h
1/*
2===========================================================================
3Copyright (C) 2023 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// gamecmds.h: Game Commands.
24
25#pragma once
26
27#include "g_local.h"
28
29void G_InitConsoleCommands(void);
30
31qboolean G_ProcessClientCommand(gentity_t *ent);
32
33//===============
34// Added in OPM
35void G_CreateMaster(const char* prefix, class Listener* master);
36Listener* G_FindMaster(const char* command);
37//===============
38
39void G_Say(gentity_t *ent, qboolean team, qboolean arg0);
40qboolean G_CameraCmd(gentity_t *ent);
41qboolean G_SoundCmd(gentity_t *ent);
42qboolean G_SayCmd(gentity_t *ent);
43qboolean G_EventListCmd(gentity_t *ent);
44qboolean G_PendingEventsCmd(gentity_t *ent);
45qboolean G_EventHelpCmd(gentity_t *ent);
46qboolean G_DumpEventsCmd(gentity_t *ent);
47qboolean G_ClassEventsCmd(gentity_t *ent);
48qboolean G_DumpClassEventsCmd(gentity_t *ent);
49qboolean G_DumpAllClassesCmd(gentity_t *ent);
50qboolean G_ClassListCmd(gentity_t *ent);
51qboolean G_ClassTreeCmd(gentity_t *ent);
52qboolean G_ShowVarCmd(gentity_t *ent);
53qboolean G_RestartCmd(gentity_t *ent);
54qboolean G_LevelVarsCmd(gentity_t *ent);
55qboolean G_GameVarsCmd(gentity_t* ent);
56qboolean G_ScriptCmd(gentity_t* ent);
57qboolean G_ReloadMap(gentity_t* ent);
58qboolean G_CompileScript(gentity_t *ent);
59qboolean G_AddBotCommand(gentity_t *ent);
60qboolean G_RemoveBotCommand(gentity_t *ent);
61#ifdef _DEBUG
62qboolean G_BotCommand(gentity_t *ent);
63#endif
Definition listener.h:450