1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +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

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