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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.17 by greg, Thu Nov 30 23:31:34 2017 UTC vs.
Revision 2.20 by greg, Tue Feb 16 20:06:06 2021 UTC

# Line 43 | Line 43 | int    using_stdout = 0;               /* are we using stdout? */
43   int     imm_irrad = 0;                  /* compute immediate irradiance? */
44   int     lim_dist = 0;                   /* limit distance? */
45  
46 < const char      *modname[MAXMODLIST];   /* ordered modifier name list */
47 < int             nmods = 0;              /* number of modifiers */
46 > int     report_intvl = 0;               /* reporting interval (seconds) */
47  
48 + char    **modname = NULL;               /* ordered modifier name list */
49 + int     nmods = 0;                      /* number of modifiers */
50 + int     modasiz = 0;                    /* allocated modifier array size */
51 +
52   void    (*addobjnotify[8])() = {ambnotify, NULL};
53  
54 < char    RCCONTEXT[] = "RC";             /* our special evaluation context */
54 > char    RCCONTEXT[] = "RC.";            /* our special evaluation context */
55  
56  
57   static void
# Line 294 | Line 297 | main(int argc, char *argv[])
297                  case 'M':                       /* modifier file */
298                          check(2,"s");
299                          addmodfile(argv[++i], curout, prms, binval, bincnt);
300 +                        break;
301 +                case 't':                       /* reporting interval */
302 +                        check(2,"i");
303 +                        report_intvl = atoi(argv[++i]);
304                          break;
305                  default:
306                          goto badopt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines