Debian Codegraph @

Descent3/DeathInfo.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 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/DeathInfo.h $
21 * $Revision: 6 $
22 * $Date: 4/02/99 2:46p $
23 * $Author: Matt $
24 *
25 * Info for object deaths
26 *
27 * $Log: /DescentIII/Main/DeathInfo.h $
28 *
29 * 6 4/02/99 2:46p Matt
30 * Moved flags from deathinfo to deathinfo_external, because the arhive
31 * builder only copies the latter into the archive.
32 *
33 * 5 4/02/99 11:23a Matt
34 * Made KillObject not take a death_info struct, but rather the death info
35 * as individual parameters. Moved death_info into objinfo.h, since it's
36 * only used for generic objects. Took out fade-away death hack, now that
37 * fade-away deaths can be explicitely set.
38 *
39 * 4 2/28/99 11:30p Chris
40 * FindObjOfType and OSIRIS controllable deaths
41 *
42 * 3 2/25/99 11:01a Matt
43 * Added new explosion system.
44 *
45 * 2 1/14/99 8:21p Matt
46 * Added dialog for defining object deaths
47 *
48 * 1 1/14/99 8:13p Matt
49 *
50 */
51
52 #ifndef _DEATHINFO_H
53 #define _DEATHINFO_H
54
55 // Get the death delay type
56 #define DEATH_DELAY(f) (f & DF_DELAY_MASK)
57
58 // Get the explosion size
59 #define DEATH_EXPL_SIZE(f) (f & DF_EXPL_SIZE_MASK)
60
61 // Include the actual flags
62 #include "deathinfo_external.h"
63
64 #endif