diff options
author | Travis Howell | 2004-06-29 09:57:01 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-29 09:57:01 +0000 |
commit | 8a74791c64b470412b8eef89b18d9327d45e5a4e (patch) | |
tree | 858f308822e8a2ecb352d1ae1f56cb13f2419bd9 | |
parent | cbef4f757f4ddf37c20ac788ae7ff4cb0f0897c2 (diff) | |
download | scummvm-rg350-8a74791c64b470412b8eef89b18d9327d45e5a4e.tar.gz scummvm-rg350-8a74791c64b470412b8eef89b18d9327d45e5a4e.tar.bz2 scummvm-rg350-8a74791c64b470412b8eef89b18d9327d45e5a4e.zip |
Add hack for mouse hotpot in funpack
svn-id: r14117
-rw-r--r-- | scumm/scumm.cpp | 8 | ||||
-rw-r--r-- | scumm/scumm.h | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 76bf631411..2c1ff66b2e 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -201,7 +201,7 @@ static const ScummGameSettings scumm_settings[] = { GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0}, {"puttmoon", "Putt-Putt Goes To The Moon", GID_HEGAME, 6, 60, MDT_ADLIB | MDT_NATIVE, GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0}, - {"funpack", "Putt-Putt's Fun Pack", GID_HEGAME, 6, 60, MDT_ADLIB | MDT_NATIVE, + {"funpack", "Putt-Putt's Fun Pack", GID_FUNPACK, 6, 60, MDT_ADLIB | MDT_NATIVE, GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0}, {"fbpack", "Fatty Bear's Fun Pack", GID_HEGAME, 6, 60, MDT_ADLIB | MDT_NATIVE, GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0}, @@ -1182,6 +1182,12 @@ void ScummEngine::scummInit() { _flashlight.buffer = NULL; } + // HACK curcor hotspot is wrong + // Original games used + // setCursorHotspot(8, 7); + if (_gameId == GID_FUNPACK) + setCursorHotspot(16, 16); + _mouse.x = 104; _mouse.y = 56; diff --git a/scumm/scumm.h b/scumm/scumm.h index 0d08b7da1b..ec8286b233 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -248,6 +248,7 @@ enum ScummGameId { GID_HEGAME, // Generic name for all HE games with default behaviour GID_PUTTDEMO, GID_FBEAR, + GID_FUNPACK, GID_FREDDEMO }; |