mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
0.9 and formatting
This commit is contained in:
parent
1da5c89b06
commit
7fee74bab4
5 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use crate::*;
|
||||
use binrw::BinReaderExt;
|
||||
use binrw::io::Cursor;
|
||||
use binrw::BinReaderExt;
|
||||
use std::borrow::Cow;
|
||||
|
||||
pub struct BspFile<'a> {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ use std::mem::size_of;
|
|||
use std::ops::{Index, Rem};
|
||||
use std::sync::Mutex;
|
||||
pub use vbsp_common::{Angles, Color, EntityProp, LightColor, Negated, PropPlacement, Vector};
|
||||
use zip::ZipArchive;
|
||||
use zip::result::ZipError;
|
||||
use zip::ZipArchive;
|
||||
|
||||
/// Validate that reading the type consumes `size_of::<T>()` bytes
|
||||
#[cfg(test)]
|
||||
|
|
@ -96,6 +96,7 @@ impl Index<LumpType> for Directories {
|
|||
#[derive(Debug, Clone, PartialEq, Eq, BinRead)]
|
||||
#[br(little)]
|
||||
#[brw(repr=u32)]
|
||||
#[non_exhaustive]
|
||||
pub enum BspVersion {
|
||||
Version19 = 19,
|
||||
Version20 = 20,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue