1 /**
2  * @file wadtool.h
3  * WAD creation tool.
4  *
5  * @author Copyright © 2005-2017 Jaakko Keränen <jaakko.keranen@iki.fi>
6  *
7  * @par License
8  * GPL: http://www.gnu.org/licenses/gpl.html
9  *
10  * <small>This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by the
12  * Free Software Foundation; either version 2 of the License, or (at your
13  * option) any later version. This program is distributed in the hope that it
14  * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details. You should have received a copy of the GNU
17  * General Public License along with this program; if not, write to the Free
18  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19  * 02110-1301 USA</small>
20  */
21 
22 #ifndef __WAD_TOOL_H__
23 #define __WAD_TOOL_H__
24 
25 #define VERSION_STR     "1.1"
26 
27 typedef struct fname_s {
28     struct fname_s *next, *prev;
29     char path[256];
30     int size;
31     int offset;
32     char lump[9];
33 } fname_t;
34 
35 typedef struct {
36     char identification[4];
37     int numlumps;
38     int infotableofs;
39 } wadinfo_t;
40 
41 typedef struct {
42     int filepos;
43     int size;
44     char name[8];
45 } lumpinfo_t;
46 
47 #endif
48