Debian Codegraph @

Descent3/damage_external.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef DAMAGE_EXTERNAL_H_
20 #define DAMAGE_EXTERNAL_H_
21
22 // Player Damage types. Used only to make a sound.
23 #define PD_NONE 0 // Make no sound
24 #define PD_ENERGY_WEAPON 1 // Hit by laser, etc.
25 #define PD_MATTER_WEAPON 2 // Hit by missile, etc.
26 #define PD_MELEE_ATTACK 3 // Whacked by robot
27 #define PD_CONCUSSIVE_FORCE 4 // Hit by shockwave
28 #define PD_WALL_HIT 5 // Crashed into a wall
29 #define PD_VOLATILE_HISS 6 // Touched a volatile substance (such as acid)
30
31 // Generic damage types
32 #define GD_SCRIPTED 0 // Script is saying to do the damage
33 #define GD_ELECTRIC 1 // Electrical weapons
34 #define GD_CONCUSSIVE 2 // Concussive damage
35 #define GD_FIRE 3 // Fire and napalm like stuff
36 #define GD_MATTER 4 // Matter weapons
37 #define GD_ENERGY 5 // Energy weapons and fields
38 #define GD_PHYSICS 6 // Bumping into a wall or player too hard
39 #define GD_MELEE_ATTACK 7 // From a melee robot attack
40 #define GD_VOLATILE_HISS 8 // Touched a volatile substance (such as acid)
41
42 #endif