//! Set of structures that represent a WAD file.
/// Contains the wad type (IWAD or PWAD), how many entries it has, and a pointer to the first entry.
#[derive(Debug, Clone)]#[repr(C)]pubstructHeader{pubwad_type: [u8; 4],
pubentry_no:u32,
pubdir_ptr:u32,
}/// Contains a pointer to the entry, the size of the entry and the name of the entry.
#[derive(Debug, Clone)]#[repr(C)]pubstructDirEntry{pubptr:u32,
pubsize:u32,
pubname: [u8; 8],
}