SCI: removed _mainPort (was unused, is unused)

svn-id: r49042
This commit is contained in:
Martin Kiewitz 2010-05-15 15:45:05 +00:00
parent f3b2627179
commit 19af89a902
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -118,7 +118,6 @@ private:
Common::Array<Port *> _windowsById;
Common::Rect _bounds;
Port *_mainPort;
// Priority Bands related variables
int16 _priorityTop, _priorityBottom, _priorityBandCount;