[Scummvm-cvs-logs] scummvm master -> 6412e40b387ca9f15bad017161f2502a9ebee81f
sev-
sev at scummvm.org
Mon Aug 1 10:55:57 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6412e40b38 SHERLOCK: Fix another warning
Commit: 6412e40b387ca9f15bad017161f2502a9ebee81f
https://github.com/scummvm/scummvm/commit/6412e40b387ca9f15bad017161f2502a9ebee81f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-08-01T11:55:48+03:00
Commit Message:
SHERLOCK: Fix another warning
Changed paths:
engines/sherlock/surface.cpp
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index 93bc001..cca0126 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -29,9 +29,9 @@ BaseSurface::BaseSurface() : Graphics::Screen(0, 0), Fonts() {
free(); // Free the 0x0 surface allocated by Graphics::Screen
}
-BaseSurface::BaseSurface(int width, int height) : Graphics::Screen(width, height),
+BaseSurface::BaseSurface(int width_, int height_) : Graphics::Screen(width_, height_),
Fonts() {
- create(width, height);
+ create(width_, height_);
}
void BaseSurface::writeString(const Common::String &str, const Common::Point &pt, uint overrideColor) {
@@ -61,7 +61,7 @@ void BaseSurface::SHtransBlitFrom(const Graphics::Surface &src, const Common::Po
Common::Rect srcRect(0, 0, src.w, src.h);
Common::Rect destRect(pt.x, pt.y, pt.x + src.w * SCALE_THRESHOLD / scaleVal,
pt.y + src.h * SCALE_THRESHOLD / scaleVal);
-
+
Graphics::Screen::transBlitFrom(src, srcRect, destRect, TRANSPARENCY,
flipped, overrideColor);
}
More information about the Scummvm-git-logs
mailing list