Devilution
Diablo devolved - magic behind the 1996 computer game

◆ CelClippedDrawLight()

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

Same as CelDrawLight but with the option to skip parts of the top and bottom of the sprite.

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

Definition at line 129 of file engine.cpp.