UFO: Alien Invasion
|
Player commands. More...
#include "g_local.h"
#include "g_actor.h"
#include "g_client.h"
#include "g_edicts.h"
#include "g_match.h"
#include "../shared/parse.h"
Go to the source code of this file.
Functions | |
static void | G_Players_f (const Player &player) |
static bool | G_CheckFlood (Player &player) |
Check whether the user can talk. More... | |
static void | G_Say_f (Player &player, bool arg0, bool team) |
void | G_ClientCommand (Player &player) |
Player commands.
Definition in file g_cmds.cpp.
|
static |
Check whether the user can talk.
Definition at line 65 of file g_cmds.cpp.
References _, flood_msgs, flood_persecond, flood_waitdelay, G_ClientPrintf(), i, cvar_s::integer, level, PRINT_CHAT, level_locals_s::time, and cvar_s::value.
Referenced by G_Say_f().
void G_ClientCommand | ( | Player & | player | ) |
Definition at line 423 of file g_cmds.cpp.
References game_import_s::Cmd_Argv(), G_Players_f(), G_Say_f(), gi, and Q_strcasecmp.
Referenced by GetGameAPI().
|
static |
Definition at line 36 of file g_cmds.cpp.
References Com_sprintf(), count, G_ClientPrintf(), G_PlayerGetNextActiveHuman(), PRINT_CONSOLE, and Q_strcat().
Referenced by G_ClientCommand().
|
static |
Definition at line 87 of file g_cmds.cpp.
References game_import_s::Cmd_Args(), game_import_s::Cmd_Argv(), Com_sprintf(), G_CheckFlood(), G_ClientPrintf(), G_PlayerGetNextActiveHuman(), gi, cvar_s::integer, PRINT_CHAT, and sv_dedicated.
Referenced by G_ClientCommand().