1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 18:54:05 +02:00

add Negated to codegen

This commit is contained in:
Quaternions 2025-02-17 11:01:21 -08:00
commit ac66462227

View file

@ -1179,7 +1179,7 @@ pub struct EnvWind {
#[derive(Debug, Clone, Deserialize)]
pub struct FilterActivatorClass<'a> {
pub filterclass: &'a str,
pub negated: &'a str,
pub negated: Negated,
pub origin: Vector,
pub targetname: &'a str,
}
@ -1187,7 +1187,7 @@ pub struct FilterActivatorClass<'a> {
pub struct FilterActivatorName<'a> {
#[serde(default)]
pub filtername: Option<&'a str>,
pub negated: &'a str,
pub negated: Negated,
#[serde(default)]
pub onfail: Option<&'a str>,
#[serde(default)]
@ -1198,7 +1198,7 @@ pub struct FilterActivatorName<'a> {
#[derive(Debug, Clone, Deserialize)]
pub struct FilterDamageType<'a> {
pub damagetype: u8,
pub negated: &'a str,
pub negated: Negated,
pub origin: Vector,
#[serde(default)]
pub targetname: Option<&'a str>,