diff options
author | Strangerke | 2013-03-28 18:29:24 +0100 |
---|---|---|
committer | Strangerke | 2013-03-28 18:29:24 +0100 |
commit | b4b56f72d3e6e23356b0997bce3bfef283379595 (patch) | |
tree | 05188d04a7d9690b1934292ae25a1ec56390f446 /engines | |
parent | 13b89e2a81a23311a44159cf7bfcd7eb43128c49 (diff) | |
download | scummvm-rg350-b4b56f72d3e6e23356b0997bce3bfef283379595.tar.gz scummvm-rg350-b4b56f72d3e6e23356b0997bce3bfef283379595.tar.bz2 scummvm-rg350-b4b56f72d3e6e23356b0997bce3bfef283379595.zip |
HOPKINS: Remove dead code. Thanks eriktorbjorn for reporting it
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/objects.cpp | 13 | ||||
-rw-r--r-- | engines/hopkins/objects.h | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp index 982678ba80..4dd82c1bae 100644 --- a/engines/hopkins/objects.cpp +++ b/engines/hopkins/objects.cpp @@ -568,11 +568,6 @@ void ObjectsManager::displaySprite() { _vm->_dialogsManager->inventAnim(); } -void ObjectsManager::initBob() { - for (int idx = 0; idx < 35; ++idx) - resetBob(idx); -} - void ObjectsManager::resetBob(int idx) { BobItem &bob = _bob[idx]; ListeItem &item = Liste2[idx]; @@ -3113,14 +3108,6 @@ int ObjectsManager::getBobPosX(int idx) { return _bob[idx]._xp; } -int ObjectsManager::getBobPosY(int idx) { - return _bob[idx]._yp; -} - -int ObjectsManager::getBobFrameIndex(int idx) { - return _bob[idx]._frameIndex; -} - void ObjectsManager::loadLinkFile(const Common::String &file) { Common::File f; Common::String filename = file + ".LNK"; diff --git a/engines/hopkins/objects.h b/engines/hopkins/objects.h index 9dcf6a6968..77b6d4cc3e 100644 --- a/engines/hopkins/objects.h +++ b/engines/hopkins/objects.h @@ -187,7 +187,6 @@ private: int getOffsetY(const byte *spriteData, int spriteIndex, bool isSize); void capture_mem_sprite(const byte *objectData, byte *sprite, int objIndex); - void initBob(); void setBobInfo(int idx); void SCBOB(int idx); void CALCUL_BOB(int idx); @@ -208,7 +207,6 @@ private: void GOHOME2(); void nextVerbIcon(); - int getBobFrameIndex(int idx); void handleForest(int screenId, int minX, int maxX, int minY, int maxY, int idx); void sceneSpecialIni(); @@ -288,7 +286,6 @@ public: void setBobAnimation(int idx); void stopBobAnimation(int idx); int getBobPosX(int idx); - int getBobPosY(int idx); void handleCityMap(); void clearScreen(); |