1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +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

2
Cargo.lock generated
View file

@ -904,7 +904,7 @@ dependencies = [
[[package]]
name = "vbsp"
version = "0.8.2"
version = "0.9.0"
dependencies = [
"ahash",
"arrayvec",

View file

@ -1,6 +1,6 @@
[package]
name = "vbsp"
version = "0.8.2"
version = "0.9.0"
authors = ["Robin Appelman <robin@icewind.nl>"]
homepage = "https://github.com/icewind1991/vbsp"
repository = "https://github.com/icewind1991/vbsp"

View file

@ -33,5 +33,4 @@ This project is adapted from the [quake bsp parser] and
wouldn't be possible without information from the [source engine wiki].
[quake bsp parser]: https://github.com/Vurich/bsp
[source engine wiki]: https://developer.valvesoftware.com/wiki/Source_BSP_File_Format

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,