diff options
Diffstat (limited to 'src/p_enemy.h')
-rw-r--r-- | src/p_enemy.h | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/src/p_enemy.h b/src/p_enemy.h new file mode 100644 index 0000000..3c85861 --- /dev/null +++ b/src/p_enemy.h | |||
@@ -0,0 +1,118 @@ | |||
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 | * Enemy thinking, AI. | ||
31 | * Action Pointer Functions | ||
32 | * that are associated with states/frames. | ||
33 | * | ||
34 | *-----------------------------------------------------------------------------*/ | ||
35 | |||
36 | #ifndef __P_ENEMY__ | ||
37 | #define __P_ENEMY__ | ||
38 | |||
39 | #include "p_mobj.h" | ||
40 | |||
41 | void P_NoiseAlert (mobj_t *target, mobj_t *emmiter); | ||
42 | void P_SpawnBrainTargets(void); /* killough 3/26/98: spawn icon landings */ | ||
43 | |||
44 | extern struct brain_s { /* killough 3/26/98: global state of boss brain */ | ||
45 | int easy, targeton; | ||
46 | } brain; | ||
47 | |||
48 | // ******************************************************************** | ||
49 | // Function addresses or Code Pointers | ||
50 | // ******************************************************************** | ||
51 | // These function addresses are the Code Pointers that have been | ||
52 | // modified for years by Dehacked enthusiasts. The new BEX format | ||
53 | // allows more extensive changes (see d_deh.c) | ||
54 | |||
55 | // Doesn't work with g++, needs actionf_p1 | ||
56 | void A_Explode(); | ||
57 | void A_Pain(); | ||
58 | void A_PlayerScream(); | ||
59 | void A_Fall(); | ||
60 | void A_XScream(); | ||
61 | void A_Look(); | ||
62 | void A_Chase(); | ||
63 | void A_FaceTarget(); | ||
64 | void A_PosAttack(); | ||
65 | void A_Scream(); | ||
66 | void A_SPosAttack(); | ||
67 | void A_VileChase(); | ||
68 | void A_VileStart(); | ||
69 | void A_VileTarget(); | ||
70 | void A_VileAttack(); | ||
71 | void A_StartFire(); | ||
72 | void A_Fire(); | ||
73 | void A_FireCrackle(); | ||
74 | void A_Tracer(); | ||
75 | void A_SkelWhoosh(); | ||
76 | void A_SkelFist(); | ||
77 | void A_SkelMissile(); | ||
78 | void A_FatRaise(); | ||
79 | void A_FatAttack1(); | ||
80 | void A_FatAttack2(); | ||
81 | void A_FatAttack3(); | ||
82 | void A_BossDeath(); | ||
83 | void A_CPosAttack(); | ||
84 | void A_CPosRefire(); | ||
85 | void A_TroopAttack(); | ||
86 | void A_SargAttack(); | ||
87 | void A_HeadAttack(); | ||
88 | void A_BruisAttack(); | ||
89 | void A_SkullAttack(); | ||
90 | void A_Metal(); | ||
91 | void A_SpidRefire(); | ||
92 | void A_BabyMetal(); | ||
93 | void A_BspiAttack(); | ||
94 | void A_Hoof(); | ||
95 | void A_CyberAttack(); | ||
96 | void A_PainAttack(); | ||
97 | void A_PainDie(); | ||
98 | void A_KeenDie(); | ||
99 | void A_BrainPain(); | ||
100 | void A_BrainScream(); | ||
101 | void A_BrainDie(); | ||
102 | void A_BrainAwake(); | ||
103 | void A_BrainSpit(); | ||
104 | void A_SpawnSound(); | ||
105 | void A_SpawnFly(); | ||
106 | void A_BrainExplode(); | ||
107 | void A_Die(); | ||
108 | void A_Detonate(); /* killough 8/9/98: detonate a bomb or other device */ | ||
109 | void A_Mushroom(); /* killough 10/98: mushroom effect */ | ||
110 | void A_Spawn(); // killough 11/98 | ||
111 | void A_Turn(); // killough 11/98 | ||
112 | void A_Face(); // killough 11/98 | ||
113 | void A_Scratch(); // killough 11/98 | ||
114 | void A_PlaySound(); // killough 11/98 | ||
115 | void A_RandomJump(); // killough 11/98 | ||
116 | void A_LineEffect(); // killough 11/98 | ||
117 | |||
118 | #endif // __P_ENEMY__ | ||