aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
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
2010-01-31SCI: fix printObject, so it does not output some spaces to terminal in case ↵Martin Kiewitz
its supposed to output to debug console svn-id: r47772
2010-01-31SCI: added additional decimal output for "vo" commandMartin Kiewitz
svn-id: r47768
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-31SCI: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this ↵Martin Kiewitz
class, now getting called directly svn-id: r47751
2010-01-31Removed duplicate code. Some cleanupFilippos Karapetis
svn-id: r47735
2010-01-29SCI: added new SciGui32 class, Gfx class needs some work though and ↵Martin Kiewitz
hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top svn-id: r47679
2010-01-29Added static selectors for SCI2-SCI2.1 games (fixes the demo of Torin's Passage)Filippos Karapetis
svn-id: r47669
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-28SCI: some progress on REing robot files (99% comments only)Martin Kiewitz
svn-id: r47647
2010-01-28Don't attempt to pause/resume sounds when the debug console opens if the ↵Filippos Karapetis
sound subsystem hasn't been initialized yet svn-id: r47639
2010-01-28Improved the diskdump command so that it also writes the resource header, if ↵Filippos Karapetis
it exists (e.g. in SOL audio files) svn-id: r47630
2010-01-28Introduced a new console command, diskdump, which is able to dump files from ↵Filippos Karapetis
resource files to disk svn-id: r47623
2010-01-27SCI: also change exit to quit in helpMartin Kiewitz
svn-id: r47608
2010-01-27SCI: renamed exit console command to quit, so that systemwide "exit" works ↵Martin Kiewitz
(exits console instead of quitting game) svn-id: r47607
2010-01-26SCI: changed flags (uint16) to force (bool) for set/merge palette methodsMartin Kiewitz
svn-id: r47578
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Added missing documentation for the new music related commands introduced in ↵Filippos Karapetis
rev. 47475 svn-id: r47497
2010-01-23Separated the parser codeFilippos Karapetis
svn-id: r47480
2010-01-23Added song manipulation debug commands: songinfo, startsound, togglesound ↵Filippos Karapetis
and stopallsounds. is_sample now works with the new sound code svn-id: r47475