aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.h
AgeCommit message (Collapse)Author
2011-01-07SCI2/2.1: Improvements to the find_callk debug function, and some kernel ↵Filippos Karapetis
function updates - Improved the find_callk function to properly find the end of script objects, by monitoring jump calls - Added three extra special calls to find_callk: find kernel function calls to dummy, unused and unmapped kernel functions - Updated several kernel function calls because of the above functionality - The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added a FIXME for it svn-id: r55151
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-11-17SCI: Unified the functionality and parameters of the disasm and disasm_addr ↵Filippos Karapetis
commands svn-id: r54276
2010-11-17SCI: Added the ability to display original script bytecode in the "disasm" ↵Filippos Karapetis
console command svn-id: r54275
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-28SCI: Several changes related to MT-32 -> GM mappingFilippos Karapetis
- Changed C - style comments in map-mt32-to-gm.h to C++ - style comments - Added a new dynamic MT-32 -> GM mapping, complementary to the normal one, which can be done on the fly using the new console command "map_instrument" - The "show_instruments" command has been moved to the music section and now displays the instruments of the game which aren't in the MT32-> GM mapping svn-id: r53902
2010-10-20SCI: Added a new debug command, "find_callk"Filippos Karapetis
This command can be used to find the object methods (including their corresponding objects and owner scripts) that call a specific kernel call. This shall aid us track all the spots where a particular kernel function is called from, therefore it'll be a bit easier to find examples where unimplemented kernel functions are called svn-id: r53646
2010-09-10SCI: Some changes regarding resourcesFilippos Karapetis
- Renamed the debug command "resource_size" to "resource_info", as it now provides the location of where a specified resource is found (i.e. the resource.xxx file, or the file name itself, if the resource is a patch) - "duskdump" shows the original location of dumped resources - loadResource() now shows the location of files that couldn't be loaded svn-id: r52667
2010-09-02SCI: adding "bpr" and "bpw" debug commandsMartin Kiewitz
"bpr" breakpoint on reading of selectors "bpw" breakpoint of writing of selectors "bpx" is now breakpoint on executing of selectors only svn-id: r52490
2010-08-03SCI: adding bpk debug commandMartin Kiewitz
currently removing or listing such breakpoints is not yet supported svn-id: r51710
2010-07-31SCI: Don't include the time running the debugger in the game running timeMatthew Hoops
svn-id: r51548
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-18SCI: Add basic debugging command for 'said'Willem Jan Palenstijn
svn-id: r50991
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-07SCI: accepting decimal/hexadecimal input on segment_info & kill_segment ↵Martin Kiewitz
debug command, cleanup svn-id: r50735
2010-07-04Add a hexDumpReg function to view references that are not raw and fix SCI32 ↵Matthew Hoops
strings/arrays in segmentInfo. svn-id: r50660
2010-06-27SCI: added additional output to vmvars commandMartin Kiewitz
svn-id: r50395
2010-06-27SCI: removing debug command "set_acc", use "vmvars a" insteadMartin Kiewitz
svn-id: r50389
2010-06-27SCI: added new command "p" / "stepover" to execute one command, but skip ↵Martin Kiewitz
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-25Renamed some variablesFilippos Karapetis
svn-id: r50284
2010-06-11Renamed verify_midi to show_instruments (and fixed a bug with it at the same ↵Filippos Karapetis
time). This command scans all songs, or a specific song of a game and displays the instruments used svn-id: r49599
2010-06-11- Added a new debug command, verify_midi, which can be used to check all the ↵Filippos Karapetis
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-05-31Added a new console command, verify_scripts, used for sanity checking of ↵Filippos Karapetis
SCI1.1-SCI2.1 game scripts svn-id: r49364
2010-02-03SCI: Renamed Console::_vm to _engineMax Horn
svn-id: r47831
2010-01-28Introduced a new console command, diskdump, which is able to dump files from ↵Filippos Karapetis
resource files to disk svn-id: r47623
2010-01-27SCI: renamed exit console command to quit, so that systemwide "exit" works ↵Martin Kiewitz
(exits console instead of quitting game) svn-id: r47607
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Added song manipulation debug commands: songinfo, startsound, togglesound ↵Filippos Karapetis
and stopallsounds. is_sample now works with the new sound code svn-id: r47475
2010-01-09SCI: added new debug command "picture_visualize", which enables ↵Martin Kiewitz
visualization of the drawing process of EGA pictures svn-id: r47201
2010-01-06SCI: added a new class for robot resourcesMartin Kiewitz
svn-id: r47099
2010-01-05SCI: implemented debug command "set_palette"Martin Kiewitz
svn-id: r47047
2010-01-05SCI: implemented new debug command "draw_cel"Martin Kiewitz
svn-id: r47043
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
2010-01-02SCI: implemented new console command "listsaves"Martin Kiewitz
svn-id: r46883
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
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-17Added a new console command, "play_video", which can play a SEQ or AVI fileFilippos Karapetis
svn-id: r45178
2009-10-07SCI: debug command undither implementedMartin Kiewitz
svn-id: r44761
2009-10-04SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to ↵Max Horn
console.cpp, and switch other code using it to use findObjectByName() instead. svn-id: r44628
2009-10-03SCI: Fix typoWillem Jan Palenstijn
svn-id: r44561
2009-08-17Fix compilation of the SCI engine. It seems that all of the SCI header files ↵Johannes Schickel
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-07-08- Moved printObject inside the Console classFilippos Karapetis
- Enabled the parts where disassemble() is called svn-id: r42263
2009-07-04Added a new console command, "selector", which attempts to find a selector ↵Filippos Karapetis
by name svn-id: r42093
2009-07-03- Pushed debugstate into debug.hFilippos Karapetis
- 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-02Moved some more debug state related variables in the DebugState structFilippos Karapetis
svn-id: r42044
2009-06-21CleanupFilippos Karapetis
svn-id: r41727
2009-06-08Moved some more debug commands to ScummVM's consoleFilippos Karapetis
svn-id: r41364
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41302
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41227
2009-06-05Moved some more debug commands to ScummVM's coneole and removed some unused codeFilippos Karapetis
svn-id: r41198
2009-06-04SCI: Moved MemObject code into a separate source fileMax Horn
svn-id: r41166