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.22 by greg, Wed Oct 19 21:25:20 2022 UTC vs.
Revision 2.27 by greg, Mon Feb 6 22:40:21 2023 UTC

# Line 54 | Line 54 | void   (*addobjnotify[8])() = {ambnotify, NULL};
54   char    RCCONTEXT[] = "RC.";            /* our special evaluation context */
55  
56   #if defined(_WIN32) || defined(_WIN64)
57 < #define RCONTRIB_FEATURES       "Accumulation\nSummation\nRAWrecovery\n" \
57 > #define RCONTRIB_FEATURES       "Accumulation\nSummation\nRecovery\n" \
58                                  "ValueContribution\nImmediateIrradiance\n" \
59 <                                "ProgressReporting\nDistanceLimiting\n"
59 >                                "ProgressReporting\nDistanceLimiting\n" \
60 >                                "Outputs=V,W\n"
61   #else
62   #define RCONTRIB_FEATURES       "Multiprocessing\n" \
63 <                                "Accumulation\nSummation\nRAWrecovery\n" \
63 >                                "Accumulation\nSummation\nRecovery\n" \
64                                  "ValueContribution\nImmediateIrradiance\n" \
65 <                                "ProgressReporting\nDistanceLimiting\n"
65 >                                "ProgressReporting\nDistanceLimiting\n" \
66 >                                "Outputs=V,W\n"
67   #endif
68  
69   static void
# Line 195 | Line 197 | main(int argc, char *argv[])
197          gargc = argc;
198                                          /* feature check only? */
199          strcat(RFeatureList, RCONTRIB_FEATURES);
200 <        if (!strcmp(argv[1], "-features"))
200 >        if (argc > 1 && !strcmp(argv[1], "-features"))
201                  return feature_status(argc-2, argv+2);
202   #if defined(_WIN32) || defined(_WIN64)
203          _setmaxstdio(2048);             /* increase file limit to maximum */
# Line 400 | Line 402 | badopt:
402  
403   void
404   wputs(                          /* warning output function */
405 <        char    *s
405 >        const char      *s
406   )
407   {
408          int  lasterrno = errno;
# Line 411 | Line 413 | wputs(                         /* warning output function */
413  
414   void
415   eputs(                          /* put string to stderr */
416 <        char  *s
416 >        const char  *s
417   )
418   {
419          static int  midline = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines