aboutsummaryrefslogtreecommitdiff
path: root/src/p_inter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_inter.h')
-rw-r--r--src/p_inter.h75
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
50boolean P_GivePower(player_t *, int);
51void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher);
52void 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
56extern int god_health; /* Ty 03/09/98 - deh support, see also p_inter.c */
57extern int idfa_armor;
58extern int idfa_armor_class;
59extern int idkfa_armor;
60extern int idkfa_armor_class; /* Ty - end */
61/* Ty 03/13/98 - externalized initial settings for respawned player */
62extern int initial_health;
63extern int initial_bullets;
64extern int maxhealth;
65extern int max_armor;
66extern int green_armor_class;
67extern int blue_armor_class;
68extern int max_soul;
69extern int soul_health;
70extern int mega_health;
71extern int bfgcells;
72extern int monsters_infight; // e6y: Dehacked support - monsters infight
73extern int maxammo[], clipammo[];
74
75#endif