You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
599 B
18 lines
599 B
#ifndef __GENLIGHT_H__
|
|
#define __GENLIGHT_H__
|
|
|
|
typedef struct _SpecularTable
|
|
{
|
|
LIST_MEMBER(_SpecularTable) list;
|
|
float power; /* shininess power */
|
|
unsigned char table[260]; /* space for overflows */
|
|
} SpecularTable;
|
|
|
|
void RLDDI_DoLights(D3DVALUE ar, D3DVALUE ag, D3DVALUE ab, int count,
|
|
D3DLIGHTINGELEMENT* elements, size_t in_size,
|
|
unsigned long *out, size_t out_size, int lightc,
|
|
D3DI_LIGHT* lightv, D3DMATERIAL* mat, D3DVALUE gain,
|
|
SpecularTable* tab);
|
|
|
|
|
|
#endif
|