path normalization

This commit is contained in:
Robin Appelman 2023-12-19 17:48:32 +01:00
commit 0683c4f4f2
11 changed files with 112 additions and 39 deletions

View file

@ -20,6 +20,7 @@ worldvertextransition(WorldVertexTransitionMaterial(
r#$seamless_scale: 1.0,
r#$alpha: 1.0,
r#$alphatest: false,
r#$alphatestreference: 1.0,
r#$distancealpha: false,
r#$nocull: false,
r#$translucent: false,

View file

@ -18,6 +18,7 @@ lightmappedgeneric(LightMappedGenericMaterial(
r#$seamless_scale: 1.0,
r#$alpha: 1.0,
r#$alphatest: false,
r#$alphatestreference: 1.0,
r#$distancealpha: false,
r#$nocull: false,
r#$translucent: false,

View file

@ -3,14 +3,16 @@ source: tests/parse.rs
expression: result
---
unlitgeneric(UnlitGenericMaterial(
r#$basetexture: "vgui\\pve\\mvm_backpack",
r#$basetexture: "vgui/pve/mvm_backpack",
r#$surfaceprop: None,
r#$model: false,
r#$color: Vec3((1.0, 1.0, 1.0)),
r#$alpha: 1.0,
r#$alphatest: false,
r#$alphatestreference: 1.0,
r#$nocull: false,
r#$translucent: true,
r#$bumpmap: None,
r#$ignorez: true,
r#$nofog: false,
r#$receiveflashlight: false,

View file

@ -18,6 +18,7 @@ lightmappedgeneric(LightMappedGenericMaterial(
r#$seamless_scale: 1.0,
r#$alpha: 1.0,
r#$alphatest: false,
r#$alphatestreference: 1.0,
r#$distancealpha: false,
r#$nocull: false,
r#$translucent: false,