ScummVM API documentation
Mohawk::MystGraphics Class Reference
Inheritance diagram for Mohawk::MystGraphics:
Mohawk::GraphicsManager

Public Member Functions

 MystGraphics (MohawkEngine_Myst *vm)
 
void copyImageSectionToScreen (uint16 image, Common::Rect src, Common::Rect dest)
 
void copyImageSectionToBackBuffer (uint16 image, Common::Rect src, Common::Rect dest)
 
void copyImageToScreen (uint16 image, Common::Rect dest)
 
void copyImageToBackBuffer (uint16 image, Common::Rect dest)
 
void copyBackBufferToScreen (Common::Rect r)
 
void runTransition (TransitionType type, Common::Rect rect, uint16 steps, uint16 delay)
 
void drawRect (Common::Rect rect, RectState state)
 
void drawLine (const Common::Point &p1, const Common::Point &p2, uint32 color)
 
void fadeToBlack ()
 
void fadeFromBlack ()
 
void clearScreen ()
 
void clearScreenPalette ()
 
void setPaletteToScreen ()
 
const byte * getPalette () const
 
void saveStateForMainMenu ()
 
void restoreStateForMainMenu ()
 
Graphics::SurfacegetThumbnailForMainMenu () const
 
void loadMenuFont ()
 
Common::Rect getTextBoundingBox (const Common::U32String &text, const Common::Rect &dest, Graphics::TextAlign align)
 
void drawText (uint16 image, const Common::U32String &text, const Common::Rect &dest, uint8 r, uint8 g, uint8 b, Graphics::TextAlign align, int16 deltaY)
 
void replaceImageWithRect (uint16 destImage, uint16 sourceImage, const Common::Rect &sourceRect)
 
- Public Member Functions inherited from Mohawk::GraphicsManager
void clearCache ()
 
MohawkSurfacefindImage (uint16 id)
 
void preloadImage (uint16 image)
 
virtual void setPalette (uint16 id)
 
void copyAnimImageToScreen (uint16 image, int left=0, int top=0)
 
void copyAnimImageSectionToScreen (uint16 image, Common::Rect src, Common::Rect dest)
 
void copyAnimSubImageToScreen (uint16 image, uint16 subimage, int left=0, int top=0)
 
void getSubImageSize (uint16 image, uint16 subimage, uint16 &width, uint16 &height)
 

Protected Member Functions

MohawkSurfacedecodeImage (uint16 id) override
 
MohawkEnginegetVM () override
 
- Protected Member Functions inherited from Mohawk::GraphicsManager
void copyAnimImageSectionToScreen (MohawkSurface *image, Common::Rect src, Common::Rect dest)
 
virtual Common::Array< MohawkSurface * > decodeImages (uint16 id)
 
void addImageToCache (uint16 id, MohawkSurface *surface)
 

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