2001-02-19 21:15:25 +00:00
|
|
|
/*
|
|
|
|
teamplay.h
|
|
|
|
|
|
|
|
Teamplay enhancements ("proxy features")
|
|
|
|
|
|
|
|
Copyright (C) 2000 Anton Gavrilov (tonik@quake.ru)
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __teamplay_h
|
|
|
|
#define __teamplay_h
|
|
|
|
|
2001-05-31 03:41:35 +00:00
|
|
|
extern struct cvar_s *cl_parsesay;
|
|
|
|
extern struct cvar_s *cl_nofake;
|
2001-11-05 07:23:51 +00:00
|
|
|
extern struct cvar_s *cl_freply;
|
|
|
|
|
|
|
|
typedef char * (*ffunc_t) (char *args);
|
|
|
|
typedef struct freply_s {
|
|
|
|
char *name;
|
|
|
|
ffunc_t func;
|
|
|
|
float lasttime;
|
|
|
|
} freply_t;
|
2001-02-19 21:15:25 +00:00
|
|
|
|
|
|
|
void Team_Init_Cvars (void);
|
|
|
|
void Team_BestWeaponImpulse (void);
|
|
|
|
void Team_Dead (void);
|
|
|
|
void Team_NewMap (void);
|
2001-07-15 07:04:17 +00:00
|
|
|
const char *Team_ParseSay (const char *);
|
2001-02-19 21:15:25 +00:00
|
|
|
void Locs_Init (void);
|
2001-11-05 07:23:51 +00:00
|
|
|
void Team_ParseChat (const char *string);
|
|
|
|
void Team_ResetTimers (void);
|
2001-02-19 21:15:25 +00:00
|
|
|
#endif // __teamplay_h
|