aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
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
2010-11-11SCI: Some video related changesFilippos Karapetis
- Now playVideo() is used when playing videos from the console (reducing code duplication) - Added support for 16bpp scaling in scale2x, so that the 16-bit color Duck videos are scaled correctly svn-id: r54210
2010-11-11SCI: Allow duck videos to be played from the consoleMatthew Hoops
svn-id: r54195
2010-11-10SCI: Add missing new lineMatthew Hoops
svn-id: r54189
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
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: Updated help page on the new console command "map_instrument"Filippos Karapetis
svn-id: r53910
2010-10-28SCI: Fixed typoFilippos Karapetis
svn-id: r53905
2010-10-28SCI: Fixed compilation and added include safeguards to map-mt32-to-gm.hFilippos Karapetis
svn-id: r53904
2010-10-28SCI: Improved the description of the "map_instrument" console command a bit. ↵Filippos Karapetis
Also, the dynamic mappings are now checked before the static ones svn-id: r53903
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-27SCI: Cleanup, invoking pauseEngine() on Console::preEnter() and ↵Filippos Karapetis
Console::postEnter() svn-id: r53890
2010-10-27SCI: Proper pausing/resuming of MIDI music in ↵Filippos Karapetis
SciEngine::pauseEngineIntern(), Console::preEnter() and Console::postEnter() and added a sanity check in SciEngine::getDebugger() svn-id: r53886