mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-04 11:04:07 +02:00
texture info handling
This commit is contained in:
parent
c459a8308b
commit
e132a34a00
6 changed files with 69 additions and 7 deletions
|
|
@ -2,6 +2,7 @@ use crate::data::*;
|
|||
use std::num::{ParseFloatError, ParseIntError};
|
||||
use thiserror::Error;
|
||||
use zip::result::ZipError;
|
||||
use crate::bspfile::LumpType;
|
||||
|
||||
#[non_exhaustive]
|
||||
#[derive(Debug, Error)]
|
||||
|
|
@ -16,6 +17,7 @@ pub enum BspError {
|
|||
MalformedCompressedGameLump,
|
||||
#[error("Invalid lump size, lump size {lump_size} is not a multiple of the element size {element_size}")]
|
||||
InvalidLumpSize {
|
||||
lump: LumpType,
|
||||
element_size: usize,
|
||||
lump_size: usize,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue