mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
add more brush entity types
This commit is contained in:
parent
7a491f8627
commit
dde4ec2a83
3 changed files with 9 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -457,7 +457,7 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|||
|
||||
[[package]]
|
||||
name = "vbsp"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"arrayvec",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "vbsp"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||
homepage = "https://github.com/icewind1991/vbsp"
|
||||
repository = "https://github.com/icewind1991/vbsp"
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ mod typed {
|
|||
use vbsp_derive::Entity;
|
||||
|
||||
#[derive(Debug, Clone, Entity)]
|
||||
#[non_exhaustive]
|
||||
pub enum Entity<'a> {
|
||||
#[entity(name = "point_spotlight")]
|
||||
SpotLight(SpotLight),
|
||||
|
|
@ -220,6 +221,12 @@ mod typed {
|
|||
ObserverPoint(ObserverPoint<'a>),
|
||||
#[entity(name = "func_brush")]
|
||||
Brush(BrushEntity<'a>),
|
||||
#[entity(name = "func_illusionary")]
|
||||
BrushIllusionary(BrushEntity<'a>),
|
||||
#[entity(name = "func_wall")]
|
||||
BrushWall(BrushEntity<'a>),
|
||||
#[entity(name = "func_wall_toggle")]
|
||||
BrushWallToggle(BrushEntity<'a>),
|
||||
#[entity(name = "item_ammopack_small")]
|
||||
AmmoPackSmall(AmmoPack),
|
||||
#[entity(name = "item_ammopack_medium")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue