Moved ddraw into exe, temp added libsmacker to test out movie event code. Movies work if converted to SMK.

This commit is contained in:
Justin Marshall
2020-06-02 23:31:13 -07:00
parent 22f3ea37de
commit 41bb81ff93
137 changed files with 165660 additions and 629 deletions
+39
View File
@@ -0,0 +1,39 @@
// VQAMOVIE.H
//
#pragma once
extern "C" {
#include "../external/libsmacker/smacker.h"
};
typedef enum {
FMV_IDLE,
FMV_PLAY, // play
FMV_EOF, // all other conditions, i.e. stop/EOF/abort
FMV_ID_BLT,
FMV_ID_IDLE,
FMV_LOOPED,
FMV_ID_WAIT
} cinStatus_t;
struct _VQAHandle {
_VQAHandle();
~_VQAHandle();
GraphicBufferClass* video_graphics_buffer;
unsigned long width;
unsigned long height;
unsigned long frame_count;
smk smacker_video;
};
long VQA_Play(_VQAHandle* vqaHandle);
void VQA_Close(_VQAHandle* vqaHandle);
void VQA_Free(_VQAHandle* vqaHandle);
long VQA_Open(_VQAHandle* videoHandle, char const* filename);
void VQA_ImageForTime(_VQAHandle* videoHandle, int milliseconds);
void VQA_FFMPEGReset(_VQAHandle* videoHandle);
_VQAHandle* VQA_Alloc(void);