From e6d3489b11627f178cb7c7b06a88a6babd961418 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 22 Sep 2024 13:18:11 +0100 Subject: [PATCH] Actually parse light and lightcolor props lol --- KeepersCompound.LGS/Database/File.cs | 2 ++ KeepersCompound.LGS/Database/ObjectHierarchy.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/KeepersCompound.LGS/Database/File.cs b/KeepersCompound.LGS/Database/File.cs index 2d4bb2e..6cad85d 100644 --- a/KeepersCompound.LGS/Database/File.cs +++ b/KeepersCompound.LGS/Database/File.cs @@ -142,6 +142,8 @@ public class DbFile "P$OTxtRepr1" => new PropertyChunk(), "P$OTxtRepr2" => new PropertyChunk(), "P$OTxtRepr3" => new PropertyChunk(), + "P$Light" => new PropertyChunk(), + "P$LightColo" => 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 e76d3cc..9aec85d 100644 --- a/KeepersCompound.LGS/Database/ObjectHierarchy.cs +++ b/KeepersCompound.LGS/Database/ObjectHierarchy.cs @@ -99,6 +99,8 @@ public class ObjectHierarchy AddProp("P$OTxtRepr2"); AddProp("P$OTxtRepr3"); AddProp("P$RenderAlp"); + AddProp("P$Light"); + AddProp("P$LightColo"); } public T GetProperty(int objectId, string propName) where T : Property