#ifndef __LIGHTS_H__ #define __LIGHTS_H__ void make_ambient_light(float r, float g, float b, float k0, float k1, float k2, float twoside); void make_directional_light(float r, float g, float b, float ar, float ag, float ab, float x, float y, float z); void make_point_light(float r, float g, float b, float ar, float ag, float ab, float x, float y, float z); void make_spot_light(float r, float g, float b, float ar, float ag, float ab, float posx, float posy, float posz, float dirx, float diry, float dirz, float exp, float ang); void make_material(int id, float r, float g, float b, float ambient, float diffuse, float specular, float shininess, float emission, float alpha); void load_texture(int id, char *texfile); void define_texture(); void define_fog(float density, float start_fog, float end_fog, float r, float g, float b); long get_bytes(FILE *imgfile); /* no header files actually include these */ extern unsigned long *longimagedata(char *file_name); extern void sizeofimage(char *file_name, int *sizex, int *sizey); #endif /* __LIGHTS_H__ */