ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/aed.c
(Generate patch)

Comparing ray/src/rt/aed.c (file contents):
Revision 1.4 by greg, Tue Oct 3 14:06:51 1989 UTC vs.
Revision 1.6 by greg, Mon Jan 8 15:15:15 1990 UTC

# Line 52 | Line 52 | static char SCCSid[] = "$SunId$ LBL";
52   #define  MINPIX         8               /* minimum hardware color */
53  
54   #define  NCOLS          512             /* maximum # columns for output */
55 < #define  NROWS          512-COMHT       /* maximum # rows for output */
55 > #define  NROWS          483-COMHT       /* maximum # rows for output */
56   #define  COMHT          16              /* height of command line */
57   #define  COMCW          63              /* maximum chars on command line */
58  
# Line 62 | Line 62 | int  aed_close(), aed_clear(), aed_paintr(),
62   static struct driver  aed_driver = {
63          aed_close, aed_clear, aed_paintr, aed_getcur,
64          aed_comout, NULL,
65 <        NCOLS, NROWS
65 >        1.0, NCOLS, NROWS
66   };
67  
68  
69   struct driver *
70 < aed_init(name)                          /* open AED */
71 < char  *name;
70 > aed_init(name, id)                      /* open AED */
71 > char  *name, *id;
72   {
73          if (ttyset(&aed_driver, fileno(stdin)) < 0) {   /* set tty driver */
74                  stderr_v("cannot access terminal\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines