Age | Commit message (Collapse) | Author |
|
svn-id: r55487
|
|
svn-id: r54463
|
|
svn-id: r54349
|
|
svn-id: r54348
|
|
svn-id: r54277
|
|
commands
svn-id: r54276
|
|
console command
svn-id: r54275
|
|
svn-id: r54037
|
|
svn-id: r51243
|
|
svn-id: r50956
|
|
svn-id: r50836
|
|
Only three Script members remain public (for now)
svn-id: r50428
|
|
svn-id: r50403
|
|
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
|
|
svn-id: r49966
|
|
some camelCase changes
svn-id: r49568
|
|
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
|
|
variables, the current and global one
svn-id: r49486
|
|
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
|
|
Script class
svn-id: r49327
|
|
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
|
|
svn-id: r49246
|
|
- 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
|
|
svn-id: r49100
|
|
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
|
|
svn-id: r49071
|
|
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
|
|
svn-id: r48050
|
|
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
|
|
svn-id: r47823
|
|
svn-id: r47666
|
|
svn-id: r45158
|
|
svn-id: r44921
|
|
svn-id: r44878
|
|
svn-id: r44629
|
|
svn-id: r44173
|
|
svn-id: r44170
|
|
svn-id: r44151
|
|
defines and adding appropriate methods to the Object structure
svn-id: r44138
|
|
svn-id: r44130
|
|
svn-id: r44126
|
|
getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency
svn-id: r44039
|
|
svn-id: r43980
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
svn-id: r43798
|
|
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
|
|
- 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
|
|
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
|
|
svn-id: r43268
|
|
svn-id: r42587
|