215 |
|
csCount = 6 |
216 |
|
}; |
217 |
|
|
218 |
< |
struct ColorSpec { |
219 |
< |
uint16 value; |
220 |
< |
uint16 red; |
221 |
< |
uint16 green; |
222 |
< |
uint16 blue; |
218 |
> |
enum { // ColorSpec table entry |
219 |
> |
csValue = 0, |
220 |
> |
csRed = 2, |
221 |
> |
csGreen = 4, |
222 |
> |
csBlue = 6 |
223 |
|
}; |
224 |
|
|
225 |
|
enum { // VDVideoParametersInfo struct |
307 |
|
* Structures for graphics acceleration |
308 |
|
*/ |
309 |
|
|
310 |
< |
typedef void *CTabHandle; |
310 |
> |
typedef uint32 CTabHandle; |
311 |
|
|
312 |
|
// Parameter block passed to acceleration hooks |
313 |
|
struct accl_params { |
324 |
|
uint32 unknown2[3]; |
325 |
|
|
326 |
|
uint32 src_base_addr; |
327 |
< |
uint32 src_row_bytes; |
327 |
> |
int32 src_row_bytes; |
328 |
|
int16 src_bounds[4]; |
329 |
|
uint32 src_unknown1; |
330 |
|
uint32 src_pixel_type; |
337 |
|
uint32 src_unknown4; |
338 |
|
|
339 |
|
uint32 dest_base_addr; |
340 |
< |
uint32 dest_row_bytes; |
340 |
> |
int32 dest_row_bytes; |
341 |
|
int16 dest_bounds[4]; |
342 |
|
uint32 dest_unknown1; |
343 |
|
uint32 dest_pixel_type; |
356 |
|
|
357 |
|
uint32 unknown4[38]; |
358 |
|
|
359 |
< |
void (*draw_proc)(accl_params *); |
359 |
> |
uint32 draw_proc; |
360 |
|
// Argument for accl_sync_hook at offset 0x4f8 |
361 |
|
}; |
362 |
|
|
363 |
|
// Hook info for NQDMisc |
364 |
|
struct accl_hook_info { |
365 |
< |
bool (*draw_func)(accl_params *); |
366 |
< |
bool (*sync_func)(void *); |
365 |
> |
uint32 draw_func; |
366 |
> |
uint32 sync_func; |
367 |
|
uint32 code; |
368 |
|
}; |
369 |
|
|