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

Comparing ray/src/hd/holo.h (file contents):
Revision 3.20 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.21 by greg, Thu May 29 16:26:21 2003 UTC

# Line 44 | Line 44 | typedef struct {
44  
45   typedef struct {
46          unsigned int4   nrd;    /* number of beam rays bundled on disk */
47 <        long    fo;             /* position in file */
47 >        off_t   fo;             /* position in file */
48   } BEAMI;                /* beam index */
49  
50   typedef struct {
# Line 96 | Line 96 | extern HOLO    *hdinit(), *hdalloc();
96   extern BEAM     *hdgetbeam();
97   extern RAYVAL   *hdnewrays();
98   extern unsigned hdmemuse();
99 < extern long     hdfiluse(), hdfilen(), hdallocfrag();
99 > extern off_t    hdfiluse(), hdfilen(), hdallocfrag();
100   extern double   hdray(), hdinter();
101   extern unsigned hdcode();
102   extern int      hdfilord();
# Line 124 | Line 124 | extern int     hdwg1[6];               /* wall grid 1 index */
124  
125   #define HOLOFMT         "Holodeck"      /* file format identifier */
126   #define HOLOVERS        0               /* file format version number */
127 < #define HOLOMAGIC       (323+sizeof(long)+8*HOLOVERS)   /* file magic number */
127 > #define HOLOMAGIC       (323+sizeof(off_t)+8*HOLOVERS)  /* file magic number */
128  
129   /*
130   * A holodeck file consists of an information header terminated by a

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines