1 |
|
/* |
2 |
|
* video.h - Video/graphics emulation |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2005 Marc Hellwig and Christian Bauer |
4 |
> |
* SheepShaver (C) 1997-2008 Marc Hellwig and Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
118 |
|
uint32 maxGammaTableSize; // Biggest gamma table allocated |
119 |
|
uint32 saveVidParms; |
120 |
|
bool luminanceMapping; // Luminance mapping on/off |
121 |
< |
int32 cursorX; // Hardware cursor state. Unused, but must be remembered |
121 |
> |
bool cursorHardware; // True if using hardware cursor |
122 |
> |
int32 cursorX; // Hardware cursor state |
123 |
|
int32 cursorY; |
124 |
|
uint32 cursorVisible; |
125 |
|
uint32 cursorSet; |
126 |
+ |
bool cursorHotFlag; |
127 |
+ |
uint8 cursorHotX; |
128 |
+ |
uint8 cursorHotY; |
129 |
|
uint32 vslServiceID; // VSL interrupt service ID |
130 |
|
bool interruptsEnabled; // VBL interrupts on/off |
131 |
|
uint32 regEntryID; // Mac address of the service owner |
143 |
|
extern void video_set_cursor(void); |
144 |
|
extern bool video_can_change_cursor(void); |
145 |
|
extern int16 video_mode_change(VidLocals *csSave, uint32 ParamPtr); |
146 |
+ |
extern void video_set_dirty_area(int x, int y, int w, int h); |
147 |
|
|
148 |
|
extern int16 VSLDoInterruptService(uint32 arg1); |
149 |
|
extern void NQDMisc(uint32 arg1, uintptr arg2); |
152 |
|
extern bool NQD_sync_hook(uint32); |
153 |
|
extern bool NQD_bitblt_hook(uint32); |
154 |
|
extern bool NQD_fillrect_hook(uint32); |
155 |
+ |
extern bool NQD_unknown_hook(uint32); |
156 |
|
extern void NQD_bitblt(uint32); |
157 |
|
extern void NQD_invrect(uint32); |
158 |
|
extern void NQD_fillrect(uint32); |