Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-28 | SCI: Renamed restAdjust to r_rest (like r_acc and r_prev) | md5 | |
2011-03-27 | SCI: Moved some debug functions from vm.cpp to scriptdebug.cpp | md5 | |
2011-03-12 | SCI: Continue disasm until no jumps go past the current opcode | Willem Jan Palenstijn | |
This should ensure disasm will disassemble an entire function, and not stop at an intermediate ret opcode. | |||
2011-01-23 | SCI: Fixed possible use of uninitialized variable in SCI Script Debugger. | David Turner | |
svn-id: r55487 | |||
2010-11-24 | SCI: Fixed a bug in the script disassembler | Filippos Karapetis | |
svn-id: r54463 | |||
2010-11-18 | SCI: Slight formatting fix and use \t instead of a tab character in debugN. | Johannes Schickel | |
svn-id: r54349 | |||
2010-11-18 | SCI: Fix debugger disassembly of property accesses in SCI3 | Lars Skovlund | |
svn-id: r54348 | |||
2010-11-17 | SCI: Updated dissectScript() to handle synonym blocks | Filippos Karapetis | |
svn-id: r54277 | |||
2010-11-17 | SCI: Unified the functionality and parameters of the disasm and disasm_addr ↵ | Filippos Karapetis | |
commands svn-id: r54276 | |||
2010-11-17 | SCI: Added the ability to display original script bytecode in the "disasm" ↵ | Filippos Karapetis | |
console command svn-id: r54275 | |||
2010-11-02 | SCI: Remove any use of printf | Max Horn | |
svn-id: r54037 | |||
2010-07-24 | SCI: fix warning and remove duplicate code | Martin Kiewitz | |
svn-id: r51243 | |||
2010-07-17 | SCI: fix debugging code of parser, add 0xffe special group into debug support | Martin Kiewitz | |
svn-id: r50956 | |||
2010-07-12 | SCI: Turn global object g_debugState into SciEngine member var | Max Horn | |
svn-id: r50836 | |||
2010-06-28 | SCI: Make Script member vars private; add const qualifiers | Max Horn | |
Only three Script members remain public (for now) svn-id: r50428 | |||
2010-06-27 | Cleanup, remove unused/obsolete code | Filippos Karapetis | |
svn-id: r50403 | |||
2010-06-27 | SCI: 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-17 | SCI: Remove selector_name function, some cleanup | Max Horn | |
svn-id: r49966 | |||
2010-06-10 | Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵ | Filippos Karapetis | |
some camelCase changes svn-id: r49568 | |||
2010-06-09 | Merged 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-07 | Fixed regression from commit #49465 - there are in fact two restAdjust ↵ | Filippos Karapetis | |
variables, the current and global one svn-id: r49486 | |||
2010-06-06 | Now 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-05-30 | Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵ | Filippos Karapetis | |
Script class svn-id: r49327 | |||
2010-05-29 | Mass 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-26 | SCI: Making various object and script related things const | Max Horn | |
svn-id: r49246 | |||
2010-05-26 | More work on controlling access to members of the Object class: | Filippos Karapetis | |
- Moved the code for initializing the object class, species and base object inside the Object class - Made propertyOffsetToId() a method of the Object class - Made relocateObject() a method of the Object class - The Object getVariable() method now returns a reference to the requested variable Only SegManager::reconstructScripts() is left needing direct access to the members of the Object class svn-id: r49228 | |||
2010-05-19 | Fixed signed/unsigned warning, changed to CamelCase | Filippos Karapetis | |
svn-id: r49100 | |||
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 breakpointWasHit inside the DebugState struct, thus resolving a FIXME | Filippos Karapetis | |
svn-id: r49071 | |||
2010-05-18 | Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵ | Matthew Hoops | |
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070 | |||
2010-02-13 | SCI: Remove EngineState::_kernel, use SciEngine::_kernel instead | Max Horn | |
svn-id: r48050 | |||
2010-02-07 | SCI: Convert disassemble to use readPMachineInstruction. | Max Horn | |
This change is untested, please check it. Also, the opparams array is not used but could be used to simplify the reading code. svn-id: r47958 | |||
2010-02-02 | SCI: Move some code around (no code changes) | Max Horn | |
svn-id: r47823 | |||
2010-01-29 | SCI: Reduce header interdependencies a bit | Max Horn | |
svn-id: r47666 | |||
2009-10-16 | SCI: Fixed debugger opcode names. | Walter van Niftrik | |
svn-id: r45158 | |||
2009-10-11 | More work on the Object class | Filippos Karapetis | |
svn-id: r44921 | |||
2009-10-10 | Started rewriting the Object struct into a class | Filippos Karapetis | |
svn-id: r44878 | |||
2009-10-04 | SCI: Rename EngineState::segMan to _segMan | Max Horn | |
svn-id: r44629 | |||
2009-09-17 | SCI: Add EngineState::_kernel member for convenience | Max Horn | |
svn-id: r44173 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Move parts of struct ScriptState into a new struct DebugState | Max Horn | |
svn-id: r44151 | |||
2009-09-17 | Changed the way object selectors are accessed, by removing the relevant ↵ | Filippos Karapetis | |
defines and adding appropriate methods to the Object structure svn-id: r44138 | |||
2009-09-17 | SCI: Rename MemObject -> SegmentObj | Max Horn | |
svn-id: r44130 | |||
2009-09-16 | SCI: Rename Script class members, change Script from struct to class | Max Horn | |
svn-id: r44126 | |||
2009-09-12 | - Made obj_get and obj_get_name methods of SegManager (getObject and ↵ | Filippos Karapetis | |
getObjectName, respectively) - Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency svn-id: r44039 | |||
2009-09-06 | SCI: Rename resManager -> resMan; segManager -> segMan | Max Horn | |
svn-id: r43980 | |||
2009-09-02 | Some renaming: | Filippos Karapetis | |
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908 | |||
2009-08-29 | Removed the "op_" prefix from opcode names in the script debugger | Filippos Karapetis | |
svn-id: r43798 | |||
2009-08-27 | Stop loading opcodes from vocab.998. They are the same in all SCI games and ↵ | Filippos Karapetis | |
are hardcoded anyway (plus, vocab.998 is unreliable in some games, e.g. QFG3, or completely missing in others). Also hardcoded the opcode names for the script debugger, the only place they're actually used. The only place where vocab.998 is loaded on demand is when using the "opcodes" console command (for debug/verification purposes) svn-id: r43775 | |||
2009-08-25 | - Simplified the parameters of some functions | Filippos Karapetis | |
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722 |