/* * Copyright (C) 1999 Peter Amstutz * * 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 the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA */ #ifndef _KCLIENT_H_ #define _KCLIENT_H_ #include "player.h" #define ANGLE_VELO_X 5 #define ANGLE_VELO_Y 5 #define ANGLE_VELO_W 69 #define ARMOR_SHIELD_X 80 #define ARMOR_SHIELD_Y 5 #define ARMOR_SHIELD_W 79 #define WEAPON_COUNT_X 160 #define WEAPON_COUNT_Y 5 #define WEAPON_COUNT_W 199 #define WIND_SPEED_X 400 #define WIND_SPEED_Y 5 #define WIND_SPEED_W 199 #define TURN_X 600 #define TURN_Y 5 #define TURN_W 39 #define ALLPLSTATUS_X 3 #define ALLPLSTATUS_Y gfx_ysize #define ALLPLSTATUS_W gfx_xmax-6 #define ALLPLSTATUS_H 40 extern int gm_myid; extern Player_pl *gm_myplstruct; extern ItemStock_pl *gm_curitem; void clFireWeapon(void *info); void clDrawStatus(statusUpdate update); void clEraseStatus(statusUpdate update); void chProcessDeathQueue(); extern char gm_tank_damaged; extern char gm_ctf; extern int gm_AS_queue[256]; extern int gm_AS_pos; extern int gm_WS_queue[256]; extern int gm_WS_pos; extern int gm_chatlines; #endif