mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-04 11:04:07 +02:00
add pakfile support
This commit is contained in:
parent
7391f8124d
commit
dbce06b508
5 changed files with 70 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use crate::data::*;
|
||||
use std::num::{ParseFloatError, ParseIntError};
|
||||
use thiserror::Error;
|
||||
use zip::result::ZipError;
|
||||
|
||||
#[non_exhaustive]
|
||||
#[derive(Debug, Error)]
|
||||
|
|
@ -34,6 +35,8 @@ pub enum BspError {
|
|||
Validation(#[from] ValidationError),
|
||||
#[error(transparent)]
|
||||
LumpVersion(UnsupportedLumpVersion),
|
||||
#[error(transparent)]
|
||||
Zip(#[from] ZipError),
|
||||
}
|
||||
|
||||
impl From<binrw::Error> for BspError {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue