FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "graphics/gropengl.h"
Go to the source code of this file.
Classes | |
struct | ogl_light_color |
struct | opengl_light |
Functions | |
int | gr_opengl_make_light (light *fs_light, int idx, int priority) |
void | gr_opengl_modify_light (light *fs_light, int idx, int priority) |
void | gr_opengl_destroy_light (int idx) |
void | gr_opengl_set_light (light *fs_light) |
void | gr_opengl_reset_lighting () |
void | gr_opengl_set_lighting (bool set, bool state) |
void | gr_opengl_center_alpha (int type) |
void | gr_opengl_set_center_alpha (int type) |
void | gr_opengl_set_ambient_light (int red, int green, int blue) |
void | gr_opengl_set_light_factor (float factor) |
void | opengl_change_active_lights (int pos, int d_offset=0) |
void | opengl_light_init () |
void | opengl_light_shutdown () |
void | opengl_default_light_settings (int amb=1, int emi=1, int spec=1) |
Variables | |
bool | lighting_is_enabled |
GLint | GL_max_lights |
int | Num_active_gl_lights |
int | GL_center_alpha |
float | GL_light_factor |
Definition at line 379 of file gropengllight.cpp.
Definition at line 351 of file gropengllight.cpp.
Definition at line 342 of file gropengllight.cpp.
Definition at line 347 of file gropengllight.cpp.
void gr_opengl_reset_lighting | ( | ) |
Definition at line 459 of file gropengllight.cpp.
Definition at line 608 of file gropengllight.cpp.
Definition at line 384 of file gropengllight.cpp.
Definition at line 355 of file gropengllight.cpp.
Definition at line 454 of file gropengllight.cpp.
void gr_opengl_set_lighting | ( | bool | set, |
bool | state | ||
) |
Definition at line 584 of file gropengllight.cpp.
Definition at line 235 of file gropengllight.cpp.
Definition at line 536 of file gropengllight.cpp.
void opengl_light_init | ( | ) |
Definition at line 507 of file gropengllight.cpp.
void opengl_light_shutdown | ( | ) |
Definition at line 499 of file gropengllight.cpp.
int GL_center_alpha |
Definition at line 35 of file gropengllight.cpp.
float GL_light_factor |
Definition at line 36 of file gropengllight.cpp.
GLint GL_max_lights |
Definition at line 45 of file gropengllight.cpp.
bool lighting_is_enabled |
Definition at line 33 of file gropengllight.cpp.
int Num_active_gl_lights |
Definition at line 34 of file gropengllight.cpp.