--- ray/src/hd/rhdisp.h 1997/12/11 09:35:32 3.7 +++ ray/src/hd/rhdisp.h 1998/05/22 08:30:40 3.11 @@ -13,16 +13,21 @@ #define DR_SHUTDOWN 3 /* shutdown request */ #define DR_NEWSET 4 /* new bundle set */ #define DR_ADDSET 5 /* add to current set */ -#define DR_ADJSET 6 /* adjust set quantities */ +#define DR_ADJSET 6 /* adjust set quantities */ #define DR_DELSET 7 /* delete from current set */ +#define DR_KILL 8 /* kill rtrace process(es) */ +#define DR_RESTART 9 /* restart rtrace */ +#define DR_CLOBBER 10 /* clobber holodeck */ /* server responses */ -#define DS_BUNDLE 8 /* computed bundle */ -#define DS_ACKNOW 9 /* acknowledge request for attention */ -#define DS_SHUTDOWN 10 /* end process and close connection */ -#define DS_ADDHOLO 11 /* register new holodeck */ -#define DS_STARTIMM 12 /* begin immediate bundle set */ -#define DS_ENDIMM 13 /* end immediate bundle set */ +#define DS_BUNDLE 32 /* computed bundle */ +#define DS_ACKNOW 33 /* acknowledge request for attention */ +#define DS_SHUTDOWN 34 /* end process and close connection */ +#define DS_ADDHOLO 35 /* register new holodeck */ +#define DS_STARTIMM 36 /* begin immediate bundle set */ +#define DS_ENDIMM 37 /* end immediate bundle set */ +#define DS_OUTSECT 38 /* render from outside sections */ +#define DS_EYESEP 39 /* eye separation distance */ /* * Normally, the server channel has priority, with the display process @@ -51,20 +56,8 @@ typedef struct { * of the display process are used for normal communication with the server, * and are connected to pipes going each way. It is entirely appropriate * for the display process to borrow the server's stdin and stdout for reading - * and writing user commands from the following list. If the standard input + * and writing user commands from the list in rhdriver.h. If standard input * is not available for reading, then a descriptor of -1 will be passed. * The standard output will always be available for writing, though it * may go to /dev/null. */ - - /* user commands */ -#define DC_SETVIEW 0 /* set the view */ -#define DC_GETVIEW 1 /* print the current view */ -#define DC_LASTVIEW 2 /* restore previous view */ -#define DC_PAUSE 3 /* pause the current calculation */ -#define DC_RESUME 4 /* resume the calculation */ -#define DC_QUIT 5 /* quit the program */ - -#define DC_NCMDS 6 /* number of commands */ - -#define DC_INIT {"VIEW=","where","last","pause","resume","quit"}