5 extern int g_spdFactorNum;
7 void initializeMovie(MVESTREAM *mve);
8 void playMovie(MVESTREAM *mve);
9 void shutdownMovie(MVESTREAM *mve);
11 static void usage(void)
13 fprintf(stderr, "usage: mveplay filename\n");
17 static int doPlay(const char *filename)
19 MVESTREAM *mve = mve_open(filename);
22 fprintf(stderr, "can't open MVE file '%s'\n", filename);
35 int main(int c, char *v[])
41 g_spdFactorNum = atoi(v[2]);
43 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0)
45 fprintf(stderr, "Couldn't initialize SDL: %s\n",SDL_GetError());