1 //------------------------------------------------------------------------- 2 /* 3 Copyright (C) 2010 EDuke32 developers and contributors 4 5 This file is part of EDuke32. 6 7 EDuke32 is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License version 2 9 as published by the Free Software Foundation. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 15 See the GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 */ 21 //------------------------------------------------------------------------- 22 23 #ifndef rts_private__ 24 #define rts_private__ 25 26 #include "cache1d.h" 27 #include "vfs.h" 28 29 //=============== 30 // TYPES 31 //=============== 32 33 typedef struct 34 { 35 char name[8]; 36 buildvfs_kfd handle; 37 int32_t position, size; 38 } lumpinfo_t; 39 40 typedef struct 41 { 42 char identification[4]; // should be "IWAD" 43 int32_t numlumps; 44 int32_t infotableofs; 45 } wadinfo_t; 46 47 typedef struct 48 { 49 int32_t filepos; 50 int32_t size; 51 char name[8]; 52 } filelump_t; 53 54 #endif 55