Add SpotlightAndAmbient parsing
This commit is contained in:
parent
db01667fb2
commit
e3aac88c17
|
@ -166,6 +166,7 @@ public class DbFile
|
||||||
"P$AnimLight" => new PropertyChunk<PropAnimLight>(),
|
"P$AnimLight" => new PropertyChunk<PropAnimLight>(),
|
||||||
"P$LightColo" => new PropertyChunk<PropLightColor>(),
|
"P$LightColo" => new PropertyChunk<PropLightColor>(),
|
||||||
"P$Spotlight" => new PropertyChunk<PropSpotlight>(),
|
"P$Spotlight" => new PropertyChunk<PropSpotlight>(),
|
||||||
|
"P$SpotAmb" => new PropertyChunk<PropSpotlightAndAmbient>(),
|
||||||
"P$RenderAlp" => new PropertyChunk<PropFloat>(),
|
"P$RenderAlp" => new PropertyChunk<PropFloat>(),
|
||||||
"LD$MetaProp" => new LinkDataMetaProp(),
|
"LD$MetaProp" => new LinkDataMetaProp(),
|
||||||
_ when entryName.StartsWith("L$") => new LinkChunk(),
|
_ when entryName.StartsWith("L$") => new LinkChunk(),
|
||||||
|
|
|
@ -103,6 +103,7 @@ public class ObjectHierarchy
|
||||||
AddProp<PropAnimLight>("P$AnimLight");
|
AddProp<PropAnimLight>("P$AnimLight");
|
||||||
AddProp<PropLightColor>("P$LightColo");
|
AddProp<PropLightColor>("P$LightColo");
|
||||||
AddProp<PropSpotlight>("P$Spotlight");
|
AddProp<PropSpotlight>("P$Spotlight");
|
||||||
|
AddProp<PropSpotlightAndAmbient>("P$SpotAmb");
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Work out if there's some nice way to automatically decide if we inherit
|
// TODO: Work out if there's some nice way to automatically decide if we inherit
|
||||||
|
|
Loading…
Reference in New Issue