1
0
Fork 0
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:
Robin Appelman 2022-12-07 22:03:32 +01:00
commit e132a34a00
6 changed files with 69 additions and 7 deletions

View file

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