Enable the debug console. Actually, what I've done is to adapt the debug

console from the SCUMM engine. I decided that would be easier than to clean
up the original console code.

Unfortunately there's a bunch of code that I just copied - a pretty lousy
form of code-reusal. It'd be nice if the console could be made part of the
Engine class, or something like that.

Most of the debug commands seem to be working. Some aren't relevant for
ScummVM, and some are a bit obscure so I'm not quite sure what they're
supposed to be doing.

svn-id: r10978
This commit is contained in:
Torbjörn Andersson
2003-10-26 15:42:49 +00:00
parent 2a139049d6
commit 7c4cc25cec
39 changed files with 1419 additions and 2032 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ int32 Logic::fnResetGlobals(int32 *params) {
res_man.close(1);
// all objects but george
res_man.killAllObjects(0);
res_man.killAllObjects(false);
// FOR THE DEMO - FORCE THE SCROLLING TO BE RESET!
// - this is taken from fnInitBackground