Removed an unused reference to OSystem

svn-id: r44704
This commit is contained in:
Filippos Karapetis 2009-10-06 17:09:34 +00:00
parent f664dcdee8
commit 0b47085da0
3 changed files with 4 additions and 5 deletions

View File

@ -45,7 +45,7 @@ SciGui::SciGui(OSystem *system, EngineState *state, SciGuiScreen *screen)
_picNotValid = 0;
_sysTicks = 0;
_palette = new SciGuiPalette(_system, _s, this, _screen);
_palette = new SciGuiPalette(_s, this, _screen);
_gfx = new SciGuiGfx(_system, _s, _screen, _palette);
_windowMgr = new SciGuiWindowMgr(_s, _gfx);
}

View File

@ -34,8 +34,8 @@
namespace Sci {
SciGuiPalette::SciGuiPalette(OSystem *system, EngineState *state, SciGui *gui, SciGuiScreen *screen)
: _system(system), _s(state), _gui(gui), _screen(screen) {
SciGuiPalette::SciGuiPalette(EngineState *state, SciGui *gui, SciGuiScreen *screen)
: _s(state), _gui(gui), _screen(screen) {
init();
}

View File

@ -33,7 +33,7 @@ namespace Sci {
class SciGuiScreen;
class SciGuiPalette {
public:
SciGuiPalette(OSystem *system, EngineState *state, SciGui *gui, SciGuiScreen *screen);
SciGuiPalette(EngineState *state, SciGui *gui, SciGuiScreen *screen);
~SciGuiPalette();
void init();
@ -55,7 +55,6 @@ public:
GuiPalette _sysPalette;
private:
OSystem *_system;
EngineState *_s;
SciGui *_gui;
SciGuiScreen *_screen;