27 #include "engines/icb/common/px_common.h" 28 #include "engines/icb/gfx/psx_pcdefines.h" 32 enum pxLightType { OMNI_PX_LIGHT, FREE_SPOT_PX_LIGHT, TARGET_SPOT_PX_LIGHT, FREE_DIRECT_PX_LIGHT, TARGET_DIRECT_PX_LIGHT, GLOBAL_PX_LIGHT };
53 uint32 nearAtten_start;
56 uint32 farAtten_start;
63 uint32 affect_diffuse;
64 uint32 affect_specular;
73 uint32 Fetch_number_of_items()
const {
return num_of_lights; }
74 inline const _pxLightState *Fetch_item_by_number(uint32 number)
const;
81 inline const _pxLightState *_pxLights::Fetch_item_by_number(uint32 number)
const {
82 if (number < num_of_lights) {
83 return ((
_pxLightState *)(((
char *)
this) + (4 + (number * 144))));
Definition: px_capri_maths.h:53
Definition: px_lights.h:68
Definition: px_lights.h:34
Definition: px_capri_maths.h:38