aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
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
2010-05-24SCI: leave console open for pic_visualize/undither commands - also don't use ↵Martin Kiewitz
SciGui class for undither anymore svn-id: r49198
2010-05-23Remove the unused SCI_GAME_WAS_RESTARTED_AT_LEAST_ONCE flagFilippos Karapetis
svn-id: r49161
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-22SCI: adding ability to specify hexadecimal number as index for debug command ↵Martin Kiewitz
vmvars - also report error if invalid index is given to us svn-id: r49148
2010-05-19SCI: changing debugger commands to not require "?"-prefix for objects ↵Martin Kiewitz
anymore. It's now also possible to use 0x prefix for hexadecimal values e.g. "vo 0x13", "vo 13h", "vo theSound", "vo 12f:34f" is now possible svn-id: r49097
2010-05-19Moved the breakpoint information inside the DebugState structFilippos Karapetis
svn-id: r49092
2010-05-18Add a new class 'RewindableVideoDecoder' that allows a video to be rewound ↵Matthew Hoops
and have QTPlayer inherit from that. svn-id: r49084
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-18- Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵Filippos Karapetis
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078
2010-05-18- Moved kernel_lookup_text inside the Kernel classFilippos Karapetis
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076
2010-05-18- Moved determine_reg_type() and kernel_matches_signature() inside the ↵Filippos Karapetis
Kernel class, where they belong - Moved the kernel signature defines inside kernel.h - Removed some unused references to EngineState svn-id: r49075
2010-05-18Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXMEFilippos Karapetis
svn-id: r49071
2010-04-24SCI: add show_map command to debug help again (must have been lost some time ↵Martin Kiewitz
due cleanup from old graphics code) svn-id: r48788
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: screen specific debug functions are now called directly w/o SciGui/32Martin Kiewitz
svn-id: r47905
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-04SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as ↵Martin Kiewitz
well for drawing cels svn-id: r47885
2010-02-04SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 ↵Martin Kiewitz
and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive svn-id: r47883
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-02-03SCI: Renamed Console::_vm to _engineMax Horn
svn-id: r47831
2010-02-02SCI: cleanupMax Horn
svn-id: r47825
2010-02-02SCI: Use Common::List and Common::String to simplify breakpoint handling ↵Max Horn
(untested) svn-id: r47824