Devilution
Diablo devolved - magic behind the 1996 computer game

◆ CelClippedDrawSafe()

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

Same as CelClippedDraw but checks for drawing outside the buffer.

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

Definition at line 246 of file engine.cpp.