1
0
Fork 0
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:
Robin Appelman 2025-04-18 15:10:37 +02:00
commit 7fee74bab4
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
use crate::*;
use binrw::BinReaderExt;
use binrw::io::Cursor;
use binrw::BinReaderExt;
use std::borrow::Cow;
pub struct BspFile<'a> {

View file

@ -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,