Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2009-08-17 | - Simplified some functions to accept only the parts of the EngineState they ↵ | Filippos Karapetis | |
need as parameters, instead of the whole EngineState - Moved the class table in the Segment manager - it's the only class using it directly - Removed the sci11 flag from save games (we already know this, we don't need to store it) - Moved script_get_segment() and get_class_address() inside the segment manager class - Removed the script_locate_by_segment wrapper - Simplified script_lookup_export() a lot by removing some paranoia checks - Added some WIP code for automatically determining the game id in the fallback detector (still not working) - General cleanup svn-id: r43458 | |||
2009-08-11 | SCI: Turn off logging in debugger. | Walter van Niftrik | |
svn-id: r43268 | |||
2009-07-18 | SCI: Fix stepping in debugger | Willem Jan Palenstijn | |
svn-id: r42587 | |||
2009-07-11 | Moved the kernel and the vocabulary outside of the engine state (they're ↵ | Filippos Karapetis | |
static data, which never changes during a game) svn-id: r42398 | |||
2009-07-11 | Fixed regression in the script parser from commit 42260 | Filippos Karapetis | |
svn-id: r42371 | |||
2009-07-08 | Some cleanup for the script debugger code: | Filippos Karapetis | |
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260 | |||
2009-07-07 | Added auto-detection for games with older headers for script blocks, and ↵ | Filippos Karapetis | |
removed game flag GF_SCI0_OLD svn-id: r42211 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-07-03 | SCI: Fixed warning | Max Horn | |
svn-id: r42055 | |||
2009-07-02 | Moved some more debug state related variables in the DebugState struct | Filippos Karapetis | |
svn-id: r42044 | |||
2009-07-02 | Moved all the debug state variables in a separate struct and re-enabled ↵ | Filippos Karapetis | |
several places where they're used svn-id: r42043 | |||
2009-06-21 | Cleanup | Filippos Karapetis | |
svn-id: r41727 | |||
2009-06-08 | Moved some more debug commands to ScummVM's console | Filippos Karapetis | |
svn-id: r41364 | |||
2009-06-06 | Moved some more debug commands to ScummVM's coneole | Filippos Karapetis | |
svn-id: r41302 | |||
2009-06-06 | Moved some more debug commands to ScummVM's coneole | Filippos Karapetis | |
svn-id: r41227 | |||
2009-06-06 | Store 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-05 | Moved some more debug commands to ScummVM's coneole and removed some unused code | Filippos Karapetis | |
svn-id: r41198 | |||
2009-06-04 | SCI: 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-04 | SCI: Renamed _kfuncTable -> _kernelFuncs; and simplified/streamlined the ↵ | Max Horn | |
kernel func map in kernel.cpp a bit svn-id: r41176 | |||
2009-06-04 | SCI: 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-03 | Moved some more console commands to ScummVM's console | Filippos Karapetis | |
svn-id: r41141 | |||
2009-06-03 | Moved some more console commands to ScummVM's console | Filippos Karapetis | |
svn-id: r41137 | |||
2009-06-02 | Moved some more console commands to ScummVM's debug console | Filippos Karapetis | |
svn-id: r41129 | |||
2009-06-02 | Moved some more console commands to ScummVM's debug console | Filippos Karapetis | |
svn-id: r41127 | |||
2009-06-02 | Moved some more console commands to ScummVM's debug console | Filippos Karapetis | |
svn-id: r41126 | |||
2009-06-02 | Removed 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 |