Open source remastering of the Freespace 2 engine
scene_lights Class Reference

#include <lighting.h>

Public Member Functions

 scene_lights ()
void addLight (const light *light_ptr)
void setLightFilter (int objnum, const vec3d *pos, float rad)
bool setLights (const light_indexing_info *info)
void resetLightState ()
int getNumStaticLights ()
light_indexing_info bufferLights ()

Detailed Description

Definition at line 59 of file lighting.h.

Constructor & Destructor Documentation

scene_lights::scene_lights ( )

Definition at line 72 of file lighting.h.

Member Function Documentation

void scene_lights::addLight ( const light light_ptr)

Definition at line 1106 of file lighting.cpp.

light_indexing_info scene_lights::bufferLights ( )

Definition at line 1193 of file lighting.cpp.

int scene_lights::getNumStaticLights ( )

Definition at line 1218 of file lighting.cpp.

void scene_lights::resetLightState ( )

Definition at line 1223 of file lighting.cpp.

void scene_lights::setLightFilter ( int  objnum,
const vec3d pos,
float  rad 

Definition at line 1117 of file lighting.cpp.

bool scene_lights::setLights ( const light_indexing_info info)

Definition at line 1229 of file lighting.cpp.

The documentation for this class was generated from the following files: