diff options
Diffstat (limited to 'src/p_inter.h')
-rw-r--r-- | src/p_inter.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/p_inter.h b/src/p_inter.h new file mode 100644 index 0000000..53b64a7 --- /dev/null +++ b/src/p_inter.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* Emacs style mode select -*- C++ -*- | ||
2 | *----------------------------------------------------------------------------- | ||
3 | * | ||
4 | * | ||
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 | ||
11 | * Copyright 2005, 2006 by | ||
12 | * Florian Schulze, Colin Phipps, Neil Stevens, Andrey Budko | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, write to the Free Software | ||
26 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
27 | * 02111-1307, USA. | ||
28 | * | ||
29 | * DESCRIPTION: | ||
30 | * Thing events, and dehacked specified numbers controlling them. | ||
31 | * | ||
32 | *-----------------------------------------------------------------------------*/ | ||
33 | |||
34 | #ifndef __P_INTER__ | ||
35 | #define __P_INTER__ | ||
36 | |||
37 | #include "d_player.h" | ||
38 | #include "p_mobj.h" | ||
39 | |||
40 | #ifdef __GNUG__ | ||
41 | #pragma interface | ||
42 | #endif | ||
43 | |||
44 | /* Ty 03/09/98 Moved to an int in p_inter.c for deh and externalization */ | ||
45 | #define MAXHEALTH maxhealth | ||
46 | |||
47 | /* follow a player exlusively for 3 seconds */ | ||
48 | #define BASETHRESHOLD (100) | ||
49 | |||
50 | boolean P_GivePower(player_t *, int); | ||
51 | void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher); | ||
52 | void P_DamageMobj(mobj_t *target,mobj_t *inflictor,mobj_t *source,int damage); | ||
53 | |||
54 | /* killough 5/2/98: moved from d_deh.c, g_game.c, m_misc.c, others: */ | ||
55 | |||
56 | extern int god_health; /* Ty 03/09/98 - deh support, see also p_inter.c */ | ||
57 | extern int idfa_armor; | ||
58 | extern int idfa_armor_class; | ||
59 | extern int idkfa_armor; | ||
60 | extern int idkfa_armor_class; /* Ty - end */ | ||
61 | /* Ty 03/13/98 - externalized initial settings for respawned player */ | ||
62 | extern int initial_health; | ||
63 | extern int initial_bullets; | ||
64 | extern int maxhealth; | ||
65 | extern int max_armor; | ||
66 | extern int green_armor_class; | ||
67 | extern int blue_armor_class; | ||
68 | extern int max_soul; | ||
69 | extern int soul_health; | ||
70 | extern int mega_health; | ||
71 | extern int bfgcells; | ||
72 | extern int monsters_infight; // e6y: Dehacked support - monsters infight | ||
73 | extern int maxammo[], clipammo[]; | ||
74 | |||
75 | #endif | ||