aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-12SCI: Some fixes for the find_callk commandmd5
2011-06-12SCI: Fixed the show_saved_bits console commandmd5
This is achieved by hiding the graphical debugger overlay temporarily in order to show the command's results
2011-06-12SCI: Add saved_bits/show_saved_bits console commandsWillem Jan Palenstijn
2011-05-29SCI: Make 'quit' an alias for 'quit game' in the consoleWillem Jan Palenstijn
2011-05-27SCI: Fix access to variables (gc_interval etc.) from the consoleLars Skovlund
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-13SCI: Fix crash in vo with unloaded superclassWillem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-09SCI: Slight cleanup to undithering codeMax Horn
2011-04-26SCI: Updated the view type descriptions in the "version" console commandmd5
2011-03-28SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)md5
2011-03-25SCI: Cleaned up the BreakpointType enum and documented the bpe commandmd5
2011-03-20SCI: Added a new console command "window_list" or "wl"md5
This can be used to see a list of the currently open windows. Also, added a sanity check for the "al" command and performed some minor cleanup
2011-03-20SCI: Added a new console command, "animate_list" or "al"md5
This shows the current animation list, along with object properties, positions and the scripts they belong to
2011-03-19SCI: Added another leftover debug script in the find_callk console commandmd5
2011-03-14SCI: Fixed find_callkmd5
Create a custom segment manager within find_callk, so that the game's segment manager won't be affected by loading and unloading scripts in there
2011-03-14SCI: Ignore some more leftovers scripts in the find_callk console commandmd5
2011-03-13SCI: Fix warningWillem Jan Palenstijn
2011-03-12SCI: Continue disasm until no jumps go past the current opcodeWillem Jan Palenstijn
This should ensure disasm will disassemble an entire function, and not stop at an intermediate ret opcode.
2011-03-12SCI: Some changes to the "dissassemble" commandmd5
Fixed a bug (the "bwt" and "bc" options were inversed) and added the ability to skip a defined number of ret calls, useful when a function continues after a ret call
2011-03-08SCI: Remove unused argument to saidWillem Jan Palenstijn
2011-03-07SCI: Constify some codeMax Horn
2011-03-04SCI: Fix reg_t ASCII printing in debugger for BE.Walter van Niftrik
2011-02-26SCI: Cleanupmd5
2011-02-26SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside ↵md5
the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this)
2011-02-12SCI: Don't limit the number of resources to 999 in hexgrepMatthew Hoops
2011-02-12SCI: Fix the console's hexgrep commandMatthew Hoops
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2011-01-22SCI: Added stub for playing robot audio from the consoleLars Skovlund
svn-id: r55424
2011-01-15SCI: Extended the bpk debug command so that it can also disable a breakpoint ↵Filippos Karapetis
on a kernel function svn-id: r55249
2011-01-07SCI: Moved the handling of the op_line debug opcode inside ↵Filippos Karapetis
readPMachineInstruction() The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a lot of parts of the code depend on this function handling all opcodes correctly (e.g. the script dissassembler, the features class, find_callk etc) svn-id: r55154
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
2011-01-07SCI2.1: Show the kernel table used in the "version" console commandFilippos Karapetis
Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table, with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses svn-id: r55136
2010-12-22SCI: VMD video related changesFilippos Karapetis
- VMD videos are now properly started from the associated play subop of the kPlayVMD kernel call, and are now properly positioned on screen, and doubled only if the games require them to be - Added an enum for VMD video flags svn-id: r55003
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-25SCI: Fixed a bug in the show_instruments console commandFilippos Karapetis
svn-id: r54477
2010-11-24SCI: Some slight changes to get the "find_callk" console command working in KQ5Filippos Karapetis
- Ignore invalid object in KQ5 script 784 - Script 980 looks to be an unused leftover, as its object contain references to classes placed in script 988, which is missing svn-id: r54455
2010-11-21SCI: Fixed the "version" console command in SCI1.1 and earlier gamesFilippos Karapetis
svn-id: r54406
2010-11-21SCI: kArray wasn't changed in late SCI2.1/SCI3 games (thanks to waltervn)Filippos Karapetis
svn-id: r54402
2010-11-21SCI: Added the kString/kArray type in the "version" console commandFilippos Karapetis
svn-id: r54401
2010-11-17SCI: Added sanity checks for SCI3 scripts bigger than 64KBFilippos Karapetis
- Extended the "verify_scripts" console command for SCI3 scripts - Added a check for such large scripts when scripts are loaded, with an error for now, till a mechanism to support such scripts with a 16-bit addressing scheme is in place (e.g. overlaying, or splitting scripts). Either way, such scripts should span over more than one segment svn-id: r54304
2010-11-17SCI: Added the SCI3 equivalent of initialiseObjects(), from a patch by lskovlunFilippos Karapetis
svn-id: r54281
2010-11-17SCI: The heap was a separate resource in SCI1.1 - SCI2.1 games only. It was ↵Filippos Karapetis
later merged into the script files again in SCI3 svn-id: r54279
2010-11-17SCI: Specify that -1 means "all maps" when listing base36-encoded resourcesFilippos Karapetis
svn-id: r54278
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