2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Work on CFluidPlaneCPU

This commit is contained in:
Jack Andersen
2017-08-09 21:05:27 -10:00
parent 3650a58a1e
commit dc637f251d
18 changed files with 816 additions and 94 deletions

View File

@@ -457,7 +457,7 @@ void CActorLights::BuildDynamicLightList(const CStateManager& mgr, const zeus::C
x299_26_ = false;
x144_dynamicLights.clear();
if (!x29a_)
if (!x29a_findNearestDynamicLights)
{
for (const CLight& light : mgr.GetDynamicLightList())
{
@@ -555,6 +555,13 @@ void CActorLights::ActivateLights(CBooModel& model) const
}
}
void CActorLights::DisableAreaLights()
{
x2b8_maxAreaLights = 0;
x298_26_hasAreaLights = false;
x298_28_inArea = false;
}
const CLight& CActorLights::GetLight(u32 idx) const
{
if (x298_28_inArea)