aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-01-28 20:40:05 +0000
committerNicola Mettifogo2008-01-28 20:40:05 +0000
commit1a36ba488c336d1b52636b9a9a96bd31e28fc843 (patch)
tree4ade968df6a450b8740c94e8edd9e34dbfc00f87 /engines/parallaction/graphics.h
parent8e4f5b6f82bf6e2cff76a45b22229d4f206ef3a5 (diff)
downloadscummvm-rg350-1a36ba488c336d1b52636b9a9a96bd31e28fc843.tar.gz
scummvm-rg350-1a36ba488c336d1b52636b9a9a96bd31e28fc843.tar.bz2
scummvm-rg350-1a36ba488c336d1b52636b9a9a96bd31e28fc843.zip
Cleanup (step 1).
svn-id: r30689
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r--engines/parallaction/graphics.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index a898fd7840..eb8108544c 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -384,14 +384,6 @@ public:
// cut/paste
void patchBackground(Graphics::Surface &surf, int16 x, int16 y, bool mask = false);
- void flatBlitCnv(Graphics::Surface *cnv, int16 x, int16 y, Gfx::Buffers buffer);
- void flatBlitCnv(Frames *cnv, uint16 frame, int16 x, int16 y, Gfx::Buffers buffer);
- void blitCnv(Graphics::Surface *cnv, int16 x, int16 y, uint16 z, Gfx::Buffers buffer);
- void restoreBackground(const Common::Rect& r);
- void backupDoorBackground(DoorData *data, int16 x, int16 y);
- void restoreDoorBackground(const Common::Rect& r, byte *data, byte* background);
- void backupGetBackground(GetData *data, int16 x, int16 y);
- void restoreGetBackground(const Common::Rect& r, byte *data);
int setLocationBalloon(char *text, bool endGame);
int setDialogueBalloon(char *text, uint16 winding, byte textColor);
@@ -407,8 +399,6 @@ public:
// low level surfaces
void clearScreen(Gfx::Buffers buffer);
- void copyScreen(Gfx::Buffers srcbuffer, Gfx::Buffers dstbuffer);
- void copyRect(Gfx::Buffers dstbuffer, const Common::Rect& r, byte *src, uint16 pitch);
void grabRect(byte *dst, const Common::Rect& r, Gfx::Buffers srcbuffer, uint16 pitch);
void floodFill(Gfx::Buffers buffer, const Common::Rect& r, byte color);
void invertRect(Gfx::Buffers buffer, const Common::Rect& r);
@@ -424,7 +414,6 @@ public:
// misc
uint16 queryMask(uint16 v);
- void swapBuffers();
void updateScreen();
void setBackground(Graphics::Surface *surf);
void setMask(MaskBuffer *buffer);
@@ -505,6 +494,10 @@ protected:
void drawText(Graphics::Surface* surf, uint16 x, uint16 y, const char *text, byte color);
bool drawWrappedText(Graphics::Surface* surf, char *text, byte color, int16 wrapwidth);
+
+ void flatBlitCnv(Graphics::Surface *cnv, int16 x, int16 y);
+ void blitCnv(Graphics::Surface *cnv, int16 x, int16 y, uint16 z);
+
void blt(const Common::Rect& r, byte *data, Graphics::Surface *surf, uint16 z, byte transparentColor);
};