Age | Commit message (Collapse) | Author |
|
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
|
|
svn-id: r40690
|
|
print klists.cpp and the according line anyway.
svn-id: r40681
|
|
with SCI)
svn-id: r40680
|
|
lookup functions, and removed the LOOKUP_LIST and LOOKUP_NODE defines. Also, disabled the unused LOOKUP_SPECIES define
svn-id: r40676
|
|
them have been changed to warnings for now, as they occur in certain games (e.g. SQ4 floppy, SQ4 CD and KQ5 CD)
svn-id: r40675
|
|
internally. Increased savegame version, breaking compatibility to the previous one -- sorry for that, but some of my previous changes accidentally messed up the table syncing, resulting in messed up savegames anyway; these breakages should be fixed with this commit
svn-id: r40453
|