Devilution
Diablo devolved - magic behind the 1996 computer game

◆ Cl2BlitLightSafe()

void Cl2BlitLightSafe ( BYTE *  pDecodeTo,
BYTE *  pRLEBytes,
int  nDataSize,
int  nWidth,
BYTE *  pTable 
)

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

Parameters
pDecodeToThe output buffer
pRLEBytesCL2 pixel stream (run-length encoded)
nDataSizeSize of CL2 in bytes
nWidthWith of CL2 sprite
pTableLight color table

Definition at line 1157 of file engine.cpp.