ScummVM API documentation
Sky::Screen Class Reference

Public Member Functions

 Screen (OSystem *pSystem, Disk *pDisk, SkyCompact *skyCompact)
 
void setPalette (uint8 *pal)
 
void setPaletteEndian (uint8 *pal)
 
void setPalette (uint16 fileNum)
 
void paletteFadeUp (uint8 *pal)
 
void paletteFadeUp (uint16 fileNr)
 
void showScreen (uint16 fileNum, bool fullscreen=false)
 
void showScreen (uint8 *pScreen, bool fullscreen=false)
 
void handleTimer ()
 
void startSequence (uint16 fileNum)
 
void startSequenceItem (uint16 itemNum)
 
void stopSequence ()
 
bool sequenceRunning ()
 
void processSequence ()
 
void waitForSequence ()
 
uint32 seqFramesLeft ()
 
uint8 * giveCurrent ()
 
void halvePalette ()
 
void forceRefresh ()
 
void fnFadeUp (uint32 palNum, uint32 scroll)
 
void fnFadeDown (uint32 scroll)
 
void fnDrawScreen (uint32 palette, uint32 scroll)
 
void clearScreen (bool fullscreen=false)
 
void setFocusRectangle (const Common::Rect &rect)
 
void recreate ()
 
void flip (bool doUpdate=true)
 
void spriteEngine ()
 
void paintBox (uint16 x, uint16 y)
 
void showGrid (uint8 *gridBuf)
 
void renderFinalFrame ()
 
void renderControlPanel (uint8 *buffer)
 
void update32BitScreen (uint8 *overrideBuffer)
 
void setIcon (int idx, int x, int y)
 
void drawIbassIcon ()
 
void drawIbassInventory ()
 
void initIbassIcon (int idx, const char *filename)
 
void clearIbassIcon (int idx, bool fade)
 
void clearAllIbassIcons (bool fade)
 
bool isUIOpen ()
 
void addInvIcon (int frame, int x, int y, bool highlighted=false)
 
void showInventory (int x1, int y1, int x2, int y2)
 
void hideInventory (void)
 
void clearAllInvIcons ()
 
int getInventoryAnimIdx (int frame)
 
void setProximityIcon (int idx, int x, int y, float alpha, int frame)
 
void clearAllProximityIcons (bool fade=true)
 
void clearProximityIcon (int idx, bool fade=true)
 
void setProximityNotAnimate (int idx)
 
void setDragIcon (int frame, bool highlighted=false)
 
void clearDragIcon ()
 
void setDragIconHighlight (bool highlighted)
 

Public Attributes

Graphics::Surface _screen32
 
Graphics::Surface _iconSurface
 
Icon _uiIcon [NUM_UI_ICONS]
 
Icon _proximityIcon [16]
 
Icon _invIcon [20]
 
Icon _dragIcon
 
uint32 nextFrame
 
uint32 framesLeft
 
uint8 * seqData
 
uint8 * seqDataPos
 
volatile bool running
 
bool runningItem
 

Protected Attributes

int _invX1
 
int _invY1
 
int _invX2
 
int _invY2
 
bool _invVisible
 
int _invIconsInUse
 
Animation_invAnim [44]
 

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