diff options
author | Travis Howell | 2009-01-23 04:05:10 +0000 |
---|---|---|
committer | Travis Howell | 2009-01-23 04:05:10 +0000 |
commit | c36eb092374dfdd5279fbf29c07540a9333bf163 (patch) | |
tree | 1a929ad072c921e44725f430a0823609f74ba55b /engines | |
parent | 8914ef89eaeedf8bd2f788d8ee136ed54b932546 (diff) | |
download | scummvm-rg350-c36eb092374dfdd5279fbf29c07540a9333bf163.tar.gz scummvm-rg350-c36eb092374dfdd5279fbf29c07540a9333bf163.tar.bz2 scummvm-rg350-c36eb092374dfdd5279fbf29c07540a9333bf163.zip |
Remove unused shutdown() code.
svn-id: r36018
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.cpp | 51 | ||||
-rw-r--r-- | engines/agos/agos.h | 1 |
2 files changed, 0 insertions, 52 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 24d65a13b2..0bbbfd0f4a 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -1028,57 +1028,6 @@ Common::Error AGOSEngine::go() { } -/* I do not think that this will be used - * -void AGOSEngine::shutdown() { - // Sync with AGOSEngine::~AGOSEngine() - // In Simon 2, this gets deleted along with _sound further down - if (getGameType() != GType_SIMON2) - delete _gameFile; - - _midi.close(); - delete _driver; - - for (uint i = 0; i < _itemHeap.size(); i++) { - delete[] _itemHeap[i]; - } - _itemHeap.clear(); - - free(_tablesHeapPtr - _tablesHeapCurPos); - - free(_gameOffsetsPtr); - free(_iconFilePtr); - free(_itemArrayPtr); - free(_stringTabPtr); - free(_strippedTxtMem); - free(_tblList); - free(_textMem); - - free(_backGroundBuf); - free(_backBuf); - free(_scaleBuf); - - free(_window4BackScn); - free(_window6BackScn); - - free(_variableArray); - free(_variableArray2); - - delete _dummyItem1; - delete _dummyItem2; - delete _dummyItem3; - - delete _dummyWindow; - delete[] _windowList; - - delete _debugger; - delete _moviePlayer; - delete _sound; - - _system->shouldQuit(); -} -*/ - uint32 AGOSEngine::getTime() const { return _system->getMillis() / 1000; } diff --git a/engines/agos/agos.h b/engines/agos/agos.h index 68a2771b62..18a7fbe679 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -1188,7 +1188,6 @@ protected: void clsCheck(WindowBlock *window); void quickLoadOrSave(); - void shutdown(); byte *vc10_uncompressFlip(const byte *src, uint w, uint h); byte *vc10_flip(const byte *src, uint w, uint h); |