aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
2015-05-14SCI: add said-details to script_said debug cmdMartin Kiewitz
2015-05-14SCI: debug commands scro, scrs and script_saidMartin Kiewitz
implement string collecting for SCI3 implement object offset collecting for SCI0-SCI2 implement said-str offset collecting for SCI0-SCI1 add new debug command scro / script_objects add new debug command script_said string without terminating NUL now a warning the latter happens in qfg2 for amiga room 84
2015-05-14SCI: Restore xs after calling run_vm from debuggerWillem Jan Palenstijn
This fixes possible gamestate corruption when using 'send' in the debugger to call methods.
2015-05-04SCI: Scripts: identify strings + debug commandMartin Kiewitz
debug command is called "script_strings" / "scrs"
2015-03-18SCI: debugger / fix diskdump + list commandsMartin Kiewitz
diskdump: support for audio36+sync36 list: always show tuple for audio36+sync36
2015-02-14SCI: Register and save playBed option to PlaySoundWillem Jan Palenstijn
The playBed option is not handled yet, only stored. This increases the savegame format version.
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-10-28SCI: implement 8-bit color matching SCI1.1 bugMartin Kiewitz
effectively fixes bug #6455 thanks to wjp and [md5]
2014-06-01SCI: debugger diskdump is now able to dump '*'Martin Kiewitz
dumps all resources of given type
2014-05-27ALL: Introduce typesafe Debugger::registerVar functions.Johannes Schickel
This also adds a FIXME to SCI which registered an enum type as int...
2014-05-27ALL: Make Debugger command function names conform to our guidelines.Johannes Schickel
2014-05-27ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd.Johannes Schickel
2014-05-27ALL: Rename Debugger::DVar_Register to Debugger::registerVar.Johannes Schickel
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-04SCI: script patcher is now a separate classMartin Kiewitz
2013-10-30SCI: Handle objects with a dot in their nameFilippos Karapetis
An example is the object 'dominoes.opt' in Hoyle 3, script 101
2013-04-17SCI: Fix memory leakWillem Jan Palenstijn
2013-04-15SCI: Add missing breakWillem Jan Palenstijn
2013-04-15SCI: Remove useless checksWillem Jan Palenstijn
2013-04-15SCI: Fix uninitialized variablesWillem Jan Palenstijn
2013-01-22SCI: Add documentation for underscores in object names and fix a warningFilippos Karapetis
2013-01-22SCI: Use underscores as substitute characters for spaces in object namesFilippos Karapetis
This helps in debugging objects with spaces in their names (e.g. the "Glass Jar" object in Pepper - bug #3601090). Now, this object can be examined like "vo Glass_Jar"
2012-10-06SCI: Fix some console output formattingWillem Jan Palenstijn
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-08-16VIDEO: Remove the Coktel video code from using the VideoDecoder APIMatthew Hoops
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-07-22SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder APIMatthew Hoops
2012-07-22VIDEO: Rewrite the AVI code to use AdvancedVideoDecoderMatthew Hoops
In addition to using the new API, it should theoretically support multiple audio and video tracks now but that has not been tested.
2012-07-20SCI: Move the SEQ code to the new VideoDecoder APIMatthew Hoops
2012-07-08SCI: Ignore another leftover script from KQ7 in the debuggerFilippos Karapetis
2012-06-23SCI: Change the program counter (PC) to be a 32-bit variableFilippos Karapetis
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert
2012-06-21SCI: Fix warningsFilippos Karapetis
2012-06-18SCI: Store script sizes in 32-bit integersFilippos Karapetis
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit integer, adapt variables that store script sizes accordingly
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-14SCI: Add missing documentation for the plane_items / pi console commandFilippos Karapetis
2012-06-13SCI: Move all file-related functions in file.*Filippos Karapetis
This way, there is a clear separation of the actual SCI kernel file functions and the file classes and wrappers of ScummVM
2012-05-21SCI: Added two new debug commands, plane_list and plane_itemsFilippos Karapetis
These can be used to debug drawn items in SCI32
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-01-15SCI: Clean up some memory management and loopsWillem Jan Palenstijn
2011-11-28SCI: Added handling of invalid jump offsets (e.g. QFG2, script 260)Filippos Karapetis
2011-11-05SCI: Made the object map hashmap of the Script class privateFilippos Karapetis
2011-11-05SCI: Made more fields of the Script class private. Some cleanup.Filippos Karapetis
2011-10-19SCI: The draw_pic console command now works in SCI32Filippos Karapetis
Moreover, the overlay is temporarily hidden to show the picture
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