Implement/match LegoBackgroundColor::SetLightColor and related (#758)

This commit is contained in:
Christian Semmler
2024-03-29 16:50:00 -04:00
committed by GitHub
parent 369f3fba22
commit ed9e9efdab
6 changed files with 61 additions and 17 deletions

View File

@@ -65,10 +65,12 @@ public:
BOOL Create(const TglSurface::CreateStruct&, Tgl::Renderer*);
void Destroy() override; // vtable+0x08
void SetLight(BOOL bDirectionalLight, Tgl::FloatMatrix4& rMatrix);
void SetLightTransform(BOOL bDirectionalLight, Tgl::FloatMatrix4& rMatrix);
void SetLightColor(BOOL bDirectionalLight, float red, float green, float blue);
private:
void SetLight(Tgl::Light* pLight, Tgl::FloatMatrix4& rMatrix);
void SetLightTransform(Tgl::Light* pLight, Tgl::FloatMatrix4& rMatrix);
void SetLightColor(Tgl::Light* pLight, float red, float green, float blue);
Tgl::Light* m_pSunLight; // 0x78
Tgl::Light* m_pDirectionalLight; // 0x7c