mirror of
https://codeberg.org/icewind/vmt-parser.git
synced 2026-08-02 20:34:47 +02:00
fix tests
This commit is contained in:
parent
27a4f9fc38
commit
8513568506
11 changed files with 394 additions and 424 deletions
|
|
@ -2,32 +2,41 @@
|
|||
source: tests/parse.rs
|
||||
expression: patched
|
||||
---
|
||||
lightmappedgeneric(LightMappedGenericMaterial(
|
||||
r#$basetexture: "cp_mountainlab/concrete/concretefloor003",
|
||||
r#$decal: false,
|
||||
r#$detail: Some("overlays/detail001"),
|
||||
r#$surfaceprop: None,
|
||||
r#$basetexturetransform: "center 0.5 0.5 scale 1 1 rotate 0 translate 0 0",
|
||||
r#$color: Vec3((1.0, 1.0, 1.0)),
|
||||
r#$decalscale: 1.0,
|
||||
r#$detailscale: Vec2((1.9, 1.9)),
|
||||
r#$detailblendfactor: 1.0,
|
||||
r#$detailblendmode: 0,
|
||||
r#$modelmaterial: None,
|
||||
r#$pointsamplemagfilter: false,
|
||||
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,
|
||||
r#$bumpmap: Some("concrete/concretefloor007b_height-ssbump"),
|
||||
r#$lightwarptexture: None,
|
||||
r#$selfillum: false,
|
||||
r#$ssbump: false,
|
||||
r#$envmap: None,
|
||||
r#$phong: 0.0,
|
||||
r#$nofog: false,
|
||||
r#$ignorez: false,
|
||||
))
|
||||
{
|
||||
"lightmappedgeneric": {
|
||||
"$basetexture": "cp_mountainlab/concrete/concretefloor003",
|
||||
"$decal": false,
|
||||
"$detail": "overlays/detail001",
|
||||
"$surfaceprop": null,
|
||||
"$basetexturetransform": "center 0.5 0.5 scale 1 1 rotate 0 translate 0 0",
|
||||
"$color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"$decalscale": 1.0,
|
||||
"$detailscale": [
|
||||
1.9,
|
||||
1.9
|
||||
],
|
||||
"$detailblendfactor": 1.0,
|
||||
"$detailblendmode": 0,
|
||||
"$modelmaterial": null,
|
||||
"$pointsamplemagfilter": false,
|
||||
"$seamless_scale": 1.0,
|
||||
"$alpha": 1.0,
|
||||
"$alphatest": false,
|
||||
"$alphatestreference": 1.0,
|
||||
"$distancealpha": false,
|
||||
"$nocull": false,
|
||||
"$translucent": false,
|
||||
"$bumpmap": "concrete/concretefloor007b_height-ssbump",
|
||||
"$lightwarptexture": null,
|
||||
"$selfillum": false,
|
||||
"$ssbump": false,
|
||||
"$envmap": null,
|
||||
"$phong": 0.0,
|
||||
"$nofog": false,
|
||||
"$ignorez": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue