Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
lights.c File Reference

FIGHTSTG's stage lights. More...

Include dependency graph for lights.c:

Go to the source code of this file.

Functions

void FIGHTSTG_updateLights (Lights *task)
 The stage lights' task: steps their fade, then sets the three flat lights and the ambient color for the layer each frame.
 
void FIGHTSTG_setLights (Lights *task, LightSet *set)
 Lights.set: switches to SET at once.
 
void FIGHTSTG_fadeLights (Lights *task, LightSet *from, LightSet *to, s32 time)
 Lights.fade: fades from FROM (NULL for the current lights) to TO over TIME.
 
LightSet * FIGHTSTG_getStageLights (Lights *task, s32 stage)
 Lights.getStageLights: fight stage STAGE's lights.
 
Lights * FIGHTSTG_createLights (s32 layerId)
 Creates the stage lights (id 0x13) for layer layerId.
 

Detailed Description

FIGHTSTG's stage lights.

Definition in file lights.c.

Function Documentation

◆ FIGHTSTG_updateLights()

void FIGHTSTG_updateLights ( Lights *  task)

The stage lights' task: steps their fade, then sets the three flat lights and the ambient color for the layer each frame.

Definition at line 7 of file lights.c.

Referenced by FIGHTSTG_createLights().

Here is the caller graph for this function:

◆ FIGHTSTG_setLights()

void FIGHTSTG_setLights ( Lights *  task,
LightSet *  set 
)

Lights.set: switches to SET at once.

Definition at line 92 of file lights.c.

Referenced by FIGHTSTG_createLights().

Here is the caller graph for this function:

◆ FIGHTSTG_fadeLights()

void FIGHTSTG_fadeLights ( Lights *  task,
LightSet *  from,
LightSet *  to,
s32  time 
)

Lights.fade: fades from FROM (NULL for the current lights) to TO over TIME.

Definition at line 98 of file lights.c.

Referenced by FIGHTSTG_createLights().

Here is the caller graph for this function:

◆ FIGHTSTG_getStageLights()

LightSet * FIGHTSTG_getStageLights ( Lights *  task,
s32  stage 
)

Lights.getStageLights: fight stage STAGE's lights.

Definition at line 111 of file lights.c.

Referenced by FIGHTSTG_createLights().

Here is the caller graph for this function:

◆ FIGHTSTG_createLights()

Lights * FIGHTSTG_createLights ( s32  layerId)

Creates the stage lights (id 0x13) for layer layerId.

Definition at line 118 of file lights.c.

Referenced by setUpBattle(), and WFIGHTMN_updateMenu().

Here is the call graph for this function:
Here is the caller graph for this function: