aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/bitmap.h
diff options
context:
space:
mode:
authoruruk2014-06-15 21:11:27 +0200
committeruruk2014-06-15 21:11:42 +0200
commitbaffdd97e22851ad050bbeb1e800e38606b8f4c1 (patch)
tree62b31a8062dad8da01aa715d6e97226e5fd874c3 /engines/cge2/bitmap.h
parentae96463036ff99540478b7355746d8fd653ff527 (diff)
downloadscummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.tar.gz
scummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.tar.bz2
scummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.zip
CGE2: Fix coordinates of mouse handling.
Now infoLine is working properly. Rework solidAt() to achieve that. Also move spriteAt from talk.cpp to cge2_main.cpp, and remove the older version which didn't use V2D as a parameter.
Diffstat (limited to 'engines/cge2/bitmap.h')
-rw-r--r--engines/cge2/bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/bitmap.h b/engines/cge2/bitmap.h
index 8bff8fe99c..2c7b31b110 100644
--- a/engines/cge2/bitmap.h
+++ b/engines/cge2/bitmap.h
@@ -83,7 +83,7 @@ public:
void release();
void hide(int16 x, int16 y);
void show(int16 x, int16 y);
- bool solidAt(int16 x, int16 y);
+ bool solidAt(V2D pos);
void xLatPos(V2D& p);
bool moveHi();
bool moveLo();