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:
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]]
|
[[package]]
|
||||||
name = "vbsp"
|
name = "vbsp"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"arrayvec",
|
"arrayvec",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "vbsp"
|
name = "vbsp"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
homepage = "https://github.com/icewind1991/vbsp"
|
homepage = "https://github.com/icewind1991/vbsp"
|
||||||
repository = "https://github.com/icewind1991/vbsp"
|
repository = "https://github.com/icewind1991/vbsp"
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,7 @@ mod typed {
|
||||||
use vbsp_derive::Entity;
|
use vbsp_derive::Entity;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Entity)]
|
#[derive(Debug, Clone, Entity)]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum Entity<'a> {
|
pub enum Entity<'a> {
|
||||||
#[entity(name = "point_spotlight")]
|
#[entity(name = "point_spotlight")]
|
||||||
SpotLight(SpotLight),
|
SpotLight(SpotLight),
|
||||||
|
|
@ -220,6 +221,12 @@ mod typed {
|
||||||
ObserverPoint(ObserverPoint<'a>),
|
ObserverPoint(ObserverPoint<'a>),
|
||||||
#[entity(name = "func_brush")]
|
#[entity(name = "func_brush")]
|
||||||
Brush(BrushEntity<'a>),
|
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")]
|
#[entity(name = "item_ammopack_small")]
|
||||||
AmmoPackSmall(AmmoPack),
|
AmmoPackSmall(AmmoPack),
|
||||||
#[entity(name = "item_ammopack_medium")]
|
#[entity(name = "item_ammopack_medium")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue