Mercurial > mm7
comparison Bink_Smacker.h @ 2125:ba3de1337989
house animations working
round renamed to round_to_int
author | zipi |
---|---|
date | Thu, 26 Dec 2013 22:46:49 +0000 |
parents | ba5cd8a8a0d3 |
children | d57505d3c70c |
comparison
equal
deleted
inserted
replaced
2124:7f403ebf619f | 2125:ba3de1337989 |
---|---|
141 int * rectsptr; | 141 int * rectsptr; |
142 int maxrects; | 142 int maxrects; |
143 int numrects; | 143 int numrects; |
144 HDC lastdc; | 144 HDC lastdc; |
145 }; | 145 }; |
146 #define BINKFRAMERATE 0x00001000L // Override fr (call BinkFrameRate first) | |
147 #define BINKPRELOADALL 0x00002000L // Preload the entire animation | |
148 #define BINKSNDTRACK 0x00004000L // Set the track number to play | |
149 #define BINKOLDFRAMEFORMAT 0x00008000L // using the old Bink frame format (internal use only) | |
150 #define BINKRBINVERT 0x00010000L // use reversed R and B planes (internal use only) | |
151 #define BINKGRAYSCALE 0x00020000L // Force Bink to use grayscale | |
152 #define BINKNOMMX 0x00040000L // Don't use MMX | |
153 #define BINKNOSKIP 0x00080000L // Don't skip frames if falling behind | |
154 #define BINKALPHA 0x00100000L // Decompress alpha plane (if present) | |
155 #define BINKNOFILLIOBUF 0x00200000L // Fill the IO buffer in SmackOpen | |
156 #define BINKSIMULATE 0x00400000L // Simulate the speed (call BinkSim first) | |
157 #define BINKFILEHANDLE 0x00800000L // Use when passing in a file handle | |
158 #define BINKIOSIZE 0x01000000L // Set an io size (call BinkIOSize first) | |
159 #define BINKIOPROCESSOR 0x02000000L // Set an io processor (call BinkIO first) | |
160 #define BINKFROMMEMORY 0x04000000L // Use when passing in a pointer to the file | |
161 #define BINKNOTHREADEDIO 0x08000000L // Don't use a background thread for IO | |
162 | |
163 #define BINKSURFACEFAST 0x00000000L | |
164 #define BINKSURFACESLOW 0x08000000L | |
165 #define BINKSURFACEDIRECT 0x04000000L | |
166 | |
167 #define BINKCOPYALL 0x80000000L // copy all pixels (not just changed) | |
168 #define BINKCOPY2XH 0x10000000L // Force doubling height scaling | |
169 #define BINKCOPY2XHI 0x20000000L // Force interleaving height scaling | |
170 #define BINKCOPY2XW 0x30000000L // copy the width zoomed by two | |
171 #define BINKCOPY2XWH 0x40000000L // copy the width and height zoomed by two | |
172 #define BINKCOPY2XWHI 0x50000000L // copy the width and height zoomed by two | |
173 #define BINKCOPY1XI 0x60000000L // copy the width and height zoomed by two | |
174 #define BINKCOPYNOSCALING 0x70000000L // Force scaling off | |
146 | 175 |
147 #define SMACKNEEDPAN 0x00020L // Will be setting the pan | 176 #define SMACKNEEDPAN 0x00020L // Will be setting the pan |
148 #define SMACKNEEDVOLUME 0x00040L // Will be setting the volume | 177 #define SMACKNEEDVOLUME 0x00040L // Will be setting the volume |
149 #define SMACKFRAMERATE 0x00080L // Override fr (call SmackFrameRate first) | 178 #define SMACKFRAMERATE 0x00080L // Override fr (call SmackFrameRate first) |
150 #define SMACKLOADEXTRA 0x00100L // Load the extra buffer during SmackOpen | 179 #define SMACKLOADEXTRA 0x00100L // Load the extra buffer during SmackOpen |
195 int __fastcall SmackVolumePan(_SMACK *a3, long a4, long a5, long a6); | 224 int __fastcall SmackVolumePan(_SMACK *a3, long a4, long a5, long a6); |
196 | 225 |
197 int __stdcall SmackGoto(_SMACK *a1, long a2); | 226 int __stdcall SmackGoto(_SMACK *a1, long a2); |
198 | 227 |
199 // sub_4D83D0: using guessed type int __stdcall SmackBufferNewPalette(_DWORD, _DWORD, _DWORD); | 228 // sub_4D83D0: using guessed type int __stdcall SmackBufferNewPalette(_DWORD, _DWORD, _DWORD); |
200 int __stdcall SmackBufferNewPalette(long a1, long a2, long a3); | 229 void __stdcall SmackBufferNewPalette(HSMACKBUF a1, void *a2, unsigned int a3); |
201 | 230 |
202 // sub_4D83D4: using guessed type int __stdcall SmackColorRemapWithTrans(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD); | 231 // sub_4D83D4: using guessed type int __stdcall SmackColorRemapWithTrans(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD); |
203 int __stdcall SmackColorRemapWithTrans(long a1, long a2, long a3, long a4, long a5); | 232 void __stdcall SmackColorRemapWithTrans(_SMACK *a1, void *a2, unsigned int a3, unsigned int a4, unsigned int a5); |
204 | 233 |
205 | 234 |
206 | 235 |
207 | 236 |
208 | 237 |
209 | 238 |
210 | 239 |
211 | 240 |
212 | 241 |
213 | 242 |
214 | 243 |
215 | 244 |
216 | 245 |
217 | 246 |