Matthew Hoops
142fb8a1f1
SCI: Don't include the time running the debugger in the game running time
...
svn-id: r51548
2010-07-31 19:18:35 +00:00
Martin Kiewitz
3a45e47c5c
SCI: adding new debug command logkernel
...
svn-id: r51220
2010-07-23 20:47:15 +00:00
Willem Jan Palenstijn
921c9a8e33
SCI: Add basic debugging command for 'said'
...
svn-id: r50991
2010-07-18 13:31:05 +00:00
Max Horn
1d3a0f6dec
SCI: Turn global object g_debugState into SciEngine member var
...
svn-id: r50836
2010-07-12 23:20:33 +00:00
Martin Kiewitz
9b14164bfc
SCI: accepting decimal/hexadecimal input on segment_info & kill_segment debug command, cleanup
...
svn-id: r50735
2010-07-07 14:19:36 +00:00
Matthew Hoops
18b449d4fd
Add a hexDumpReg function to view references that are not raw and fix SCI32 strings/arrays in segmentInfo.
...
svn-id: r50660
2010-07-04 23:38:08 +00:00
Martin Kiewitz
0436f2823d
SCI: added additional output to vmvars command
...
svn-id: r50395
2010-06-27 20:38:41 +00:00
Martin Kiewitz
7644631daf
SCI: removing debug command "set_acc", use "vmvars a" instead
...
svn-id: r50389
2010-06-27 20:02:58 +00:00
Martin Kiewitz
4653153910
SCI: added new command "p" / "stepover" to execute one command, but skip send/calls processing. single-step is now "trace" (alias "s" and "t"), stepping till ret is "step_ret" (alias "pret"), removed unused kDebugSeek
...
svn-id: r50388
2010-06-27 19:58:32 +00:00
Filippos Karapetis
4785e1fd3f
Renamed some variables
...
svn-id: r50284
2010-06-25 19:09:19 +00:00
Filippos Karapetis
a8af267651
Renamed verify_midi to show_instruments (and fixed a bug with it at the same time). This command scans all songs, or a specific song of a game and displays the instruments used
...
svn-id: r49599
2010-06-11 19:49:41 +00:00
Filippos Karapetis
a08d06ad35
- Added a new debug command, verify_midi, which can be used to check all the songs of a game for unmapped instruments (still WIP and disabled)
...
- Fixed a bug in the verify_scripts command (it was loading the script resource twice)
svn-id: r49597
2010-06-11 14:47:13 +00:00
Filippos Karapetis
25fb93465d
Added a new console command, verify_scripts, used for sanity checking of SCI1.1-SCI2.1 game scripts
...
svn-id: r49364
2010-05-31 22:57:05 +00:00
Max Horn
81f7a55e8c
SCI: Renamed Console::_vm to _engine
...
svn-id: r47831
2010-02-03 01:32:03 +00:00
Filippos Karapetis
da7d221d40
Introduced a new console command, diskdump, which is able to dump files from resource files to disk
...
svn-id: r47623
2010-01-28 01:45:20 +00:00
Martin Kiewitz
f376572ed8
SCI: renamed exit console command to quit, so that systemwide "exit" works (exits console instead of quitting game)
...
svn-id: r47607
2010-01-27 20:03:45 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Filippos Karapetis
d6e0276119
Added song manipulation debug commands: songinfo, startsound, togglesound and stopallsounds. is_sample now works with the new sound code
...
svn-id: r47475
2010-01-23 14:39:03 +00:00
Martin Kiewitz
a815d0e12a
SCI: added new debug command "picture_visualize", which enables visualization of the drawing process of EGA pictures
...
svn-id: r47201
2010-01-09 14:09:45 +00:00
Martin Kiewitz
1bea3e3873
SCI: added a new class for robot resources
...
svn-id: r47099
2010-01-06 21:56:31 +00:00
Martin Kiewitz
d183420c86
SCI: implemented debug command "set_palette"
...
svn-id: r47047
2010-01-05 21:25:59 +00:00
Martin Kiewitz
be9507fcb1
SCI: implemented new debug command "draw_cel"
...
svn-id: r47043
2010-01-05 21:03:33 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Martin Kiewitz
d4738631d5
SCI: implemented new console command "listsaves"
...
svn-id: r46883
2010-01-02 14:08:26 +00:00
Filippos Karapetis
57266a7cba
- Removed status_bar_foreground and status_bar_background variables from the engine state
...
- Implemented clearMenuBar() in the new graphics code
- Removed the "status_bar" command, which was used to set custom colors for the status bar
svn-id: r45538
2009-10-30 14:39:26 +00:00
Filippos Karapetis
cc31846eb5
Added a new console command, "play_video", which can play a SEQ or AVI file
...
svn-id: r45178
2009-10-17 10:42:00 +00:00
Martin Kiewitz
a61076a645
SCI: debug command undither implemented
...
svn-id: r44761
2009-10-07 21:47:34 +00:00
Max Horn
0da9ad5ff5
SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to console.cpp, and switch other code using it to use findObjectByName() instead.
...
svn-id: r44628
2009-10-04 18:36:58 +00:00
Willem Jan Palenstijn
95959a88ef
SCI: Fix typo
...
svn-id: r44561
2009-10-03 20:25:27 +00:00
Johannes Schickel
71c9700420
Fix compilation of the SCI engine. It seems that all of the SCI header files I touched (and probably others I luckily didn't touch) seem to assume that files including them will supply needed types. That looks like a major issue in SCI. Someone with knowledge of the SCI code should look into this and cleanup the includes of *all* SCI headers.
...
svn-id: r43459
2009-08-17 07:36:08 +00:00
Filippos Karapetis
5ca94c5cce
- Moved printObject inside the Console class
...
- Enabled the parts where disassemble() is called
svn-id: r42263
2009-07-08 13:08:51 +00:00
Filippos Karapetis
49ef8ae5a4
Added a new console command, "selector", which attempts to find a selector by name
...
svn-id: r42093
2009-07-04 15:22:42 +00:00
Filippos Karapetis
6fa8541aed
- Pushed debugstate into debug.h
...
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
2009-07-03 14:22:50 +00:00
Filippos Karapetis
c3403ac739
Moved some more debug state related variables in the DebugState struct
...
svn-id: r42044
2009-07-02 23:58:05 +00:00
Filippos Karapetis
245a2764fc
Cleanup
...
svn-id: r41727
2009-06-21 13:06:08 +00:00
Filippos Karapetis
95d32180df
Moved some more debug commands to ScummVM's console
...
svn-id: r41364
2009-06-08 08:38:10 +00:00
Filippos Karapetis
7375039158
Moved some more debug commands to ScummVM's coneole
...
svn-id: r41302
2009-06-06 20:29:37 +00:00
Filippos Karapetis
e572811aed
Moved some more debug commands to ScummVM's coneole
...
svn-id: r41227
2009-06-06 16:43:13 +00:00
Filippos Karapetis
7c84cca81d
Moved some more debug commands to ScummVM's coneole and removed some unused code
...
svn-id: r41198
2009-06-05 19:04:14 +00:00
Max Horn
6b1110b82d
SCI: Moved MemObject code into a separate source file
...
svn-id: r41166
2009-06-04 11:45:17 +00:00
Filippos Karapetis
9673beb082
Moved some more console commands to ScummVM's console
...
svn-id: r41141
2009-06-03 14:47:32 +00:00
Filippos Karapetis
317da8756e
- Moved the engine state and the console to be private members of SciEngine
...
- Implemented pauseEngineIntern()
- Music now stops and resumes when entering/leaving the debugger
svn-id: r41139
2009-06-03 14:09:25 +00:00
Filippos Karapetis
cb0aed3303
Moved some more console commands to ScummVM's console
...
svn-id: r41137
2009-06-03 11:38:12 +00:00
Filippos Karapetis
3c7b434b04
- Sorted the console commands a bit more
...
- Removed the commands which manipulated variables and turned them into debug variables instead
- Rewrote help so that it's more organized and easier to read
- Unified the debug variable names
svn-id: r41136
2009-06-03 09:45:16 +00:00
Filippos Karapetis
2ce6cca98b
Moved some more console commands to ScummVM's debug console
...
svn-id: r41129
2009-06-02 23:29:58 +00:00
Filippos Karapetis
ac544e73e9
Moved some more console commands to ScummVM's debug console
...
svn-id: r41127
2009-06-02 21:07:34 +00:00
Filippos Karapetis
780926991e
Moved some more console commands to ScummVM's debug console
...
svn-id: r41126
2009-06-02 19:03:43 +00:00
Filippos Karapetis
e317012cce
Further objectification of the SCI vocabulary functions. Removed the "kernel_words" console command, as it's exactly the same as "parser_words"
...
svn-id: r41065
2009-05-31 12:05:49 +00:00
Filippos Karapetis
dcecdc7b94
Moved the "songlib" command to console.cpp and removed the non-working "set_vismap" command - we can view the different maps with "show_map", but it doesn't make much sense to redirect the game's graphics output to another screen map on demand
...
svn-id: r41048
2009-05-30 20:45:57 +00:00
Filippos Karapetis
329b93acc8
Moved 4 mode commands to console.cpp: "sentence_fragments", "parser_nodes", "status_bar" and "track_mouse"
...
svn-id: r41043
2009-05-30 20:01:43 +00:00