Devilution
Diablo devolved - magic behind the 1996 computer game

◆ CelDrawLight()

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

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

Parameters
sxBack buffer coordinate
syBack buffer coordinate
pCelBuffCel data
nCelCEL frame number
nWidthWidth of sprite

Definition at line 104 of file engine.cpp.