diff options
author | Martin Kiewitz | 2010-05-15 15:45:05 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-15 15:45:05 +0000 |
commit | 19af89a902d3b4736d61fd701857f64d6694d8b9 (patch) | |
tree | 3f1cc092acced8702ce3750a1fcce24db486c354 /engines/sci/graphics | |
parent | f3b2627179852a869963c9120acf250de5a71b3c (diff) | |
download | scummvm-rg350-19af89a902d3b4736d61fd701857f64d6694d8b9.tar.gz scummvm-rg350-19af89a902d3b4736d61fd701857f64d6694d8b9.tar.bz2 scummvm-rg350-19af89a902d3b4736d61fd701857f64d6694d8b9.zip |
SCI: removed _mainPort (was unused, is unused)
svn-id: r49042
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 7 | ||||
-rw-r--r-- | engines/sci/graphics/ports.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp index fe59f0aa1f..7873ca2d0e 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -51,7 +51,6 @@ GfxPorts::GfxPorts(SegManager *segMan, GfxScreen *screen) GfxPorts::~GfxPorts() { // TODO: Clear _windowList and delete all stuff in it? - delete _mainPort; delete _menuPort; } @@ -63,12 +62,6 @@ void GfxPorts::init(bool usesOldGfxFunctions, SciGui *gui, GfxPaint16 *paint16, _paint16 = paint16; _text16 = text16; - // _mainPort is not known to windowmanager, that's okay according to sierra sci - // its not even used currently in our engine - _mainPort = new Port(0); - setPort(_mainPort); - openPort(_mainPort); - // _menuPort has actually hardcoded id 0xFFFF. Its not meant to be known to windowmanager according to sierra sci _menuPort = new Port(0xFFFF); openPort(_menuPort); diff --git a/engines/sci/graphics/ports.h b/engines/sci/graphics/ports.h index 32f79de730..0876d9e442 100644 --- a/engines/sci/graphics/ports.h +++ b/engines/sci/graphics/ports.h @@ -118,7 +118,6 @@ private: Common::Array<Port *> _windowsById; Common::Rect _bounds; - Port *_mainPort; // Priority Bands related variables int16 _priorityTop, _priorityBottom, _priorityBandCount; |