forked from chocolatiers/doom-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lumpy.h
39 lines (28 loc) · 757 Bytes
/
lumpy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "cmdlib.h"
#include "scriplib.h"
#include "lbmlib.h"
//================
//
// wad file types
//
//================
typedef struct
{
long filepos;
long size;
char name[8];
} lumpinfo_t;
typedef struct
{
char identification[4];
long numlumps;
long infotableofs;
} wadinfo_t;
extern byte *byteimage, *lbmpalette;
extern int byteimagewidth, byteimageheight;
extern boolean lumppause;
extern byte *lump_p;
extern byte *lumpbuffer;
void GrabLumpyScript (char const *script, boolean wadfile, boolean dopause);
void WriteLump (void);
extern char lumpname[9]; // lump names are 8 chars max