00001 00025 #ifndef MOVIES_H 00026 #define MOVIES_H 00027 00028 #include "main.h" 00029 00031 #define FLA_DIR "fla//" 00032 00034 typedef struct FLAHeaderStruct 00035 { 00037 char version[6]; 00039 int numOfFrames; 00041 char speed; 00043 char var1; 00045 short int xsize; 00047 short int ysize; 00048 } FLAHeaderStruct; 00049 00051 typedef struct FLAFrameDataStruct 00052 { 00054 char videoSize; 00056 char dummy; 00058 int frameVar0; 00059 } FLAFrameDataStruct; 00060 00062 typedef struct FLASampleStruct 00063 { 00065 short int sampleNum; 00067 short int freq; 00069 short int repeat; 00071 char dummy; 00073 unsigned char x; 00075 unsigned char y; 00076 } FLASampleStruct; 00077 00079 unsigned char flaBuffer[FLASCREEN_WIDTH*FLASCREEN_HEIGHT]; 00080 00083 void play_movie(char *movie); 00084 00085 #endif
1.5.5