Age | Commit message (Collapse) | Author |
|
svn-id: r50284
|
|
we should not change the stack again like we do in op_link - this is what Sierra is doing). Some cleanup
svn-id: r50207
|
|
svn-id: r49990
|
|
svn-id: r49976
|
|
kNewNode with 1 parameter are handled properly again. Fixes the demo of Phantasmagoria 1. Thanks to lskovlun and waltervn for spotting this
svn-id: r49638
|
|
kludge. Also, removed the selectorInvocation parameter - if invokeSelector() fails, the error is in most cases unrecoverable, and the error description thrown covers all cases where kContinueOnInvalidSelector was used. This uncovered a bug too: in some places, non reg_t parameters were parsed
svn-id: r49564
|
|
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
|
|
rarely used SCI0 kernel function kSort in the process (_k_new_node was called with key, value instead of value, key inside kSort)
svn-id: r49251
|
|
svn-id: r48202
|
|
svn-id: r48199
|
|
SCI32 list iteration code to store node successor before invoking.
svn-id: r48036
|
|
in SCI2 only
svn-id: r47931
|
|
svn-id: r47918
|
|
svn-id: r47707
|
|
invoke_selector
svn-id: r47665
|
|
automatically clears unused objects
svn-id: r47653
|
|
(there's no point in fixing lists created by game scripts)
svn-id: r47650
|
|
svn-id: r47649
|
|
Takes care of Phantasmagoria, Torin, etc.
svn-id: r47643
|
|
processing of the list
svn-id: r47637
|
|
- Some obvious list problems are now fixed automatically when found, after the relevant warnings are shown
- kDisposeList now clears all the nodes in the list
- Some cleanup
svn-id: r47636
|
|
DISABLE_VALIDATIONS is set, so that the engine doesn't try and refer to null pointer objects (and subsequently crash)
svn-id: r46956
|
|
svn-id: r46949
|
|
svn-id: r46755
|
|
svn-id: r46747
|
|
the other list-related functions), thanks to the help of waltervn
svn-id: r46744
|
|
implemented kListAllTrue with the help of waltervn
svn-id: r46742
|
|
svn-id: r45234
|
|
svn-id: r44850
|
|
SegManager::lookupList
svn-id: r44769
|
|
svn-id: r44629
|
|
svn-id: r44538
|
|
of failure - apparently, this can occur in some games, e.g. Longbow and QFG1
svn-id: r44503
|
|
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging
- Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack
- Removed kUnknown() and kStub()
- Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them
Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now
svn-id: r44461
|
|
svn-id: r44169
|
|
svn-id: r44130
|
|
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
|
|
removed eventually)
svn-id: r43905
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|
|
- 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
|
|
svn-id: r43571
|
|
needlessly
svn-id: r41174
|
|
svn-id: r41126
|
|
where invoke_selector should stop
svn-id: r41095
|
|
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
|
|
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
|
|
- 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
|
|
svn-id: r40767
|