diff options
author | Johannes Schickel | 2009-05-19 01:39:18 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-19 01:39:18 +0000 |
commit | 783fb058b02a638a40cf5a6d1a50cedf0f26cc14 (patch) | |
tree | 79600e45b08a90e4d77a7a40e8c082f91d69695e /engines/kyra/screen_v2.cpp | |
parent | 36ace75983e62f423fb6842647d9190fc0ea69bc (diff) | |
download | scummvm-rg350-783fb058b02a638a40cf5a6d1a50cedf0f26cc14.tar.gz scummvm-rg350-783fb058b02a638a40cf5a6d1a50cedf0f26cc14.tar.bz2 scummvm-rg350-783fb058b02a638a40cf5a6d1a50cedf0f26cc14.zip |
Formatting.
svn-id: r40717
Diffstat (limited to 'engines/kyra/screen_v2.cpp')
-rw-r--r-- | engines/kyra/screen_v2.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/kyra/screen_v2.cpp b/engines/kyra/screen_v2.cpp index f69da13dbe..e72321346f 100644 --- a/engines/kyra/screen_v2.cpp +++ b/engines/kyra/screen_v2.cpp @@ -115,7 +115,6 @@ int Screen_v2::findLeastDifferentColor(const uint8 *paletteEntry, const uint8 *p } void Screen_v2::getFadeParams(const uint8 *palette, int delay, int &delayInc, int &diff) { - int maxDiff = 0; diff = 0; int len = _use16ColorMode ? 48 : 768; @@ -313,12 +312,10 @@ int Screen_v2::getShapeScaledHeight(const uint8 *shpFile, int scale) { } uint16 Screen_v2::getShapeSize(const uint8 *shp) { - return READ_LE_UINT16(shp+6); } uint8 *Screen_v2::makeShapeCopy(const uint8 *src, int index) { - const uint8 *shape = getPtrToShape(src, index); if (!shape) return 0; @@ -480,7 +477,6 @@ bool Screen_v2::calcBounds(int w0, int h0, int &x1, int &y1, int &w1, int &h1, i } void Screen_v2::checkedPageUpdate(int srcPage, int dstPage) { - const uint32 *src = (const uint32 *)getPagePtr(srcPage); uint32 *dst = (uint32 *)getPagePtr(dstPage); uint32 *page0 = (uint32 *)getPagePtr(0); |