Devilution
Diablo devolved - magic behind the 1996 computer game

◆ Cl2ApplyTrans()

void Cl2ApplyTrans ( BYTE *  p,
BYTE *  ttbl,
int  nCel 
)

Apply the color swaps to a CL2 sprite.

Parameters
pCL2 buffer
ttblPalette translation table
nCelFrame number in CL2 file

Definition at line 859 of file engine.cpp.