diff options
author | Filippos Karapetis | 2009-10-07 11:31:30 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-07 11:31:30 +0000 |
commit | a17d01bd21b8377b132b59ec48589495d3852fb0 (patch) | |
tree | c97498447f0093d0a0f4cd8004a739f8b94f1654 /engines/sci/gui | |
parent | f72c4d21c7d158345546dd9db95c2ae9a1924f79 (diff) | |
download | scummvm-rg350-a17d01bd21b8377b132b59ec48589495d3852fb0.tar.gz scummvm-rg350-a17d01bd21b8377b132b59ec48589495d3852fb0.tar.bz2 scummvm-rg350-a17d01bd21b8377b132b59ec48589495d3852fb0.zip |
More work on the view code wrapper. Now all SCI0-SCI11 views should be displayed correctly, apart from the late SCI0 ones (e.g. in Codename Iceman), where the palette is incorrect
svn-id: r44724
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_view.h b/engines/sci/gui/gui_view.h index b52cf585d7..8ed7bb058b 100644 --- a/engines/sci/gui/gui_view.h +++ b/engines/sci/gui/gui_view.h @@ -59,7 +59,8 @@ public: byte *getBitmap(GuiViewLoopNo loopNo, GuiViewCelNo celNo); void draw(Common::Rect rect, Common::Rect clipRect, Common::Rect clipRectTranslated, GuiViewLoopNo loopNo, GuiViewCelNo celNo, byte priority, uint16 paletteNo); uint16 getLoopCount() const { return _loopCount; } - SciGuiPalette *getPalette() const { return _palette; } + GuiPalette *getPalette() { return &_viewPalette; } + const byte *getEgaMapping() const { return _EGAMapping; } private: void initData(GuiResourceId resourceId); |