DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CFakePointLight Class Reference

#include <fakepointlight.hpp>

Public Member Functions

 CFakePointLight ()
 

Public Attributes

sceVu0FVECTOR pos
 
float colour [4]
 
float inner_range
 
float outer_range
 
s32 used
 
float source_w
 

Detailed Description

Lights the world about one point.

Definition at line 15 of file fakepointlight.hpp.

Constructor & Destructor Documentation

◆ CFakePointLight()

CFakePointLight::CFakePointLight ( )

Makes a light that is white, and that reaches from ten units away to seventy.

Mangled name:
__ct__15CFakePointLightFv
Address:
0x156B60
Size:
0x34

Definition at line 6 of file fakepointlight.cpp.

Member Data Documentation

◆ pos

sceVu0FVECTOR CFakePointLight::pos

World position that the light comes from.

Definition at line 17 of file fakepointlight.hpp.

◆ colour

float CFakePointLight::colour[4]

Colour that the light gives.

Definition at line 18 of file fakepointlight.hpp.

◆ inner_range

float CFakePointLight::inner_range

Distance up to which the light gives its whole colour.

Definition at line 19 of file fakepointlight.hpp.

◆ outer_range

float CFakePointLight::outer_range

Distance past which the light gives nothing.

Definition at line 20 of file fakepointlight.hpp.

◆ used

s32 CFakePointLight::used

1 while the slot lights something.

Definition at line 21 of file fakepointlight.hpp.

◆ source_w

float CFakePointLight::source_w

W component of the position the light was set from; -1 while the slot is cleared.

Definition at line 22 of file fakepointlight.hpp.