Devilution
Diablo devolved - magic behind the 1996 computer game

◆ CelDrawLightRedSafe()

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

Same as CelDrawLightRed but checks for drawing outside the buffer.

Parameters
sxBack buffer coordinate
syBack buffer coordinate
pCelBuffCel data
nCelCEL frame number
nWidthWidth of cel
lightLight shade to use

Definition at line 450 of file engine.cpp.