From 51e3a3a9e72c5612d6ff26df9d5af2181e1d0d25 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Thu, 26 Sep 2024 16:45:48 +0100 Subject: [PATCH] Add prop spotlight parsing --- KeepersCompound.LGS/Database/File.cs | 1 + KeepersCompound.LGS/Database/ObjectHierarchy.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/KeepersCompound.LGS/Database/File.cs b/KeepersCompound.LGS/Database/File.cs index 6cad85d..26cea6e 100644 --- a/KeepersCompound.LGS/Database/File.cs +++ b/KeepersCompound.LGS/Database/File.cs @@ -144,6 +144,7 @@ public class DbFile "P$OTxtRepr3" => new PropertyChunk(), "P$Light" => new PropertyChunk(), "P$LightColo" => new PropertyChunk(), + "P$Spotlight" => new PropertyChunk(), "P$RenderAlp" => new PropertyChunk(), "LD$MetaProp" => new LinkDataMetaProp(), _ when entryName.StartsWith("L$") => new LinkChunk(), diff --git a/KeepersCompound.LGS/Database/ObjectHierarchy.cs b/KeepersCompound.LGS/Database/ObjectHierarchy.cs index 921ded2..4fbc59d 100644 --- a/KeepersCompound.LGS/Database/ObjectHierarchy.cs +++ b/KeepersCompound.LGS/Database/ObjectHierarchy.cs @@ -102,6 +102,7 @@ public class ObjectHierarchy AddProp("P$RenderAlp"); AddProp("P$Light"); AddProp("P$LightColo"); + AddProp("P$Spotlight"); } public T GetProperty(int objectId, string propName) where T : Property