comparison VideoPlayer.h @ 21:3fa5d0522f92

Both Bink 1.5.21.0 & 3.0.0.0 support added
author Nomad
date Sat, 13 Oct 2012 20:17:56 +0200
parents 8b8875f5b359
children
comparison
equal deleted inserted replaced
15:e33334611747 21:3fa5d0522f92
10 10
11 11
12 12
13 struct _BINK 13 struct _BINK
14 { 14 {
15 int Width; 15 int uWidth;
16 int Height; 16 int uHeight;
17 int Frame; 17 };
18 int CurrentFrame; 18
19 struct _BINK_1_5_21_0: public _BINK
20 {
21 int uNumFrames;
22 int uCurrentFrame;
19 int Data1; 23 int Data1;
20 int FrameRate; 24 int uFrameRate;
21 int field_18[3]; 25 int field_18[3];
22 int Flags; 26 int uFlags;
23 }; 27 };
28
29 struct _BINK_3_0_0_0: public _BINK
30 {
31 int unk_0;
32 int unk_1;
33 int uNumFrames;
34 int uCurrentFrame;
35 int _unk2;
36 int _unk_[10];
37 };
38
24 39
25 struct _BINKBUF 40 struct _BINKBUF
26 { 41 {
27 int uWidth; 42 int uWidth;
28 int uHeight; 43 int uHeight;
53 int field_68; 68 int field_68;
54 int field_6C; 69 int field_6C;
55 void *pDDrawSurfaceData_; 70 void *pDDrawSurfaceData_;
56 int field_74; 71 int field_74;
57 int field_78; 72 int field_78;
73 };
74 struct _BINKBUF_1_5_21_0: public _BINKBUF
75 {
76 int field_7C;
77 int field_80;
78 int field_84;
79 int field_88;
80 int field_8C;
81 int field_90;
82 int field_94;
83 int field_98;
84 int field_9C;
85 int field_A0;
86 };
87
88 struct _BINKBUF_3_0_0_0: public _BINKBUF
89 {
58 }; 90 };
59 #pragma pack(pop) 91 #pragma pack(pop)
60 92
61 93
62 94
104 void PlayDeathMovie(); 136 void PlayDeathMovie();
105 unsigned int SmackCheckSurfaceFromat(); 137 unsigned int SmackCheckSurfaceFromat();
106 void Initialize(); 138 void Initialize();
107 void Prepare(); 139 void Prepare();
108 void Unload(); 140 void Unload();
109 void _4BECD5(unsigned int a2); 141 void FastForwardToFrame(unsigned int uFrameNum);
110 void BinkDrawFrame(HWND hWnd, int a3, int a4); 142 void BinkDrawFrame(HWND hWnd, int a3, int a4);
111 void BinkUpdatePalette(HWND hWnd) {} 143 void BinkUpdatePalette(HWND hWnd) {}
112 void SmackDrawFrame(HWND hWnd, int a3, int a4); 144 void SmackDrawFrame(HWND hWnd, int a3, int a4);
113 void SmackUpdatePalette(HWND hWnd); 145 void SmackUpdatePalette(HWND hWnd);
114 _BINK *OpenBink(const char *pName); 146 _BINK *OpenBink(const char *pName);