mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 12:55:24 +00:00
SCI: removed _mainPort (was unused, is unused)
svn-id: r49042
This commit is contained in:
parent
f3b2627179
commit
19af89a902
@ -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);
|
||||
|
@ -118,7 +118,6 @@ private:
|
||||
Common::Array<Port *> _windowsById;
|
||||
|
||||
Common::Rect _bounds;
|
||||
Port *_mainPort;
|
||||
|
||||
// Priority Bands related variables
|
||||
int16 _priorityTop, _priorityBottom, _priorityBandCount;
|
||||
|
Loading…
x
Reference in New Issue
Block a user