diff options
author | Max Horn | 2004-09-18 22:26:19 +0000 |
---|---|---|
committer | Max Horn | 2004-09-18 22:26:19 +0000 |
commit | e74a3c9a2bdaead10b130e09e7a9cdf2fac17d55 (patch) | |
tree | cd03b4801ed309a36956b15018b7f9d049af14f2 /scumm/intern.h | |
parent | 7b7021028676f61b0ff261c35ab8d6d5e86a118e (diff) | |
download | scummvm-rg350-e74a3c9a2bdaead10b130e09e7a9cdf2fac17d55.tar.gz scummvm-rg350-e74a3c9a2bdaead10b130e09e7a9cdf2fac17d55.tar.bz2 scummvm-rg350-e74a3c9a2bdaead10b130e09e7a9cdf2fac17d55.zip |
Reduce code duplication a bit
svn-id: r15174
Diffstat (limited to 'scumm/intern.h')
-rw-r--r-- | scumm/intern.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index 223770ace7..3c4891c47c 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -364,7 +364,7 @@ protected: void setCursorTransparency(int a); void setCursorHotspot(int x, int y); - void setCursorFromImg(uint img, uint room, uint imgindex); + virtual void setCursorFromImg(uint img, uint room, uint imgindex); void useIm01Cursor(const byte *im, int w, int h); void useBompCursor(const byte *im, int w, int h); void grabCursor(int x, int y, int w, int h); @@ -635,8 +635,9 @@ protected: bool polygonDefined(int id); int polygonHit(int id, int x, int y); + virtual void setCursorFromImg(uint img, uint room, uint imgindex); + /* HE version 70 script opcodes */ - void o70he_cursorCommand(); void o70he_startSound(); void o70he_pickupObject(); void o70he_getActorRoom(); |