ScummVM API documentation
Avalanche::GraphicManager Class Reference

Public Member Functions

 GraphicManager (AvalancheEngine *vm)
 
void init ()
 
void loadDigits ()
 
void loadMouse (byte which)
 
void drawRectangle (Common::Rect rect, Color color)
 
void drawFilledRectangle (Common::Rect rect, Color color)
 
void blackOutScreen ()
 
void drawDot (int x, int y, Color color)
 
void drawLine (int x1, int y1, int x2, int y2, int penX, int penY, Color color)
 
Common::Point drawScreenArc (int16 x, int16 y, int16 stAngle, int16 endAngle, uint16 radius, Color color)
 
void drawPieSlice (int16 x, int16 y, int16 stAngle, int16 endAngle, uint16 radius, Color color)
 
void drawTriangle (Common::Point *p, Color color)
 
void drawNormalText (const Common::String text, FontType font, byte fontHeight, int16 x, int16 y, Color color)
 
void drawScrollText (const Common::String text, FontType font, byte fontHeight, int16 x, int16 y, Color color)
 
void drawDigit (int index, int x, int y)
 
void drawDirection (int index, int x, int y)
 
void drawScrollShadow (int16 x1, int16 y1, int16 x2, int16 y2)
 
void drawShadowBox (int16 x1, int16 y1, int16 x2, int16 y2, Common::String text)
 
void drawScroll (int mx, int lx, int my, int ly)
 
void drawMenuBar (Color color)
 
void drawSpeedBar (int speed)
 
void drawBackgroundSprite (int16 x, int16 y, SpriteType &sprite)
 
void drawMenuBlock (int x1, int y1, int x2, int y2, Color color)
 
void drawMenuItem (int x1, int y1, int x2, int y2)
 
void wipeChar (int x, int y, Color color)
 
void drawChar (byte ander, int x, int y, Color color)
 
void drawDebugLines ()
 
void nimLoad ()
 
void nimDrawStone (int x, int y)
 
void nimDrawInitials ()
 
void nimDrawLogo ()
 
void nimFree ()
 
void shiftScreen ()
 
void drawWinningPic ()
 
void ghostDrawMonster (byte ***picture, uint16 destX, int16 destY, MonsterType type)
 
Graphics::Surface ghostLoadPicture (Common::File &file, Common::Point &coord)
 
void ghostDrawPicture (const Graphics::Surface &picture, uint16 destX, uint16 destY)
 
void ghostDrawBackgroundItems (Common::File &file)
 
void helpDrawButton (int y, byte which)
 
void helpDrawHighlight (byte which, Color color)
 
void helpDrawBigText (const Common::String text, int16 x, int16 y, Color color)
 
void seuDrawTitle ()
 
void seuLoad ()
 
void seuFree ()
 
void seuDrawPicture (int x, int y, byte which)
 
void seuDrawCameo (int destX, int destY, byte w1, byte w2)
 
uint16 seuGetPicWidth (int which)
 
uint16 seuGetPicHeight (int which)
 
void menuRefreshScreen ()
 
void menuInitialize ()
 
void menuFree ()
 
void menuRestoreScreen ()
 
void menuLoadPictures ()
 
void menuDrawBigText (FontType font, uint16 x, uint16 y, Common::String text, Color color)
 
void menuDrawIndicator (int x)
 
void clearAlso ()
 
void clearTextBar ()
 
void setAlsoLine (int x1, int y1, int x2, int y2, Color color)
 
byte getAlsoColor (int x1, int y1, int x2, int y2)
 
byte getScreenColor (Common::Point pos)
 
Graphics::Surface loadPictureRaw (Common::File &file, uint16 width, uint16 height)
 
void drawSprite (AnimationType *sprite, byte picnum, int16 x, int16 y)
 
void drawThinkPic (const Common::Path &filename, int id)
 
void drawToolbar ()
 
void drawCursor (byte pos)
 
void drawReadyLight (Color color)
 
void drawSoundLight (bool state)
 
void drawErrorLight (bool state)
 
void drawSign (Common::String name, int16 xl, int16 yl, int16 y)
 
void drawIcon (int16 x, int16 y, byte which)
 
void drawScreenLine (int16 x, int16 y, int16 x2, int16 y2, Color color)
 
void prepareBubble (int xc, int xw, int my, Common::Point points[3])
 
void refreshScreen ()
 
void loadBackground (Common::File &file)
 
void refreshBackground ()
 
void setBackgroundColor (Color newColor)
 
void setDialogColor (Color bg, Color text)
 
void zoomOut (int16 x, int16 y)
 
void showScroll ()
 
void getNaturalPicture (SpriteType &sprite)
 
void saveScreen ()
 
void restoreScreen ()
 
void removeBackup ()
 

Public Attributes

Color _talkBackgroundColor
 
Color _talkFontColor
 

Static Public Attributes

static const MouseHotspotType kMouseHotSpots [9]
 

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