Devilution
Diablo devolved - magic behind the 1996 computer game

◆ DrawLine()

void DrawLine ( int  x0,
int  y0,
int  x1,
int  y1,
BYTE  col 
)

Draw a line on the back buffer.

Parameters
x0Back buffer coordinate
y0Back buffer coordinate
x1Back buffer coordinate
y1Back buffer coordinate
colColor index from current palette

Definition at line 657 of file engine.cpp.