aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41227
2009-06-06Store long-term pointers to object variables in a new ObjVarRef struct.Willem Jan Palenstijn
Storing them as reg_t* could cause the pointers to become invalid when they pointed into CloneTable since CloneTable can be re-allocated. svn-id: r41220
2009-06-06Objectified the graphics driverFilippos Karapetis
svn-id: r41214
2009-06-05CleanupFilippos Karapetis
svn-id: r41202
2009-06-05Moved some more debug commands to ScummVM's coneole and removed some unused codeFilippos Karapetis
svn-id: r41198
2009-06-04oopsMax Horn
svn-id: r41178
2009-06-04SCI: Renamed EngineState::flags and version to _flags and _version ↵Max Horn
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant svn-id: r41177
2009-06-04SCI: Renamed _kfuncTable -> _kernelFuncs; and simplified/streamlined the ↵Max Horn
kernel func map in kernel.cpp a bit svn-id: r41176
2009-06-04SCI: Added MemObject::isValidOffset method; use it to simplify ↵Max Horn
determine_reg_type svn-id: r41175
2009-06-04SCI: Slightly modified kAddAfter so that it does not modify its arguments ↵Max Horn
needlessly svn-id: r41174
2009-06-04SCI: cleanupMax Horn
svn-id: r41173
2009-06-04SCI: Added FIXME comment to not_register()Max Horn
svn-id: r41172
2009-06-04SCI: Message: Added support for escape sequences.Walter van Niftrik
svn-id: r41169
2009-06-04SCI: Moved MemObject code into a separate source fileMax Horn
svn-id: r41166
2009-06-04SCI: cleanupMax Horn
svn-id: r41165
2009-06-04SCI: Support for 16-bit DPCM.Walter van Niftrik
svn-id: r41164
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-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-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-02Removed some unused variables from the engine stateFilippos Karapetis
svn-id: r41123
2009-06-01Some fixes for saving/loading (still broken)Filippos Karapetis
svn-id: r41102
2009-06-01Split the kernel functions away from the vocabulary functions (WIP, ↵Filippos Karapetis
saving/loading is broken) svn-id: r41101
2009-06-01Replaced kernel_oops with error(), and added an enum to clarify the cases ↵Filippos Karapetis
where invoke_selector should stop svn-id: r41095
2009-06-01Removed the sci_max_allowed_unknown_kernel_functions arrayFilippos Karapetis
svn-id: r41094
2009-05-31Removed script_error_flag and script_debug_flag, which were used to error ↵Filippos Karapetis
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error() svn-id: r41073
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-31SCI: Fixed loading; added 'const' keywords to several Vocabulary methodsMax Horn
svn-id: r41071
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-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-31More objectification of the Vocabulary functionsFilippos Karapetis
svn-id: r41057
2009-05-31Typo.Johannes Schickel
svn-id: r41054
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-30SCI: Made vocab_version static again (a global static var is bad, but a ↵Max Horn
really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not svn-id: r41045
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-30SCI: Fix broken pointer after array re-allocation.Willem Jan Palenstijn
svn-id: r41042
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-30Removed the "sfx_debuglog" command. Sound debug messages are now shown if ↵Filippos Karapetis
kDebugLevelSound is specified svn-id: r41039
2009-05-30- Fix various debugC calls (parameters passed were not correct)Johannes Schickel
- Fix unused variable warning in scriptdebug.cpp svn-id: r41038
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-30- Removed debug_mode from the engine stateFilippos Karapetis
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function - Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND - Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables svn-id: r41033
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