diff options
author | uruk | 2014-05-19 16:16:24 +0200 |
---|---|---|
committer | uruk | 2014-05-19 16:16:24 +0200 |
commit | 6bcbe5e8baca1b5607308039d42f20e9a7d03632 (patch) | |
tree | f15f487254c762a772fa7af1e085437f851e0b8c | |
parent | 5d2f7cd3fd6b33fa9465817682fb8380dc25587d (diff) | |
download | scummvm-rg350-6bcbe5e8baca1b5607308039d42f20e9a7d03632.tar.gz scummvm-rg350-6bcbe5e8baca1b5607308039d42f20e9a7d03632.tar.bz2 scummvm-rg350-6bcbe5e8baca1b5607308039d42f20e9a7d03632.zip |
CGE2: Further implement caveUp(), add stub for selectPocket().
-rw-r--r-- | engines/cge2/cge2.h | 1 | ||||
-rw-r--r-- | engines/cge2/cge2_main.cpp | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h index bb49d0a692..4b505cb5cb 100644 --- a/engines/cge2/cge2.h +++ b/engines/cge2/cge2.h @@ -90,6 +90,7 @@ public: int newRandom(int range); void loadMap(int cav); void openPocket(); + void selectPocket(int n); void setEye(V3D &e); void setEye(const V2D& e2, int z = -kScrWidth); diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index e9674c1e60..1ce8ea42d1 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -343,6 +343,10 @@ void CGE2Engine::caveUp(int cav) { warning("STUB: CGE2Engine::caveUp()"); // TODO: Implement "Hero" things here! + _sound->stop(); + _fx->clear(); + + selectPocket(-1); _vga->update(); @@ -370,6 +374,10 @@ void CGE2Engine::openPocket() { warning("STUB: CGE2Engine::openPocket()"); } +void CGE2Engine::selectPocket(int n) { + warning("STUB: CGE2Engine::selectPocket()"); +} + void CGE2Engine::runGame() { warning("STUB: CGE2Engine::runGame()"); } |