diff options
author | Filippos Karapetis | 2010-11-11 19:22:56 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-11 19:22:56 +0000 |
commit | 8b14137c07bceda262e5423aadea830c761dc2bc (patch) | |
tree | e3feefa96d9fd5a55b6ac765dadc024a17edd33d /engines/sci/graphics/screen.h | |
parent | c624202c39215ea4b555567ee45abe01cac92133 (diff) | |
download | scummvm-rg350-8b14137c07bceda262e5423aadea830c761dc2bc.tar.gz scummvm-rg350-8b14137c07bceda262e5423aadea830c761dc2bc.tar.bz2 scummvm-rg350-8b14137c07bceda262e5423aadea830c761dc2bc.zip |
SCI: Some video related changes
- Now playVideo() is used when playing videos from the console (reducing
code duplication)
- Added support for 16bpp scaling in scale2x, so that the 16-bit color
Duck videos are scaled correctly
svn-id: r54210
Diffstat (limited to 'engines/sci/graphics/screen.h')
-rw-r--r-- | engines/sci/graphics/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/screen.h b/engines/sci/graphics/screen.h index 44746ae00b..dfc7a65311 100644 --- a/engines/sci/graphics/screen.h +++ b/engines/sci/graphics/screen.h @@ -109,7 +109,7 @@ public: void getPalette(Palette *pal); void setPalette(Palette *pal); - void scale2x(const byte *src, byte *dst, int16 srcWidth, int16 srcHeight); + void scale2x(const byte *src, byte *dst, int16 srcWidth, int16 srcHeight, byte bytesPerPixel = 1); void adjustToUpscaledCoordinates(int16 &y, int16 &x); void adjustBackUpscaledCoordinates(int16 &y, int16 &x); |