Age | Commit message (Collapse) | Author |
|
svn-id: r50549
|
|
example)
svn-id: r50537
|
|
parameters, and we don't know what the 4th parameter is yet
svn-id: r50528
|
|
node. Also, a slight fix in VM debug code.
svn-id: r50521
|
|
svn-id: r50517
|
|
kDeleteKey, as it might be referenced again before the GC is invoked
svn-id: r50516
|
|
nodes. Fixes cases where game scripts could reference a list node after it was deleted (e.g. QFG1 intro, Longbow when exiting the cave). Some slight cleanup
svn-id: r50515
|
|
If one of these is triggered for you, you can add an exception to
the error, together with a comment explaining why this exception
is necessary. Ideally after verifying that the cause is a script
bug and not a bug in our code...
svn-id: r50442
|
|
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
|