Commit Graph

34 Commits

Author SHA1 Message Date
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
a4d2a47820 factor out common debugger code
svn-id: r10984
2003-10-26 21:30:52 +00:00
Max Horn
d581c99ab5 cleanup
svn-id: r10982
2003-10-26 19:16:59 +00:00
Torbjörn Andersson
b2ea1994bb Use #if USE_CONSOLE instead of #ifdef USE_CONSOLE since that's how we do
everywhere else

svn-id: r10981
2003-10-26 17:50:45 +00:00
Max Horn
b3f8b4010b cleanup
svn-id: r10764
2003-10-12 17:49:52 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Jamieson Christian
a52b44f3fe Expanded iMuse debugger commands. All iMuse
commands are now under "imuse", and underscores
have been removed.

imuse panic - Stop all music tracks
imuse multimidi on/off - Set multimidi
imuse play # - Play a sound resource
imuse play random - Play a random sound resource
imuse stop # - Stop a music resource
imuse stop all - Stop all music resources

Note that "play #" and "play random" only attempt
to play a sound resource. If the resource is not
a music resource or is in a format not supported by
the current music driver, it won't play.

You can use this as a mini jukebox, but be sure
you're in a room with minimal activity. The
goal is to minimize interference from the scripts
while playing sounds that are not expected in
that room.

svn-id: r9641
2003-08-11 14:48:21 +00:00
Jamieson Christian
550bf93656 Added imuse_panic to turn off all music players
svn-id: r9621
2003-08-10 11:39:17 +00:00
Max Horn
6c92fc12c0 added box matrix debug command
svn-id: r8179
2003-05-31 14:32:35 +00:00
Max Horn
86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Jamieson Christian
fcc11d19fa Added imuse_multimidi to debugger
svn-id: r7614
2003-05-17 19:03:25 +00:00
Max Horn
395b11b26c added box drawing code from the old debugger to the new debugger (and cleaned it up + fixed it for rooms wider than one screen)
svn-id: r7491
2003-05-14 00:35:08 +00:00
Max Horn
f618744799 make it possible to use stdio for the debugger, instead of the console dialog (useful because the console is very narrow, which is annoying when using e.g. the 'box' command
svn-id: r7490
2003-05-13 23:56:30 +00:00
Max Horn
975d325a92 Patch #731613: debugger tab-completion (thanks, Willem!)
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
0cacf945f2 Patch #730309: DEBUGGER: Command to list Loom drafts
svn-id: r7233
2003-04-30 21:16:45 +00:00
Jonathan Gray
3da2a09443 add importres and script starting functionality to the debugger
svn-id: r7100
2003-04-25 02:53:35 +00:00
Jonathan Gray
8d39d6ddb1 add script command to debugger and convert old printscripts function to new debugger
svn-id: r7082
2003-04-23 05:05:20 +00:00
James Brown
a8dfcb4eda Add somewhat hacky 'restart' command to debugger. Still needs work :)
svn-id: r7071
2003-04-22 04:40:30 +00:00
James Brown
79189f2e12 Dump Scumm error() to debugger
svn-id: r7033
2003-04-20 16:25:48 +00:00
Jonathan Gray
c597d0d4d6 add script hex dumping option to debugger
svn-id: r7024
2003-04-20 06:55:09 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Jonathan Gray
3d75e1191d add commands to debugger, objects prints a table of local objects, object num pickup (room) will pickup an object, _currentRoom if no room specified, be warned this currently doesn't check the room is valid for the particular object number
svn-id: r6656
2003-03-02 07:50:49 +00:00
Jonathan Gray
c982b4f00b add help command to debugger to list commands and vars, we should probably have a help string for each but this is much better than reading the code for now :)
svn-id: r6501
2003-01-18 16:04:28 +00:00
Jonathan Gray
d591eb77f7 add the view/set debug level command 'level' from the old debugger
svn-id: r6496
2003-01-18 14:51:06 +00:00
James Brown
08d34d17c0 Skeleton for actor debugger commands - current command is useful for states where actors in CMI get stuck with "I can't reach it"
type stuff. :)

svn-id: r6351
2003-01-07 09:46:51 +00:00
Max Horn
f167eafee6 added two debugger commands
svn-id: r6268
2002-12-30 01:27:33 +00:00
James Brown
77b905d0c2 Add Save/Load game commands to Debugger
svn-id: r6219
2002-12-28 05:17:46 +00:00
Max Horn
563f99b1fe more -pedantic warnings fixed
svn-id: r6109
2002-12-25 00:38:53 +00:00
James Brown
4e373ef467 Add room command to debugger
svn-id: r6029
2002-12-20 13:50:24 +00:00
Max Horn
e6e8468a31 indentation fixes; added a constructor (after all the debugger is a global var which is not allocated by new, hence we can't relay on memory being zeroed). And no I am not actually gonna use force against Endy, I just was frustrated :-)
svn-id: r6005
2002-12-16 22:46:17 +00:00
James Brown
3a43db28e3 Oops. Fix compile.
svn-id: r5991
2002-12-16 06:38:29 +00:00
James Brown
e989809665 New debugger core. Doesn't really have anything implemented yet, but is far more expandable and userfriendly than our previous.
Enable experimental console debugger by default, as I havn't written the text console code yet :)

svn-id: r5990
2002-12-16 06:21:08 +00:00