From c64c7eb4d4edd087031603df446abf271f616480 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 3 Dec 2004 19:15:44 +0000 Subject: First pass at migrating from the old Reinherit console to the ScummVM console. Some things are likely to have broken. For instance, I believe the old console was could be visible during gameplay, while ScummVM's is modal. So any place where we output something to the console during gameplay should probably be removed. Some things I've stubbed out. Basically any code that registers a variable. Most of the debugging commands are untested. Syntax may have changed because of different command-line parsing. (I never actually used the old console, so I don't know for sure. :-) Actually, I'm not that interested in reproducing the old console commands faithfully. What we should do now is to make the immediately useful console stuff work. Anything that remains unimplemented should probably be removed. svn-id: r15976 --- saga/events.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'saga/events.cpp') diff --git a/saga/events.cpp b/saga/events.cpp index f377b444d1..f1bbdcc564 100644 --- a/saga/events.cpp +++ b/saga/events.cpp @@ -198,18 +198,6 @@ int Events::handleContinuous(EVENT *event) { break; } break; - case CONSOLE_EVENT: - switch (event->op) { - case EVENT_ACTIVATE: - _vm->_console->dropConsole(event_pc); - break; - case EVENT_DEACTIVATE: - _vm->_console->raiseConsole(event_pc); - break; - default: - break; - } - break; default: break; @@ -398,7 +386,7 @@ int Events::handleOneShot(EVENT *event) { sthread = _vm->_script->SThreadCreate(); if (sthread == NULL) { - _vm->_console->print("Thread creation failed."); + _vm->_console->DebugPrintf("Thread creation failed.\n"); break; } -- cgit v1.2.3