home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
VOGLE.ZIP
/
VOGLE
/
DRIVERS
/
IBMPC
/
VEGA_DRA.C
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-11
|
323b
|
18 lines
#include "vogle.h"
/*
* vega_draw
*
* For V/EGA
* Draws a line from the current screen spot to x, y
*/
extern unsigned _cur_color;
vega_draw(x, y)
register int x, y;
{
egaline(vdevice.cpVx, vdevice.sizeSy - vdevice.cpVy, x, vdevice.sizeSy - y, _cur_color);
vdevice.cpVx = x;
vdevice.cpVy = y;
}