Devilution
Diablo devolved - magic behind the 1996 computer game

◆ Cl2DrawLight()

void Cl2DrawLight ( int  sx,
int  sy,
BYTE *  pCelBuff,
int  nCel,
int  nWidth 
)

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

Parameters
sxBack buffer coordinate
syBack buffer coordinate
pCelBuffCL2 buffer
nCelCL2 frame number
nWidthWidth of sprite

Definition at line 1237 of file engine.cpp.