1 #ifndef lint 2 static char sccsid[] = "@(#)line.c 4.1 (Berkeley) 11/10/83"; 3 #endif 4 5 #include "dumb.h" 6 7 line(x0, y0, x1, y1) 8 int x0, y0, x1, y1; 9 { 10 int x,y; 11 12 scale(x0, y0); 13 x = x1; 14 y = y1; 15 scale(x, y); 16 currentx = x0; 17 currenty = y0; 18 screenmat[currentx][currenty] = '*'; 19 dda_line('*', x0, y0, x1, y1); 20 } 21