diff options
author | Eugene Sandulenko | 2016-09-07 12:12:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-07 12:12:31 +0200 |
commit | a021b4c7e8c811f56c522e69f1723d29d7c36cc7 (patch) | |
tree | ee7f2ae3496416003ed9dff505cae01275a58e0a /engines/fullpipe/statics.cpp | |
parent | 5dddde199fef11650f635c666dd797df011fcdb3 (diff) | |
download | scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.tar.gz scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.tar.bz2 scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.zip |
FULLPIPE: Added and using StaticANIObject::isPixelHitAtPos()
Diffstat (limited to 'engines/fullpipe/statics.cpp')
-rw-r--r-- | engines/fullpipe/statics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index a1f91bc9db..fe1f1e2d01 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -458,6 +458,10 @@ Movement *StaticANIObject::getMovementByName(char *name) { return 0; } +bool StaticANIObject::isPixelHitAtPos(int x, int y) { + return getPixelAtPos(x, y, 0, true); +} + bool StaticANIObject::getPixelAtPos(int x, int y, int *pixel, bool hitOnly) { bool res = false; Picture *pic; |