Each window has a set of N_LIGHTS lights, each of which can be configured with different types, attributes, and on/off state. The routines which control these are:
public void G_set_ambient_light(
Gwindow window,
Colour colour )
public void G_define_light(
Gwindow window,
int light_index,
Light_types type,
Colour colour,
Vector *direction,
Point *position,
Real spot_exponent,
Real spot_angle )
public void G_set_light_state(
Gwindow window,
int light_index,
BOOLEAN state )