Move c/h files implementing/defining standard library stuff into a new libc directory...
[kugel-rb.git] / apps / plugins / doom / p_inter.h
blob669a9585f8c8b4391519b5c6cf676cc1f79d5f54
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
25 * 02111-1307, USA.
27 * DESCRIPTION:
28 * Thing events, and dehacked specified numbers controlling them.
30 *-----------------------------------------------------------------------------*/
32 #ifndef __P_INTER__
33 #define __P_INTER__
35 #include "d_player.h"
36 #include "p_mobj.h"
38 #ifdef __GNUG__
39 #pragma interface
40 #endif
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;
62 extern int maxhealth;
63 extern int max_armor;
64 extern int green_armor_class;
65 extern int blue_armor_class;
66 extern int max_soul;
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;
74 extern int bfgcells;
75 extern int maxammo[], clipammo[];
77 #endif