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

Comparing ray/src/rt/rv2.c (file contents):
Revision 1.28 by greg, Thu Oct 10 12:08:58 1991 UTC vs.
Revision 1.29 by greg, Fri Oct 11 12:12:40 1991 UTC

# Line 22 | Line 22 | static char SCCSid[] = "$SunId$ LBL";
22  
23   #define  CTRL(c)        ('c'-'@')
24  
25 + extern char  VersionID[];
26   extern char  *progname;
27 + extern char  *octname;
28  
29  
30   getframe(s)                             /* get a new frame */
# Line 542 | Line 544 | char  *s;
544   writepict(s)                            /* write the picture to a file */
545   char  *s;
546   {
545        extern char  VersionID[];
547          static char  buf[128];
548          char  *fname;
549          FILE  *fp;
# Line 565 | Line 566 | char  *s;
566                                                  /* write header */
567          fputs(progname, fp);
568          fprintview(&ourview, fp);
569 <        putc('\n', fp);
569 >        if (octname != NULL)
570 >                fprintf(fp, " %s\n", octname);
571 >        else
572 >                putc('\n', fp);
573          fprintf(fp, "SOFTWARE= %s\n", VersionID);
574          if (exposure != 1.0)
575                  fputexpos(exposure, fp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines