aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2013-09-21 12:36:19 +0200
committeruruk2013-09-21 12:36:19 +0200
commitc34bc12af20e21e100138d8e9dc37006f404420d (patch)
tree47544006889a744725456275b4b31207a439e05a /engines
parent39b4d8b71c7293f95442560680a6f2a64b62dbd2 (diff)
downloadscummvm-rg350-c34bc12af20e21e100138d8e9dc37006f404420d.tar.gz
scummvm-rg350-c34bc12af20e21e100138d8e9dc37006f404420d.tar.bz2
scummvm-rg350-c34bc12af20e21e100138d8e9dc37006f404420d.zip
AVALANCHE: Remove useless code.
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/avalanche.cpp27
1 files changed, 2 insertions, 25 deletions
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();