diff options
author | Eugene Sandulenko | 2013-08-28 00:11:17 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:20 +0300 |
commit | b209329a1d2924064ddf47c35be76f0c2361419a (patch) | |
tree | 206d163470cdf51301719ee3582bdf4a4fc507b1 /engines/fullpipe/gfx.h | |
parent | 028772d153b79b38e5dfa2d90ba5f01fb287b47e (diff) | |
download | scummvm-rg350-b209329a1d2924064ddf47c35be76f0c2361419a.tar.gz scummvm-rg350-b209329a1d2924064ddf47c35be76f0c2361419a.tar.bz2 scummvm-rg350-b209329a1d2924064ddf47c35be76f0c2361419a.zip |
FULLPIPE: Implemented several high level *AtPos functions
Diffstat (limited to 'engines/fullpipe/gfx.h')
-rw-r--r-- | engines/fullpipe/gfx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h index 59edaf49e4..feb560c06f 100644 --- a/engines/fullpipe/gfx.h +++ b/engines/fullpipe/gfx.h @@ -60,6 +60,8 @@ struct Bitmap { void drawShaded(int type, int x, int y, byte *palette); void drawRotated(int x, int y, int angle, byte *palette); + + bool isPixelHitAtPos(int x, int y); }; class Picture : public MemoryObject { @@ -103,6 +105,7 @@ class Picture : public MemoryObject { Common::Point *getDimensions(Common::Point *p); bool isPointInside(int x, int y); + bool isPixelHitAtPos(int x, int y); byte *getPaletteData() { return _paletteData; } void setPaletteData(byte *pal); @@ -161,6 +164,7 @@ class PictureObject : public GameObject { bool setPicAniInfo(PicAniInfo *picAniInfo); bool isPointInside(int x, int y); + bool isPixelHitAtPos(int x, int y); }; class Background : public CObject { |