aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
authorMax Horn2009-10-12 11:49:32 +0000
committerMax Horn2009-10-12 11:49:32 +0000
commitab1f2dac77448b848f1e736e6b8cc4162f6a5ec1 (patch)
treed0fc140ff7436a18b5fc58e5f40189c858f7f50b /engines/sci/gui
parent250402f21bf95d36e543013112455c6e00eb1e23 (diff)
downloadscummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.tar.gz
scummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.tar.bz2
scummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.zip
SCI: Fix warnings, cleanup
svn-id: r44978
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui_gfx.cpp1
-rw-r--r--engines/sci/gui/gui_screen.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp
index 2c1bfee9bc..e26ac8bf9d 100644
--- a/engines/sci/gui/gui_gfx.cpp
+++ b/engines/sci/gui/gui_gfx.cpp
@@ -1284,7 +1284,6 @@ void SciGuiGfx::AnimateDrawCels() {
}
void SciGuiGfx::AnimateUpdateScreen(byte oldPicNotValid) {
- SegManager *segMan = _s->_segMan;
GuiAnimateEntry *listEntry;
uint16 signal;
GuiAnimateList::iterator listIterator;
diff --git a/engines/sci/gui/gui_screen.cpp b/engines/sci/gui/gui_screen.cpp
index 1cbaf01da5..30eea9cbbf 100644
--- a/engines/sci/gui/gui_screen.cpp
+++ b/engines/sci/gui/gui_screen.cpp
@@ -36,9 +36,6 @@ namespace Sci {
SciGuiScreen::SciGuiScreen(int16 width, int16 height, int16 scaleFactor) :
_width(width), _height(height) {
- int i;
- uint16 base = 0;
-
_pixels = _width * _height;
// if you want to do scaling, adjust putPixel() accordingly