Seg Reader

Added the ability to read Seg lumps from the WAD file.
This commit is contained in:
2025-04-08 19:47:15 -04:00
parent 81fd194938
commit 2e2c500155
8 changed files with 110 additions and 2 deletions

9
src/types/seg.rs Normal file
View File

@@ -0,0 +1,9 @@
#[derive(Clone, Debug, PartialEq)]
pub struct Seg {
pub start_vertex: i16,
pub end_vertex: i16,
pub angle: i16,
pub linedef: i16,
pub direction: i16,
pub offset: i16,
}