22 #ifndef MOHAWK_MYST_GRAPHICS_H 23 #define MOHAWK_MYST_GRAPHICS_H 25 #include "mohawk/graphics.h" 27 #include "common/file.h" 28 #include "graphics/font.h" 33 class MohawkEngine_Myst;
49 void copyImageToBackBuffer(uint16 image,
Common::Rect dest);
51 void runTransition(TransitionType type,
Common::Rect rect, uint16 steps, uint16 delay);
58 void clearScreenPalette();
59 void setPaletteToScreen();
60 const byte *getPalette()
const {
return _palette; }
62 void saveStateForMainMenu();
63 void restoreStateForMainMenu();
70 void replaceImageWithRect(uint16 destImage, uint16 sourceImage,
const Common::Rect &sourceRect);
78 MystBitmap *_bmpDecoder;
83 byte _palette[256 * 3];
90 void transitionSlideToLeft(
Common::Rect rect, uint16 steps, uint16 delay);
91 void transitionSlideToRight(
Common::Rect rect, uint16 steps, uint16 delay);
92 void transitionSlideToTop(
Common::Rect rect, uint16 steps, uint16 delay);
93 void transitionSlideToBottom(
Common::Rect rect, uint16 steps, uint16 delay);
94 void transitionPartialToRight(
Common::Rect rect, uint32 width, uint32 steps);
95 void transitionPartialToLeft(
Common::Rect rect, uint32 width, uint32 steps);
98 byte getColorIndex(
const byte *palette, byte red, byte green, byte blue);
100 void applyImagePatches(uint16
id,
const MohawkSurface *mhkSurface)
const;
Definition: graphics.h:40
TextAlign
Definition: font.h:48
Definition: graphics.h:68
Definition: myst_graphics.h:41