|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)line.c 4.1 (Berkeley) 6/27/83"; ! 3: #endif ! 4: ! 5: extern vti; ! 6: extern xnow,ynow; ! 7: line(x0,y0,x1,y1){ ! 8: struct{char x,c; int x0,y0,x1,y1;} p; ! 9: p.c = 3; ! 10: p.x0 = xsc(x0); ! 11: p.y0 = ysc(y0); ! 12: p.x1 = xnow = xsc(x1); ! 13: p.y1 = ynow = ysc(y1); ! 14: write(vti,&p.c,9); ! 15: } ! 16: cont(x0,y0){ ! 17: line(xnow,ynow,xsc(x0),ysc(y0)); ! 18: return; ! 19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.