mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
remove global allows
This commit is contained in:
parent
f8b0624e40
commit
6357309f25
3 changed files with 1 additions and 9 deletions
|
|
@ -38,10 +38,6 @@ impl<'a> BspFile<'a> {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn directories(&self) -> &Directories {
|
||||
&self.directories
|
||||
}
|
||||
|
||||
pub fn header(&self) -> &Header {
|
||||
&self.header
|
||||
}
|
||||
|
|
@ -92,6 +88,7 @@ impl<'a> BspFile<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
|
||||
pub enum LumpType {
|
||||
Entities,
|
||||
|
|
|
|||
|
|
@ -379,8 +379,6 @@ pub struct Face {
|
|||
|
||||
static_assertions::const_assert_eq!(size_of::<Face>(), 56);
|
||||
|
||||
const LIGHTMAP_SIZE: usize = 128;
|
||||
|
||||
#[derive(Default, Clone, Copy, BinRead, Debug)]
|
||||
pub struct LightColor {
|
||||
r: u8,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
mod bspfile;
|
||||
mod data;
|
||||
mod reader;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue