aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
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
2010-10-21SCI: Added the ability to filter out results of the "class_table" commandFilippos Karapetis
svn-id: r53673
2010-10-20SCI: Silence GCC warningTorbjörn Andersson
svn-id: r53649
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-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-03SCI: Allow multiple word groups in parserWillem Jan Palenstijn
In SCI01 and up, each typed word may be interpreted as multiple class,group pairs. This patch adds support to the vocabulary and parser. It uses the matcher support added in r52985. This fixes parser issues in German LSL3, but needs testing. svn-id: r52989
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
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-09SCI/Debugger: Show class names in addition to addresses in class_table output.Lars Skovlund
svn-id: r52657
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-12SCI: "version" now shows cantBeHere selectorMartin Kiewitz
svn-id: r52045
2010-08-08SCI: Directly use the new Graphics::VMDDecoder classSven Hesse
svn-id: r51922
2010-08-03SCI: adding bpk debug commandMartin Kiewitz
currently removing or listing such breakpoints is not yet supported svn-id: r51710
2010-08-02SCI: Fix leaks in ResourceManager::listResources caller code.Johannes Schickel
svn-id: r51666
2010-07-31SCI: Don't include the time running the debugger in the game running timeMatthew Hoops
svn-id: r51548
2010-07-24SCI: added said spec dump ability to logkernelMartin Kiewitz
svn-id: r51242
2010-07-23SCI: logkernel changesMartin Kiewitz
removing old manual debug code, use logkernel * on/off to log all calls svn-id: r51222
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-22Extended the "version" console command to also show the game version found ↵Filippos Karapetis
in the VERSION file svn-id: r51150
2010-07-20SCI: Removed the restoring parameter of the run_vm() functionFilippos Karapetis
svn-id: r51076
2010-07-18SCI: Fix order of characters when using hexDumpReg.Matthew Hoops
svn-id: r50998
2010-07-18SCI: Add basic debugging command for 'said'Willem Jan Palenstijn
svn-id: r50991
2010-07-17SCI: Fix 'parse' debug command parameter handlingWillem Jan Palenstijn
svn-id: r50957
2010-07-16SCI: fix console commands so that console gets detached correctlyMartin Kiewitz
svn-id: r50940
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-07SCI: Dropped support for the very old saved game versions 9 - 11. Rationale: ↵Filippos Karapetis
a lot has changed since then, we're still not stable, and this helps clean up the code, thus we're still in a position to drop support for old saved games svn-id: r50738
2010-07-07SCI: adding support to kernel signatures that invalid references may also ↵Martin Kiewitz
get allowed - doing exactly this for kGraph(restoreBox) - fixes castle of dr. brain when quitting the game - maybe a game specific workaround would be better?!?! svn-id: r50737
2010-07-07SCI: accepting decimal/hexadecimal input on segment_info & kill_segment ↵Martin Kiewitz
debug command, cleanup svn-id: r50735
2010-07-06SCI: removing invalid reference error from signature checking, instead ↵Martin Kiewitz
adding new type "invalid", so that full call parameter debug information is available svn-id: r50725