FTEQW
Documentation of the FTE engine source tree.
cl_ignore.c File Reference

Typedefs

typedef struct flood_s flood_t
 

Functions

int Player_IdtoSlot (int id)
 
int Player_StringtoSlot (const char *arg)
 
int Player_NametoSlot (const char *name)
 
int Player_SlottoId (int slot)
 
char * Player_MyName (void)
 
int PaddedPrint (char *s, int x)
 
char Ignore_Check_Flood (player_info_t *sender, const char *s, int flags)
 
void Ignore_Flood_Add (player_info_t *sender, const char *s)
 
qboolean Ignore_Message (const char *sendername, const char *s, int flags)
 
void Ignore_ResetFloodList (void)
 
void Ignore_Init (void)
 

Variables

cvar_t ignore_spec = CVARD("ignore_spec", "0", "0: Never ignore spectators.\n1: Ignore spectators only when playing.\n2: Always ignore spectators even when spectating.")
 
cvar_t ignore_qizmo_spec = CVAR("ignore_qizmo_spec", "0")
 
cvar_t ignore_mode = CVAR("ignore_mode", "0")
 
cvar_t ignore_flood_duration = CVARD("ignore_flood_duration", "4", "Time limit for inbound messages to be considered duplicates.")
 
cvar_t ignore_flood = CVARD("ignore_flood", "0", "Provides a way to reduce inbound spam from flooding out your chat (dupe messages are ignored).\n0: No inbound flood protection.\n1: Duplicate non-team messages will be filtered.\n2: ALL duplicate messages will be filtered")
 
cvar_t ignore_opponents = CVARD("ignore_opponents", "0", "0: Don't ignore chat from enemies.\n1: Always ignore chat from opponents (note: can also ignore f_ruleset checks).\n2: Ignore chat from opponents only during a match (requires servers that actually reports match state).\n")
 
char ignoreteamlist [MAX_TEAMIGNORELIST][16+1]
 

Typedef Documentation

◆ flood_t

typedef struct flood_s flood_t

Function Documentation

◆ Ignore_Check_Flood()

char Ignore_Check_Flood ( player_info_t sender,
const char *  s,
int  flags 
)

◆ Ignore_Flood_Add()

void Ignore_Flood_Add ( player_info_t sender,
const char *  s 
)

◆ Ignore_Init()

void Ignore_Init ( void  )

◆ Ignore_Message()

qboolean Ignore_Message ( const char *  sendername,
const char *  s,
int  flags 
)

◆ Ignore_ResetFloodList()

void Ignore_ResetFloodList ( void  )

◆ PaddedPrint()

int PaddedPrint ( char *  s,
int  x 
)

◆ Player_IdtoSlot()

int Player_IdtoSlot ( int  id)

◆ Player_MyName()

char * Player_MyName ( void  )

◆ Player_NametoSlot()

int Player_NametoSlot ( const char *  name)

◆ Player_SlottoId()

int Player_SlottoId ( int  slot)

◆ Player_StringtoSlot()

int Player_StringtoSlot ( const char *  arg)

Variable Documentation

◆ ignore_flood

cvar_t ignore_flood = CVARD("ignore_flood", "0", "Provides a way to reduce inbound spam from flooding out your chat (dupe messages are ignored).\n0: No inbound flood protection.\n1: Duplicate non-team messages will be filtered.\n2: ALL duplicate messages will be filtered")

◆ ignore_flood_duration

cvar_t ignore_flood_duration = CVARD("ignore_flood_duration", "4", "Time limit for inbound messages to be considered duplicates.")

◆ ignore_mode

cvar_t ignore_mode = CVAR("ignore_mode", "0")

◆ ignore_opponents

cvar_t ignore_opponents = CVARD("ignore_opponents", "0", "0: Don't ignore chat from enemies.\n1: Always ignore chat from opponents (note: can also ignore f_ruleset checks).\n2: Ignore chat from opponents only during a match (requires servers that actually reports match state).\n")

◆ ignore_qizmo_spec

cvar_t ignore_qizmo_spec = CVAR("ignore_qizmo_spec", "0")

◆ ignore_spec

cvar_t ignore_spec = CVARD("ignore_spec", "0", "0: Never ignore spectators.\n1: Ignore spectators only when playing.\n2: Always ignore spectators even when spectating.")

◆ ignoreteamlist

char ignoreteamlist[MAX_TEAMIGNORELIST][16+1]