Match and link CGuiLight

Former-commit-id: 129709bc0d
This commit is contained in:
2023-01-13 16:53:27 -08:00
parent ea06260f9f
commit 3c22eeb6ed
20 changed files with 252 additions and 68 deletions

View File

@@ -0,0 +1,30 @@
#ifndef _CGUILIGHT
#define _CGUILIGHT
#include "GuiSys/CGuiWidget.hpp"
#include "Kyoto/Graphics/CLight.hpp"
class IObjectStore;
class CGuiLight : public CGuiWidget {
public:
static CGuiLight* Create(CGuiFrame* frame, CInputStream& in, IObjectStore* sp);
CGuiLight(const CGuiWidgetParms& parms, const CLight& light);
~CGuiLight();
virtual void SetIsVisible(const bool visible);
CLight BuildLight() const;
FourCC GetWidgetTypeID() const;
public:
ELightType xb8_type;
float xbc_spotCutoff;
float xc0_distC;
float xc4_distL;
float xc8_distQ;
float xcc_angleC;
float xd0_angleL;
float xd4_angleQ;
u32 xd8_lightId;
CColor xdc_ambColor;
};
#endif // _CGUILIGHT