1*19971Sdist /* 2*19971Sdist * Copyright (c) 1980 Regents of the University of California. 3*19971Sdist * All rights reserved. The Berkeley software License Agreement 4*19971Sdist * specifies the terms and conditions for redistribution. 5*19971Sdist */ 6*19971Sdist 715436Sralph #ifndef lint 8*19971Sdist static char sccsid[] = "@(#)line.c 5.1 (Berkeley) 05/07/85"; 9*19971Sdist #endif not lint 1015436Sralph 1115436Sralph #include "dumb.h" 1215436Sralph 1315436Sralph line(x0, y0, x1, y1) 1415436Sralph int x0, y0, x1, y1; 1515436Sralph { 1615436Sralph int x,y; 1715436Sralph 1815436Sralph scale(x0, y0); 1915436Sralph x = x1; 2015436Sralph y = y1; 2115436Sralph scale(x, y); 2215436Sralph currentx = x0; 2315436Sralph currenty = y0; 2415436Sralph screenmat[currentx][currenty] = '*'; 2515436Sralph dda_line('*', x0, y0, x1, y1); 2615436Sralph } 27