Debian Codegraph @

prboom2/src/dsda/mobjinfo.h

raw
1 //
2 // Copyright(C) 2021 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA Mobj Info
16 //
17
18 #ifndef __DSDA_MOBJ_INFO__
19 #define __DSDA_MOBJ_INFO__
20
21 #include "info.h"
22
23 #include "dsda/deh_hash.h"
24
25 typedef struct {
26 mobjinfo_t* info;
27 byte* edited_bits;
28 } dsda_deh_mobjinfo_t;
29
30 int dsda_FindDehMobjIndex(int index);
31 int dsda_TranslateDehMobjIndex(int index);
32 int dsda_GetDehMobjIndex(int index);
33 dsda_deh_mobjinfo_t dsda_GetDehMobjInfo(int index);
34 void dsda_InitializeMobjInfo(int zero, int max, int count);
35 void dsda_FreeDehMobjInfo(void);
36 void dsda_AppendZDoomMobjInfo(void);
37
38 #endif