diff options
author | Martin Kiewitz | 2010-02-05 15:53:36 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-02-05 15:53:36 +0000 |
commit | 03dd0ac7bbfa080699f1fd0f1f54303413364494 (patch) | |
tree | 47edea13ddd505f1a491e44de0e19155c157808d /engines/sci/graphics | |
parent | ab2941bb520583be93ca9520497f6c3718194fa2 (diff) | |
download | scummvm-rg350-03dd0ac7bbfa080699f1fd0f1f54303413364494.tar.gz scummvm-rg350-03dd0ac7bbfa080699f1fd0f1f54303413364494.tar.bz2 scummvm-rg350-03dd0ac7bbfa080699f1fd0f1f54303413364494.zip |
SCI: screen specific debug functions are now called directly w/o SciGui/32
svn-id: r47905
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/gui.cpp | 10 | ||||
-rw-r--r-- | engines/sci/graphics/gui.h | 2 | ||||
-rw-r--r-- | engines/sci/graphics/screen.cpp | 2 | ||||
-rw-r--r-- | engines/sci/graphics/screen.h | 2 |
4 files changed, 2 insertions, 14 deletions
diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index 741b5d7e82..785dd32392 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -439,16 +439,6 @@ void SciGui::portraitShow(Common::String resourceName, Common::Point position, u void SciGui::portraitUnload(uint16 portraitId) { } -bool SciGui::debugUndither(bool flag) { - _screen->unditherSetState(flag); - return false; -} - -bool SciGui::debugShowMap(int mapNo) { - _screen->debugShowMap(mapNo); - return false; -} - bool SciGui::debugEGAdrawingVisualize(bool state) { _paint16->setEGAdrawingVisualize(state); return false; diff --git a/engines/sci/graphics/gui.h b/engines/sci/graphics/gui.h index 569cc323e3..2bf7b8a92e 100644 --- a/engines/sci/graphics/gui.h +++ b/engines/sci/graphics/gui.h @@ -95,8 +95,6 @@ public: virtual void portraitShow(Common::String resourceName, Common::Point position, uint16 resourceNum, uint16 noun, uint16 verb, uint16 cond, uint16 seq); virtual void portraitUnload(uint16 portraitId); - virtual bool debugUndither(bool flag); - virtual bool debugShowMap(int mapNo); virtual bool debugEGAdrawingVisualize(bool state); // FIXME: Don't store EngineState diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 207c459687..211d91d67e 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -484,7 +484,7 @@ void GfxScreen::dither(bool addToFlag) { } } -void GfxScreen::unditherSetState(bool flag) { +void GfxScreen::debugUnditherSetState(bool flag) { _unditherState = flag; } diff --git a/engines/sci/graphics/screen.h b/engines/sci/graphics/screen.h index 55fd0b4828..f5e64986ea 100644 --- a/engines/sci/graphics/screen.h +++ b/engines/sci/graphics/screen.h @@ -92,7 +92,7 @@ public: void scale2x(byte *src, byte *dst, int16 srcWidth, int16 srcHeight); void dither(bool addToFlag); - void unditherSetState(bool flag); + void debugUnditherSetState(bool flag); int16 *unditherGetMemorial(); void debugShowMap(int mapNo); |