diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-05-29 22:50:43 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-05-29 22:50:43 -0400 |
| commit | 73fee556758b6d251888b5d6a69c303378ed02f5 (patch) | |
| tree | 8578381213a95c7ddc20a717ab046dbba5b45188 /src/d/a/obj/d_a_obj_tbox.cpp | |
| parent | 28384c2ea5f3cec89a70718aa4ed81256d1eb9df (diff) | |
some progress
Diffstat (limited to 'src/d/a/obj/d_a_obj_tbox.cpp')
| -rw-r--r-- | src/d/a/obj/d_a_obj_tbox.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/d/a/obj/d_a_obj_tbox.cpp b/src/d/a/obj/d_a_obj_tbox.cpp index eea6e056..4859ee76 100644 --- a/src/d/a/obj/d_a_obj_tbox.cpp +++ b/src/d/a/obj/d_a_obj_tbox.cpp @@ -1977,14 +1977,14 @@ void dAcTbox_c::executeState_Open() { if (mVariant == GODDESS) { if (0.4f < field_0x11EC) { sLib::chase(&field_0x11EC, 0.4f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } else if (mVariant != SMALL) { // exact same code as in the other branch if (0.4f < field_0x11EC) { sLib::chase(&field_0x11EC, 0.4f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } @@ -2010,13 +2010,13 @@ void dAcTbox_c::executeState_PresentItem() { if (mVariant == GODDESS) { if (0.4f < field_0x11EC) { sLib::chase(&field_0x11EC, 0.4f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } else if (mVariant != SMALL) { if (0.4f < field_0x11EC) { sLib::chase(&field_0x11EC, 0.4f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } @@ -2059,7 +2059,7 @@ void dAcTbox_c::executeState_Close() { if (field_0x11FC <= 0) { if (field_0x11EC < 1.0f) { sLib::chase(&field_0x11EC, 1.0f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } else { @@ -2088,7 +2088,7 @@ void dAcTbox_c::executeState_Close() { if (field_0x11FC <= 0) { if (field_0x11EC < 1.0f) { sLib::chase(&field_0x11EC, 1.0f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } else { @@ -2140,7 +2140,7 @@ void dAcTbox_c::executeState_Wait() { if (field_0x11FC <= 0) { if (field_0x11EC < 1.0f) { sLib::chase(&field_0x11EC, 1.0f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } } else { @@ -2165,7 +2165,7 @@ void dAcTbox_c::executeState_GoddessWait() { if (field_0x11FC <= 0) { if (field_0x11EC < 1.0f) { sLib::chase(&field_0x11EC, 1.0f, getSomeRate()); - BlurAndPaletteManager::GetInstance().fn_80022AF0(field_0x11EC); + BlurAndPaletteManager::GetInstance().setLightFilter(field_0x11EC); // this is apparently not needed here // BlurAndPaletteManager::GetInstance().setField_0x2F20(field_0x11EC); } @@ -2232,14 +2232,14 @@ void dAcTbox_c::unsetShouldCloseFlag() { void dAcTbox_c::fn_8026D370() { if (isNotSmall()) { field_0x11F0 = 1; - BlurAndPaletteManager::GetInstance().fn_800223A0(&mLightInfo); + BlurAndPaletteManager::GetInstance().efplight_set(&mLightInfo); } } void dAcTbox_c::fn_8026D3C0() { if (mAnmChr.isStop() && mAnmTexSrt1.isStop(0) && mAnmMatClr2.isStop(0)) { field_0x11F0 = 0; - BlurAndPaletteManager::GetInstance().fn_80022440(&mLightInfo); + BlurAndPaletteManager::GetInstance().efplight_cut(&mLightInfo); } else { mAnmChr.play(); mAnmTexSrt1.play(); |
