FTEQW
Documentation of the FTE engine source tree.
cl_ignore.h
Go to the documentation of this file.
1/*
2
3Copyright (C) 2001-2002 A Nourai
4
5This program is free software; you can redistribute it and/or
6modify it under the terms of the GNU General Public License
7as published by the Free Software Foundation; either version 2
8of the License, or (at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14See the included (GNU.txt) GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19*/
20
21#ifndef __IGNORE_H_
22
23#define __IGNORE_H_
24
25
26#define NO_IGNORE_NO_ADD 0
27#define NO_IGNORE_ADD 1
28#define IGNORE_NO_ADD 2
29
30void Ignore_Init(void);
31qboolean Ignore_Message(const char *sendername, const char *s, int flags);
32char Ignore_Check_Flood(player_info_t *sender, const char *s, int flags);
33void Ignore_Flood_Add(player_info_t *sender, const char *s);
34void Ignore_ResetFloodList(void);
35
36
37#define PLAYER_ID_NOMATCH -1
38#define PLAYER_NAME_NOMATCH -2
39#define PLAYER_NUM_NOMATCH -3
40int Player_StringtoSlot(const char *arg);
41
42#endif
qboolean
Definition: api_menu.h:34
int Player_StringtoSlot(const char *arg)
Definition: cl_ignore.c:42
void Ignore_ResetFloodList(void)
Definition: cl_ignore.c:628
qboolean Ignore_Message(const char *sendername, const char *s, int flags)
Definition: cl_ignore.c:578
char Ignore_Check_Flood(player_info_t *sender, const char *s, int flags)
Definition: cl_ignore.c:534
void Ignore_Init(void)
Definition: cl_ignore.c:637
void Ignore_Flood_Add(player_info_t *sender, const char *s)
Definition: cl_ignore.c:566
s
Definition: execloop.h:53
Definition: client.h:159
static enum mysql_option option const char * arg
Definition: sv_sql.c:28
unsigned int sender
Definition: sv_user.c:2876
unsigned int flags
Definition: valid.c:313