From 679541bee2a8053a1a1a8e1493886512d5bda5f9 Mon Sep 17 00:00:00 2001 From: robojumper Date: Sun, 18 Jan 2026 12:27:37 +0100 Subject: More symbols from NSMBW --- src/egg/gfx/eggLightTexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/egg/gfx/eggLightTexture.cpp') diff --git a/src/egg/gfx/eggLightTexture.cpp b/src/egg/gfx/eggLightTexture.cpp index b8b823ca..3452484b 100644 --- a/src/egg/gfx/eggLightTexture.cpp +++ b/src/egg/gfx/eggLightTexture.cpp @@ -308,7 +308,7 @@ void LightTexture::initDrawSetting(u16 u1, u16 u2, u16 u3, u16 u4) { GXSetTevSwapModeTable(GX_TEV_SWAP0, GX_CH_RED, GX_CH_GREEN, GX_CH_BLUE, GX_CH_ALPHA); } -void LightTexture::getTexDimensions(u16 *x, u16 *y, u16 *w, u16 *h, u16 count) { +void LightTexture::getRequiredPosAndSize(u16 *x, u16 *y, u16 *w, u16 *h, u16 count) { *x = sDrawPosX; *y = sDrawPosY; @@ -550,7 +550,7 @@ void LightTexture::addLight(const EGG::LightObject &obj) { nw4r::math::VEC3 vec; GXColor color; - obj.fn_804A9C30(this, &vec, &color); + obj.CalcFinalDirColor(*this, &vec, &color); int remainder = field_0x9F % field_0x9D; if (field_0x9F == field_0x9D) { GXSetBlendMode(GX_BM_BLEND, GX_BL_ONE, GX_BL_ONE, GX_LO_CLEAR); -- cgit v1.2.3