2022-05-19 01:51:26 -07:00
|
|
|
#ifndef MOVIE_LIB_H
|
|
|
|
#define MOVIE_LIB_H
|
|
|
|
|
|
|
|
#include "memory_defs.h"
|
|
|
|
|
2022-05-24 13:19:36 -07:00
|
|
|
#include <SDL.h>
|
2022-05-19 01:51:26 -07:00
|
|
|
|
|
|
|
typedef bool MovieReadProc(int fileHandle, void* buffer, int count);
|
2022-05-24 13:19:36 -07:00
|
|
|
typedef void(MovieShowFrameProc)(SDL_Surface*, int, int, int, int, int, int, int, int);
|
2022-05-19 01:51:26 -07:00
|
|
|
|
|
|
|
void movieLibSetMemoryProcs(MallocProc* mallocProc, FreeProc* freeProc);
|
|
|
|
void movieLibSetReadProc(MovieReadProc* readProc);
|
|
|
|
void movieLibSetVolume(int volume);
|
|
|
|
void movieLibSetPan(int pan);
|
|
|
|
void _MVE_sfSVGA(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9);
|
2022-05-24 13:19:36 -07:00
|
|
|
void _MVE_sfCallbacks(MovieShowFrameProc* proc);
|
2022-05-19 01:51:26 -07:00
|
|
|
void movieLibSetPaletteEntriesProc(void (*fn)(unsigned char*, int, int));
|
|
|
|
void _MVE_rmCallbacks(int (*fn)());
|
|
|
|
void _sub_4F4BB(int a1);
|
|
|
|
void _MVE_rmFrameCounts(int* a1, int* a2);
|
|
|
|
int _MVE_rmPrepMovie(int fileHandle, int a2, int a3, char a4);
|
|
|
|
int _MVE_rmStepMovie();
|
|
|
|
void _MVE_rmEndMovie();
|
|
|
|
void _MVE_ReleaseMem();
|
|
|
|
|
|
|
|
#endif /* MOVIE_LIB_H */
|