Devilution
Diablo devolved - magic behind the 1996 computer game

◆ Cl2DrawLightTbl()

void Cl2DrawLightTbl ( int  sx,
int  sy,
BYTE *  pCelBuff,
int  nCel,
int  nWidth,
char  light 
)

Blit CL2 sprite, and apply a given lighting, to the back buffer at the given coordianates.

Parameters
sxBack buffer coordinate
syBack buffer coordinate
pCelBuffCL2 buffer
nCelCL2 frame number
nWidthWidth of sprite
lightLight shade to use

Definition at line 1123 of file engine.cpp.