aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
2009-06-08Moved some more debug commands to ScummVM's consoleFilippos Karapetis
svn-id: r41364
2009-06-07SCI: Got rid of g_EngineStateMax Horn
svn-id: r41359
2009-06-07SCI: Moved resource36 handling into resource manager.Walter van Niftrik
svn-id: r41349
2009-06-07SCI: Simplified SongLibrary code a bitMax Horn
svn-id: r41345
2009-06-07SCI: Renamed various song/songlib related structs and membersMax Horn
svn-id: r41342
2009-06-07Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the ↵Filippos Karapetis
VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers svn-id: r41338
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41302
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41227
2009-06-06Objectified the graphics driverFilippos Karapetis
svn-id: r41214
2009-06-05Moved some more debug commands to ScummVM's coneole and removed some unused codeFilippos Karapetis
svn-id: r41198
2009-06-04SCI: cleanupMax Horn
svn-id: r41173
2009-06-04SCI: Renamed various debug related global variables to have a g_ prefix; and ↵Max Horn
moved any 'extern' decls of them into a new header file svn-id: r41163
2009-06-04Turned debug_weak_validations on by default again, as apparently some games ↵Filippos Karapetis
like SQ3 fail in some validations (e.g. when loading). Also, fixed a potential out of bounds access when copying the value of __FILE__ into a buffer (as its value can be quite long in some cases). svn-id: r41154
2009-06-03Silence unused variable warning.Johannes Schickel
svn-id: r41144
2009-06-03Moved some more console commands to ScummVM's consoleFilippos Karapetis
svn-id: r41141
2009-06-03- Moved the engine state and the console to be private members of SciEngineFilippos Karapetis
- Implemented pauseEngineIntern() - Music now stops and resumes when entering/leaving the debugger svn-id: r41139
2009-06-03Moved some more console commands to ScummVM's consoleFilippos Karapetis
svn-id: r41137
2009-06-03- Sorted the console commands a bit more Filippos Karapetis
- Removed the commands which manipulated variables and turned them into debug variables instead - Rewrote help so that it's more organized and easier to read - Unified the debug variable names svn-id: r41136
2009-06-02Moved some more console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r41129
2009-06-02Fix warning.Johannes Schickel
svn-id: r41128
2009-06-02Moved some more console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r41127
2009-06-02Moved some more console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r41126
2009-06-02Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable ↵Filippos Karapetis
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct svn-id: r41125
2009-06-01Split the kernel functions away from the vocabulary functions (WIP, ↵Filippos Karapetis
saving/loading is broken) svn-id: r41101
2009-05-31SCI: Renamed some Vocabulary methods for clarity; also renamed ↵Max Horn
decypherSaidBlock -> decipherSaidBlock; some cleanup in Console::cmdSentenceFragments svn-id: r41072
2009-05-31- Further objectification of the SCI vocabulary functionsFilippos Karapetis
- Rewrote the sci_opcodes enum so that it's easier to read - Made the engine error out if data is sent to an invalid selector (which is a fatal condition) svn-id: r41069
2009-05-31Further objectification of the SCI vocabulary functions. Removed the ↵Filippos Karapetis
"kernel_words" console command, as it's exactly the same as "parser_words" svn-id: r41065
2009-05-31More objectification of the Vocabulary functionsFilippos Karapetis
svn-id: r41057
2009-05-30Started objectifying the vocabulary functions (WIP)Filippos Karapetis
svn-id: r41051
2009-05-30Moved the "songlib" command to console.cpp and removed the non-working ↵Filippos Karapetis
"set_vismap" command - we can view the different maps with "show_map", but it doesn't make much sense to redirect the game's graphics output to another screen map on demand svn-id: r41048
2009-05-30Moved 4 mode commands to console.cpp: "sentence_fragments", "parser_nodes", ↵Filippos Karapetis
"status_bar" and "track_mouse" svn-id: r41043
2009-05-30- Moved 3 more commands to console.cpp: "draw_pic", "draw_rect" and ↵Filippos Karapetis
"fill_screen" - Removed some FreeSCI-specific variables for checking of the on-screen console - Removed the Control-1 key combo - the console command "visual_state" can be used for the same reason svn-id: r41040
2009-05-30- Moved the print_port, segment_info and segment_kill console commands to ↵Filippos Karapetis
console.cpp - Removed the unused gfx driver debug flags svn-id: r41036
2009-05-30Moved 3 more debug commands to console.cpp ("simkey", "segment_table" and ↵Filippos Karapetis
"show_map") and removed the GFXWC macro. Some cleanup svn-id: r41032
2009-05-30Moved more script debug commands to console.cpp: "visual_state", ↵Filippos Karapetis
"dynamic_views", "dropped_views", "gc" and "gc_objects". Removed the "gfx_free_widgets" and "sleep" commands (they weren't really useful) svn-id: r41030
2009-05-30Moved some script debug commands to console.cpp: "clear_screen", ↵Filippos Karapetis
"redraw_screen", "save_game", "restore_game", "restart_game", "class_table", "parser_words", "current_port" and "parse_grammar" svn-id: r41029
2009-05-30SCI: Moved the rest of the console code out of sciconsole.cpp and into ↵Filippos Karapetis
console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment svn-id: r41024
2009-05-29- Moved some debug code into console.cpp, adding 3 console commands: ↵Filippos Karapetis
resource_types, sci0_palette and exit - Removed the "man" command - Removed the commands which set the SCI01 priority table flags and the crossblit alpha threshold (they're too specific, and not really useful anymore) - Removed some leftover debug code from gfxop_clear_box() svn-id: r41010
2009-05-29Fixed a bug with the "size" console commandFilippos Karapetis
svn-id: r40995
2009-05-29Moved the "size" console debugger command to console.cpp and silenced a warningFilippos Karapetis
svn-id: r40978
2009-05-27- SQ5 floppy starts nowFilippos Karapetis
- Added a new console command, "room", which shows the current room svn-id: r40943
2009-05-26SCI: Added 'opcodes' command to the debugger; fixed output wrapping in the ↵Max Horn
selectors & kernelnames debugger commands svn-id: r40919
2009-05-26SCI: Merged vocab_debug.cpp into vocabulary.cpp; cleanupMax Horn
svn-id: r40915
2009-05-23Moved the "dump" and "dissectscript" commands to console.cpp and renamed ↵Filippos Karapetis
them to "hexdump" and "dissect_script" respectively svn-id: r40818
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608
2009-05-15Simplified SCI versions to be SCI version generations, and fixed some game ↵Filippos Karapetis
entries in the process. Also, added a sanity check for invalid game entries svn-id: r40596
2009-05-14- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flagFilippos Karapetis
- Moved the version defines outside of versions.h svn-id: r40559
2009-05-14Started using game-specific flags and removed/replaced some SCI version ↵Filippos Karapetis
checks with flags. - The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag - The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag - Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag - Removed the leftover min_version and max_version variables from gamestate - Cleaned up kGetTime() a bit svn-id: r40552
2009-05-12- Slight cleanup of c_sfx_01_header()Filippos Karapetis
- "words" -> "kernelwords" svn-id: r40474
2009-05-12Moved the "suffixes" and "words" console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r40473