diff options
author | uruk | 2014-02-04 08:58:48 +0100 |
---|---|---|
committer | uruk | 2014-02-04 08:59:03 +0100 |
commit | 9a08e0459c7544050bd18a637562ec444b5875a7 (patch) | |
tree | c578ed154e817227d229637d2ac08caae1893dc4 /engines/avalanche/graphics.h | |
parent | a67b7f487c47fa833a5fa273d96f531708557edf (diff) | |
download | scummvm-rg350-9a08e0459c7544050bd18a637562ec444b5875a7.tar.gz scummvm-rg350-9a08e0459c7544050bd18a637562ec444b5875a7.tar.bz2 scummvm-rg350-9a08e0459c7544050bd18a637562ec444b5875a7.zip |
AVALANCHE: Implement loading and drawing of the picture of the ghost.
Diffstat (limited to 'engines/avalanche/graphics.h')
-rw-r--r-- | engines/avalanche/graphics.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/avalanche/graphics.h b/engines/avalanche/graphics.h index 636ae6fdf9..92b311e32c 100644 --- a/engines/avalanche/graphics.h +++ b/engines/avalanche/graphics.h @@ -38,6 +38,7 @@ namespace Avalanche { class AvalancheEngine; class AnimationType; struct SpriteType; +struct ChunkBlockType; typedef byte FontType[256][16]; typedef byte ManiType[2049]; @@ -62,6 +63,8 @@ public: 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 drawFilledRectangle(Common::Rect rect, Color color); + void drawRectangle(Common::Rect rect, 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); @@ -79,8 +82,6 @@ public: void drawDebugLines(); // For the mini-game "Nim". - void drawFilledRectangle(Common::Rect rect, Color color); - void drawRectangle(Common::Rect rect, Color color); void nimLoad(); void nimDrawStone(int x, int y); void nimDrawInitials(); @@ -90,6 +91,9 @@ public: // Used in wobble() void shiftScreen(); + // Ghostroom's functions: + void ghostDrawPicture(byte ghostArr[2][66][26], uint16 destX, uint16 destY); // Very similar to loadPictureSign(). TODO: Unify the two later if possible. + void clearAlso(); void clearTextBar(); void setAlsoLine(int x1, int y1, int x2, int y2, Color color); |