Files
fs2open.github.com/code/graphics/grd3dlight.h
T
taylor 72e567a7b9 remove grd3dparticle.* and grd3dbatch.*, they are obsolete
allow us to build without D3D support under Windows (just define NO_DIRECT3D)
clean up TMAP flags
fix a couple of minor OpenGL state change issues with spec and env map rendering
make sure we build again for OS X (OGL extension functions work a little different there)
render targets always need to be power-of-2 to avoid incomplete buffer issues in the code
when we disable culling in opengl_3dunlit be sure that we re-enable it on exit of function
re-fix screenshots
add true alpha blending support (with cmdline for now since the artwork has the catch up)
draw lines with float positioning, to be more accurate with resizing on non-standard resolutions
don't load cubemaps from file for D3D, not sure how to do it anyway
update geometry batcher code, memory fixes, dynamic stuff, basic fixage, etc.
2006-05-27 17:07:48 +00:00

21 lines
469 B
C

#ifndef _GRD3DLIGHT_H_
#define _GRD3DLIGHT_H_
#ifndef NO_DIRECT3D
struct light;
int gr_d3d_make_light(light *light, int idx, int priority);
void gr_d3d_modify_light(light *light, int idx, int priority);
void gr_d3d_destroy_light(int idx);
void gr_d3d_set_light(light *light);
void gr_d3d_reset_lighting();
void gr_d3d_lighting(bool set, bool state);
void gr_d3d_center_alpha(int);
void gr_d3d_set_ambient_light(int r, int g, int b);
#endif // !NO_DIRECT3D
#endif