aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
2010-06-28SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵Martin Kiewitz
also displaying local calls and exports svn-id: r50445
2010-06-28SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacksMax Horn
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-27Cleanup, remove unused/obsolete codeFilippos Karapetis
svn-id: r50403
2010-06-27Escape a "?" character to prevent "??)" to be interpreted as trigraph and ↵Johannes Schickel
thus becoming "]". svn-id: r50399
2010-06-27SCI: adding alias for vmvars ("vv") and vmvarlist ("vl")Martin Kiewitz
svn-id: r50397
2010-06-27SCI: added additional output to vmvars commandMartin Kiewitz
svn-id: r50395
2010-06-27SCI: added alias for bplist ("bl") and bpdel ("bc"), added capability of ↵Martin Kiewitz
deleting all breakpoints by using "bc *" svn-id: r50391
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-27SCI: debug command vmvars - adding acc supportMartin Kiewitz
svn-id: r50378
2010-06-25Renamed some variablesFilippos Karapetis
svn-id: r50284
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-25SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵Martin Kiewitz
gameIds. Also prints method used, when using debug command "version" svn-id: r50261
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-18Fixed show_instruments to ignore instruments in Sierra's special MIDI ↵Filippos Karapetis
channel 15, and updated the comment regarding PQ2 accordingly (it only has 2 incorrect instruments) svn-id: r50021
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-06-17SCI: Remove selector_name function, some cleanupMax Horn
svn-id: r49966
2010-06-17Fixed the selector console command (don't change the selector name to ↵Filippos Karapetis
lowercase...) svn-id: r49949
2010-06-16Added back the functionality to skip videosFilippos Karapetis
svn-id: r49911
2010-06-16SCI: fix debug command "show_instruments", got broken by r49905 on purposeMartin Kiewitz
svn-id: r49906
2010-06-16SCI: implement channel remapping for SCI1Martin Kiewitz
svn-id: r49905
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15SCI: OOpify class ResourceIdMax Horn
svn-id: r49841
2010-06-15Fixed compilation when SCI32 code is not enabledFilippos Karapetis
svn-id: r49805
2010-06-15- Swapped the return value of gamestate_save (false = failed, true = succeeded)Filippos Karapetis
- Removed some duplicate code inside Console::cmdSaveGame() svn-id: r49688
2010-06-15Add support for SCI32 segment types to seg_table and vr debug commandsLars Skovlund
svn-id: r49686
2010-06-13Fixed compilation with the old music codeFilippos Karapetis
svn-id: r49641
2010-06-12Extended show_instruments to show the songs where each instrument is used inFilippos Karapetis
svn-id: r49603
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-06-10SCI: Switch Console::cmdSelector to use Kernel::getSelectorNameMax Horn
svn-id: r49580
2010-06-10SCI: Fix Console::cmdValueType to handle all possible reg typesMax Horn
svn-id: r49577
2010-06-10SCI: cleanupMax Horn
svn-id: r49573
2010-06-10camelCase changesFilippos Karapetis
svn-id: r49570
2010-06-10Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵Filippos Karapetis
some camelCase changes svn-id: r49568
2010-06-10Moved the MoveCountType enum above the GameFeatures class, as it's the only ↵Filippos Karapetis
class using it svn-id: r49561
2010-06-09Merged restAdjust and restAdjustCur, as we don't save the restAdjust ↵Filippos Karapetis
modifier inside saved games (rightfully so). Also, the segment manager is now reset inside the main loop, when the game is restarted, not in game_exit() svn-id: r49533
2010-06-08Merged the restarting_flags, script_abort_flag, and restoring members of the ↵Filippos Karapetis
EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted svn-id: r49518
2010-06-07Fixed regression from commit #49465 - there are in fact two restAdjust ↵Filippos Karapetis
variables, the current and global one svn-id: r49486
2010-06-06Now that EngineState is not deleted when loading games, we can move some ↵Filippos Karapetis
more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this). svn-id: r49465
2010-06-03Moved several object-related defines inside vm.h into segment.h, where the ↵Filippos Karapetis
Object class resides. Also, removed several unused defines svn-id: r49406
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-05-30Limited access to the script export table and synonyms blockFilippos Karapetis
svn-id: r49338
2010-05-30Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵Filippos Karapetis
Script class svn-id: r49327
2010-05-29Limit access to the _classTable array (now it's directly accessible only ↵Filippos Karapetis
inside saveLoadWithSerializer() svn-id: r49318
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-29SCI: Make Script::_exportTable const (yay :-)Max Horn
svn-id: r49315
2010-05-27SCI: removing tab from vo output (debug console)Martin Kiewitz
svn-id: r49264
2010-05-26SCI: Making various object and script related things constMax Horn
svn-id: r49246