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.9 by gregl, Thu Dec 18 14:45:59 1997 UTC vs.
Revision 3.12 by gregl, Sun Jan 4 12:32:52 1998 UTC

# Line 18 | Line 18
18   #define int2    short
19   #endif
20   #ifndef int4
21 < #define int4    long
21 > #define int4    int
22   #endif
23  
24   #define DCINF   (unsigned)((1L<<16)-1)  /* special value for infinity */
# Line 100 | Line 100 | extern HOLO    *hdinit(), *hdalloc();
100   extern BEAM     *hdgetbeam();
101   extern RAYVAL   *hdnewrays();
102   extern unsigned hdmemuse();
103 < extern long     hdfiluse(), hdfilen();
103 > extern long     hdfiluse(), hdfilen(), hdallocfrag();
104   extern double   hdray(), hdinter();
105   extern unsigned hdcode();
106  
# Line 117 | Line 117 | extern float   hd_depthmap[];          /* depth conversion map *
117  
118   #define HOLOFMT         "Holodeck"      /* file format identifier */
119   #define HOLOVERS        0               /* file format version number */
120 < #define HOLOMAGIC       (327+HOLOVERS)  /* file magic number */
120 > #define HOLOMAGIC       (323+sizeof(long)+8*HOLOVERS)   /* file magic number */
121  
122   /*
123   * A holodeck file consists of an information header terminated by a

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines