implemented generic lighting callback

This commit is contained in:
aap
2020-04-19 13:00:35 +02:00
parent a7de23b47e
commit f47bd33a6a
14 changed files with 566 additions and 42 deletions

View File

@@ -37,7 +37,7 @@ extern IDirect3DDevice9 *d3ddevice;
void setD3dMaterial(D3DMATERIAL9 *mat9);
#endif
void lightingCB(bool32 normals);
void lightingCB(Atomic *atomic);
#define COLOR_ARGB(a, r, g, b) ((rw::uint32)((((a)&0xff)<<24)|(((r)&0xff)<<16)|(((g)&0xff)<<8)|((b)&0xff)))