mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
game lump/static props
This commit is contained in:
parent
d628f898d0
commit
15c1c4e6eb
9 changed files with 423 additions and 50 deletions
8
src/handle/game.rs
Normal file
8
src/handle/game.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use super::Handle;
|
||||
use crate::data::*;
|
||||
|
||||
impl Handle<'_, StaticPropLump> {
|
||||
pub fn model(&self) -> &str {
|
||||
self.bsp.static_props.dict.name[self.prop_type as usize].as_str()
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
mod displacement;
|
||||
mod face;
|
||||
mod game;
|
||||
|
||||
use crate::data::*;
|
||||
use crate::Bsp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue