Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-23 | ALL: Fix typo (existant->existent) | Willem Jan Palenstijn | |
2012-10-06 | SCI: Fix dissect_script crash with invalid object types | Willem Jan Palenstijn | |
2012-10-06 | SCI: Fix some console output formatting | Willem Jan Palenstijn | |
2012-06-23 | SCI: Change the program counter (PC) to be a 32-bit variable | Filippos Karapetis | |
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert | |||
2012-06-23 | SCI: Add support for the debug opcode "file" in our script dissassembler | Filippos Karapetis | |
Also set the correct name for the debug opcode "line" | |||
2012-06-21 | SCI: Fix warnings | Filippos Karapetis | |
2012-06-18 | SCI: Store script sizes in 32-bit integers | Filippos Karapetis | |
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit integer, adapt variables that store script sizes accordingly | |||
2012-06-18 | SCI: Add setter/getter methods to reg_t's | Filippos Karapetis | |
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB) | |||
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) | |||
2011-11-29 | SCI: Fix restarting SCI engine with different SCI version | Willem Jan Palenstijn | |
2011-11-28 | SCI: Added handling of invalid jump offsets (e.g. QFG2, script 260) | Filippos Karapetis | |
2011-09-22 | SCI: Fixed compilation with VM_DEBUG_SEND defined | Filippos Karapetis | |
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-06-12 | SCI: Fix sign in disasm of relative jumps | Willem Jan Palenstijn | |
2011-05-13 | SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is defined | md5 | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
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 |