--- ray/src/hd/rholo.h 2003/02/22 02:07:25 3.21 +++ ray/src/hd/rholo.h 2003/06/20 00:25:49 3.22 @@ -1,4 +1,4 @@ -/* RCSid: $Id: rholo.h,v 3.21 2003/02/22 02:07:25 greg Exp $ */ +/* RCSid: $Id: rholo.h,v 3.22 2003/06/20 00:25:49 greg Exp $ */ /* * Header file for rholo program */ @@ -11,20 +11,20 @@ #endif typedef struct packet { - int2 hd; /* holodeck section (first) */ - int4 bi; /* beam index (second) */ - int4 nr; /* number of rays (third) */ - int4 nc; /* number calculated (fourth) */ + int16 hd; /* holodeck section (first) */ + int32 bi; /* beam index (second) */ + int32 nr; /* number of rays (third) */ + int32 nc; /* number calculated (fourth) */ RAYVAL ra[RPACKSIZ]; /* ray values (fifth) */ float *offset; /* offset array if !vbool(OBSTRUCTIONS) */ struct packet *next; /* next in packet list */ } PACKET; /* a beam packet */ typedef struct { - int2 hd; /* holodeck section (first) */ - int4 bi; /* beam index (second) */ - int4 nr; /* number of rays (third) */ - int4 nc; /* number calculated (fourth) */ + int16 hd; /* holodeck section (first) */ + int32 bi; /* beam index (second) */ + int32 nr; /* number of rays (third) */ + int32 nc; /* number calculated (fourth) */ } PACKHEAD; /* followed by ray values */ #define packsiz(nr) (sizeof(PACKHEAD)+(nr)*sizeof(RAYVAL)) @@ -113,4 +113,4 @@ extern char *rtargv[]; extern PACKET *do_packets(), *get_packets(), *flush_queue(); -extern int2 *viewbeams(); +extern int16 *viewbeams();