diff options
author | Strangerke | 2012-03-02 08:38:41 +0100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:22:24 +0200 |
commit | 7764caaadee89b9eb1922acc93abf157ce84e4f7 (patch) | |
tree | c5bd1eddc95056b9a03fea5faecd014782b3fbac /engines/mortevielle/graphics.cpp | |
parent | 1a70cee6a6e59290819f516736bb3123f232e342 (diff) | |
download | scummvm-rg350-7764caaadee89b9eb1922acc93abf157ce84e4f7.tar.gz scummvm-rg350-7764caaadee89b9eb1922acc93abf157ce84e4f7.tar.bz2 scummvm-rg350-7764caaadee89b9eb1922acc93abf157ce84e4f7.zip |
MORTEVIELLE: Start renaming globals
Diffstat (limited to 'engines/mortevielle/graphics.cpp')
-rw-r--r-- | engines/mortevielle/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mortevielle/graphics.cpp b/engines/mortevielle/graphics.cpp index bec7ef4073..3108594f40 100644 --- a/engines/mortevielle/graphics.cpp +++ b/engines/mortevielle/graphics.cpp @@ -985,7 +985,7 @@ void ScreenSurface::writeCharacter(const Common::Point &pt, unsigned char ch, in * simulate the original 640x400 surface, all Y values have to be doubled */ void ScreenSurface::drawBox(int x, int y, int dx, int dy, int col) { - if (res == 1) { + if (g_res == 1) { x = (uint)x >> 1; dx = (uint)dx >> 1; } @@ -1052,7 +1052,7 @@ void ScreenSurface::writeg(const Common::String &l, int c) { hideMouse(); pt = _textPos; - if (res == 2) + if (g_res == 2) i = 6; else i = 10; @@ -1093,7 +1093,7 @@ void ScreenSurface::writeg(const Common::String &l, int c) { * Gets the width in pixels of the specified string */ int ScreenSurface::getStringWidth(const Common::String &s) { - int charWidth = (res == 2) ? 6 : 10; + int charWidth = (g_res == 2) ? 6 : 10; return s.size() * charWidth; } |