1
0
Fork 0
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:
Robin Appelman 2023-12-20 19:40:12 +01:00
commit dde4ec2a83
3 changed files with 9 additions and 2 deletions

2
Cargo.lock generated
View file

@ -457,7 +457,7 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "vbsp"
version = "0.3.0"
version = "0.4.0"
dependencies = [
"ahash",
"arrayvec",

View file

@ -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"

View file

@ -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")]