diff options
| author | Max Horn | 2002-12-25 03:48:27 +0000 |
|---|---|---|
| committer | Max Horn | 2002-12-25 03:48:27 +0000 |
| commit | 1b0963dd760f4780dcd61f31706fb41fdb4331e9 (patch) | |
| tree | 49ad5b66f285c824aa9d7e5aedd45e56912804ae /scumm/gfx.cpp | |
| parent | bf41dbdba3c24b438e516850a8ba6ca584b2a82b (diff) | |
| download | scummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.tar.gz scummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.tar.bz2 scummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.zip | |
added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
Diffstat (limited to 'scumm/gfx.cpp')
| -rw-r--r-- | scumm/gfx.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 39042907d0..eac9c9d593 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3085,12 +3085,14 @@ void Scumm::useBompCursor(byte *im, int width, int height) size = width * height; if (size > sizeof(_grabbedCursor)) - error("useBompCursor: cursor too big"); + error("useBompCursor: cursor too big (%d)", size); _cursor.width = width; _cursor.height = height; _cursor.animate = 0; + // FIXME - why exactly the +10 ? Is that to account for block headers or something? + // Should be documented and verified that this is appropriate for V8 bomps, or not. decompressBomp(_grabbedCursor, im + 10, width, height); updateCursor(); @@ -3312,6 +3314,8 @@ void Scumm::decompressBomp(byte *dst, byte *src, int w, int h) int len, num; byte code, color; + + // FIXME - why this +8? To skip some kind of header? Is this right for V8 ? src += 8; do { |
