From c34bc12af20e21e100138d8e9dc37006f404420d Mon Sep 17 00:00:00 2001 From: uruk Date: Sat, 21 Sep 2013 12:36:19 +0200 Subject: AVALANCHE: Remove useless code. --- engines/avalanche/avalanche.cpp | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'engines') diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index 7d216fad33..f140ae90b6 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -527,7 +527,7 @@ Common::Error AvalancheEngine::run() { do { _avalot->runAvalot(); - // Needed for later implementation!!! Don't remove these comments!!! +#if 0 //switch (_storage._operation) { //case kRunShootemup: // run("seu.avx", kJsb, kBflight, kNormal); @@ -542,6 +542,7 @@ Common::Error AvalancheEngine::run() { // run("golden.avx", kJsb, kBflight, kMusical); // break; //} +#endif } while (!_gyro->_letMeOut && !shouldQuit()); @@ -554,15 +555,6 @@ void AvalancheEngine::run(Common::String what, bool withJsb, bool withBflight, E // Probably there'll be no need of this function, as all *.AVX-es will become classes. } -void AvalancheEngine::bFlightOn() { - _storage._skellern = kReset; - // setintvec(0x1c, &b_flight); -} - -void AvalancheEngine::bFlightOff() { - // setintvec(0x1c, old_1c); -} - Common::String AvalancheEngine::elmToStr(Elm how) { switch (how) { case kNormal: @@ -587,11 +579,6 @@ void AvalancheEngine::dosShell() { warning("STUB: dosShell()"); } -//TODO: Remove these (b_flight) functions later ( https://github.com/tthurman/avalot/wiki/B-Flight ) -void AvalancheEngine::bFlight() { //interrupt; - _storage._skellern++; -} - // Needed in dos_shell(). TODO: Remove later. Common::String AvalancheEngine::commandCom() { warning("STUB: commandCom()"); @@ -603,16 +590,6 @@ void AvalancheEngine::explain(byte error) { warning("STUB: explain()"); } -// The original ones were all commented out, so probably there's no need -// of these two cursor functions at all. TODO: Remove later. -void AvalancheEngine::cursorOff() { - warning("STUB: cursorOff()"); -} - -void AvalancheEngine::cursorOn() { - warning("STUB: cursorOn()"); -} - // Needed later. void AvalancheEngine::quit() { cursorOn(); -- cgit v1.2.3