1 /* Emacs style mode select -*- C++ -*-
2 *-----------------------------------------------------------------------------
5 * PrBoom a Doom port merged with LxDoom and LSDLDoom
6 * based on BOOM, a modified and improved DOOM engine
7 * Copyright (C) 1999 by
8 * id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
9 * Copyright (C) 1999-2000 by
10 * Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
28 * Thing events, and dehacked specified numbers controlling them.
30 *-----------------------------------------------------------------------------*/
42 /* Ty 03/09/98 Moved to an int in p_inter.c for deh and externalization */
43 #define MAXHEALTH 100//maxhealth
45 /* follow a player exlusively for 3 seconds */
46 #define BASETHRESHOLD (100)
48 boolean
P_GivePower(player_t
*, int);
49 void P_TouchSpecialThing(mobj_t
*special
, mobj_t
*toucher
);
50 void P_DamageMobj(mobj_t
*target
,mobj_t
*inflictor
,mobj_t
*source
,int damage
);
52 /* killough 5/2/98: moved from d_deh.c, g_game.c, m_misc.c, others: */
54 extern int god_health
; /* Ty 03/09/98 - deh support, see also p_inter.c */
55 extern int idfa_armor
;
56 extern int idfa_armor_class
;
57 extern int idkfa_armor
;
58 extern int idkfa_armor_class
; /* Ty - end */
59 /* Ty 03/13/98 - externalized initial settings for respawned player */
60 extern int initial_health
;
61 extern int initial_bullets
;
64 extern int green_armor_class
;
65 extern int blue_armor_class
;
67 extern int soul_health
;
68 extern int mega_health
;
69 extern int god_health
;
70 extern int idfa_armor
;
71 extern int idfa_armor_class
;
72 extern int idkfa_armor
;
73 extern int idkfa_armor_class
;
75 extern int maxammo
[], clipammo
[];