home *** CD-ROM | disk | FTP | other *** search
- #define GLB_EDGING 0
- #define GLB_PERTURB GLB_EDGING + 1
- #define GLB_SKY_BLEND GLB_PERTURB + 1
- #define GLB_LENS GLB_SKY_BLEND + 1
- #define GLB_FADE GLB_LENS + 1
- #define GLB_SIZE GLB_FADE + 1
- #define GLB_RESOLVE GLB_SIZE + 1
- #define GLB_EXTRA GLB_RESOLVE + 1
-
- #define NUM_GLB_PROPS (GLB_EXTRA + 1)
-
- #define GLB_FOCAL 0
- #define GLB_FADE_AT 1
- #define GLB_FADE_BY 2
-
- #define NUM_GLB_PARAM 3
-
- #define NUM_GLB_COLORS 4
-
- /*
- Zen, Hor colors remember, these are 8 bit values
- Fog color
- Ambient color
- */
-
- typedef struct datablock {
- OBJPTR Head; /* 4 bytes */
- UBYTE Props [NUM_GLB_PROPS]; /* 8 bytes */
- COLOR Colors [NUM_GLB_COLORS]; /* 24 bytes */
- float Global [NUM_GLB_PARAM]; /* 12 bytes */
- VECTOR Camera; /* 12 bytes */
- VECTOR Rotate; /* 12 bytes */
- char Brushes[8][80]; /* 640 bytes */
- char Stencils[8][80]; /* 640 bytes */
- char Textures[8][80]; /* 640 bytes */
- char TrackName[18]; /* 18 bytes */
- STORY *CStory; /* 4 bytes */
- } DATA, *DATAPTR; /* 2014 bytes total */
-
- typedef struct cells {
- struct cells *Prev;
- struct cells *Next;
- ULONG Start, Finish;
- UWORD CellNum;
- UWORD FrameNum;
- } CELL, *CELLPTR;
-