1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00

include Lump version in LumpReader

This commit is contained in:
Quaternions 2025-02-17 08:52:34 -08:00 committed by Robin Appelman
commit 8d2ea3d6fb
4 changed files with 27 additions and 11 deletions

View file

@ -85,6 +85,12 @@ pub struct Header {
pub version: BspVersion,
}
#[derive(Clone, Copy, Debug, Default)]
pub struct LumpArgs {
pub length: usize,
pub version: u32,
}
#[derive(Clone, Copy, Debug, Default, BinRead)]
#[br(little)]
pub struct LumpEntry {