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

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.13 by gregl, Thu Dec 11 16:45:58 1997 UTC vs.
Revision 3.14 by gregl, Fri Dec 12 11:13:15 1997 UTC

# Line 72 | Line 72 | char   *argv[];
72                          }
73                          if (inp & DFL(DC_REDRAW))
74                                  imm_mode = beam_sync() > 0;
75 +                        if (inp & DFL(DC_KILL))
76 +                                serv_request(DR_KILL, 0, NULL);
77 +                        if (inp & DFL(DC_CLOBBER))
78 +                                serv_request(DR_CLOBBER, 0, NULL);
79 +                        if (inp & DFL(DC_RESTART))
80 +                                serv_request(DR_RESTART, 0, NULL);
81                          if (inp & DFL(DC_QUIT))
82                                  serv_request(DR_SHUTDOWN, 0, NULL);
83                  }
# Line 275 | Line 281 | usr_input()                    /* get user input and process it */
281                  break;
282          case DC_REDRAW:                 /* redraw from server */
283                  imm_mode = beam_sync() > 0;
284 +                break;
285 +        case DC_KILL:                   /* kill rtrace process(es) */
286 +                serv_request(DR_KILL, 0, NULL);
287 +                break;
288 +        case DC_CLOBBER:                /* clobber holodeck */
289 +                serv_request(DR_CLOBBER, 0, NULL);
290 +                break;
291 +        case DC_RESTART:                /* restart rtrace */
292 +                serv_request(DR_RESTART, 0, NULL);
293                  break;
294          case DC_QUIT:                   /* quit request */
295                  serv_request(DR_SHUTDOWN, 0, NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines