diff options
| author | robojumper <robojumper@gmail.com> | 2026-01-18 12:27:37 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-01-18 12:27:37 +0100 |
| commit | 679541bee2a8053a1a1a8e1493886512d5bda5f9 (patch) | |
| tree | fd74077c99baf915e78ab0f595c5929d70325b83 /src/egg/gfx/eggLightTexture.cpp | |
| parent | df5bd1a7b50bf21f2ea9bd250a4f64053c0ac431 (diff) | |
More symbols from NSMBW
Diffstat (limited to 'src/egg/gfx/eggLightTexture.cpp')
| -rw-r--r-- | src/egg/gfx/eggLightTexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
