2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +00:00

CGuiLight imps

This commit is contained in:
Jack Andersen
2016-03-16 10:49:35 -10:00
parent 22ca6d025b
commit a81bc3c7a2
17 changed files with 388 additions and 32 deletions

View File

@@ -119,15 +119,25 @@ struct FRME : BigDNA
struct LITEInfo : IWidgetInfo
{
DECL_DNA
Value<atUint32> unk1;
Value<float> unk2;
Value<float> unk3;
Value<float> unk4;
Value<float> unk5;
Value<float> unk6;
Value<float> unk7;
Value<atUint32> unk8;
DECL_EXPLICIT_DNA
enum class ELightType : atUint32
{
Spot = 0,
Point = 1,
Directional = 2,
LocalAmbient = 3,
Custom = 4,
};
Value<ELightType> type;
Value<float> distC;
Value<float> distL;
Value<float> distQ;
Value<float> angC;
Value<float> angL;
Value<float> angQ;
Value<atUint32> loadedIdx;
Value<float> cutoff; /* Spot only */
};
struct ENRGInfo : IWidgetInfo