use oct::{FromOcts, Immutable, Init, Zeroable};
#[allow(clippy::missing_docs_in_private_items)]
#[allow(non_camel_case_types)]
#[repr(C, packed)]
#[derive(
Clone,
Copy,
Debug,
FromOcts,
Immutable,
Zeroable,
)]
pub(in crate::wad) struct wadinfo_t {
pub identification: [i8; 4],
pub numlumps: i32,
pub infotableofs: i32,
}
impl Default for wadinfo_t {
#[inline(always)]
fn default() -> Self {
Self::zeroed()
}
}
unsafe impl Init for wadinfo_t {}
#[allow(clippy::missing_docs_in_private_items)]
#[allow(non_camel_case_types)]
#[repr(C, packed)]
#[derive(
Clone,
Copy,
Debug,
FromOcts,
Immutable,
Zeroable,
)]
pub(in crate::wad) struct filelump_t {
pub filepos: i32,
pub size: i32,
pub name: [i8; 8],
}
impl Default for filelump_t {
#[inline(always)]
fn default() -> Self {
Self::zeroed()
}
}
unsafe impl Init for filelump_t {}