Un-ignored: the dev drive is the ground truth the restoration and emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio content). Kept in-repo for the pod-owner community. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
/*
|
|
|
|
File lighting.h
|
|
|
|
header file for lighting.c
|
|
|
|
Phil Atkin
|
|
|
|
(c) Division Ltd. 1991
|
|
|
|
*/
|
|
|
|
#ifdef lighting_h
|
|
#else
|
|
#define lighting_h
|
|
|
|
#include "pazpl5.h"
|
|
|
|
|
|
extern void phong_shade ( VSTRIP *v,
|
|
MATERIAL *surface,
|
|
LIGHTSOURCE *bulbs,
|
|
float *phong_table,
|
|
float normfactor,
|
|
int normals );
|
|
|
|
extern void white_phong_shade ( VSTRIP *v,
|
|
MATERIAL *surface,
|
|
LIGHTSOURCE *bulbs,
|
|
float *phong_table,
|
|
float normfactor,
|
|
int normals );
|
|
|
|
extern float *compute_phong_table ( float power );
|
|
extern void init_phong ( void );
|
|
extern void whiteizeBulb ( LIGHTSOURCE *bulb );
|
|
extern LIGHTSOURCE *reorderLights ( LIGHTSOURCE **head );
|
|
extern void traceLights ( LIGHTSOURCE *head );
|
|
extern int keep_this_bulb ( LIGHTSOURCE *bulb, POINT c, POINT p );
|
|
|
|
extern float *PAZ_phong_table;
|
|
extern float *Hvec[32];
|
|
#endif
|