[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

/*
**     Each frame has this structure defined.
*/
typedef struct FrameFormat
{
   int OpCode;           /* Frame opcode */
   long Parm;            /* contains frame number for opNEXT, opREPEAT */
   char Rep1, Rep2;      /* Rep1 is repeat counter, Rep2 is not used */
   int TweenRate;        /* number of tweens per frame */

   int ChannelIndex[2];  /* -3 stop sound is this channel
                         ** -2 modify current sound
                         ** -1 no sound for this channel
                         ** (all others) is an index into the sound
                         ** list.  Which sound to use.
                         */

   int NumberOfPolys;    /* number of polygons in this frame */
   int ColorPalette[32]; /* xRGB - format 4 bits per register */
   int Pan, Tilt;        /* 0 is centered, (+-) amounts are in pixels */
   int Modes;            /* Frame modes */
   int pad;              /* expansion */
};