ScummVM API documentation
Sky::Mouse Class Reference

Public Member Functions

 Mouse (OSystem *system, Disk *skyDisk, SkyCompact *skyCompact)
 
void mouseEngine ()
 
void replaceMouseCursors (uint16 fileNo)
 
bool fnAddHuman ()
 
void fnSaveCoods ()
 
void fnOpenCloseHand (bool open)
 
uint16 findMouseCursor (uint32 itemNum)
 
void lockMouse ()
 
void unlockMouse ()
 
void restoreMouseData (uint16 frameNum)
 
void drawNewMouse ()
 
void spriteMouse (uint16 frameNum, uint8 mouseX, uint8 mouseY)
 
void useLogicInstance (Logic *skyLogic)
 
void buttonPressed (uint8 button)
 
void mouseMoved (uint16 mouseX, uint16 mouseY)
 
void waitMouseNotPressed (int minDelay=0)
 
uint16 giveMouseX ()
 
uint16 giveMouseY ()
 
uint16 giveCurrentMouseType ()
 
bool wasClicked ()
 
void logicClick ()
 
void resetCursor ()
 

Protected Member Functions

void pointerEngine (uint16 xPos, uint16 yPos)
 
void buttonEngine1 ()
 

Protected Attributes

bool _logicClick
 
uint16 _mouseB
 
uint16 _mouseX
 
uint16 _mouseY
 
uint16 _currentCursor
 
byte * _miceData
 
byte * _objectMouseData
 
OSystem_system
 
Disk_skyDisk
 
Logic_skyLogic
 
SkyCompact_skyCompact
 

Static Protected Attributes

static uint32 _mouseMainObjects [24]
 
static uint32 _mouseLincObjects [21]
 

The documentation for this class was generated from the following file: