UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
g_cmds.cpp File Reference

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)
 

Detailed Description

Player commands.

Definition in file g_cmds.cpp.

Function Documentation

static bool G_CheckFlood ( Player &  player)
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 void G_Players_f ( const Player &  player)
static
static void G_Say_f ( Player &  player,
bool  arg0,
bool  team 
)
static