Age | Commit message (Collapse) | Author |
|
Since I got no response to my mail to -devel, I just assume that there is
no specific reason for using rand() in SCI.
As explained in my mail to -devel about why SCI uses rand, this might allow
SCI to work with our event recording, when that ever gets finished.
I adapted kRandom so that it also supports negative random numbers. And
furthermore that the toNumber argument is smaller than the fromNumber
argument. I am not sure whether that really happens though, but it should
be safer to have this. I marked that place with an TODO/CHECKME.
svn-id: r51521
|
|
hoyle 3 is using kCanBeHere, but it has cantBeHere and canBeHere selectors so our auto detection would fail
it also has a cantBeHere stub in Actor, thus it won't set acc at all. We reset acc because of that before calling cantBeHere selector (!) of the actors (canBeHere isnt used) so that we wont get a collision otherwise because acc is non zero when calling kDoBresen (fixes all sorts of bugs, clone2727 should clean it up :P
svn-id: r51485
|
|
this properly should make credits etc. appear and solve all the other issues that clone submitted)
svn-id: r51484
|
|
the "completed" case removed in rev #50921 for Hoyle 3
svn-id: r51479
|
|
fixed mixed-up fairy tales demo
svn-id: r51035
|
|
svn-id: r50935
|
|
svn-id: r50934
|
|
those selector names, but doesn't use them inside mover objects
svn-id: r50933
|
|
still shaking while gotten stopped due ego
svn-id: r50931
|
|
also adding another comment about r50921
svn-id: r50922
|
|
- i hope this won't cause regressions, but calling the method in collision case is definitely wrong
svn-id: r50921
|
|
svn-id: r50012
|
|
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning
svn-id: r49973
|
|
svn-id: r49569
|
|
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
|
|
walking issues (like rescueing ambassador) in iceman, dancing at the beginning also still works - thx to [md5]
svn-id: r49163
|
|
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID
- Moved the code which reads the internal Sierra ID inside the resource manager
- Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code
svn-id: r49152
|
|
svn-id: r48202
|
|
svn-id: r48050
|
|
svn-id: r48049
|
|
svn-id: r47918
|
|
svn-id: r47850
|
|
svn-id: r47707
|
|
invoke_selector
svn-id: r47665
|
|
svn-id: r47009
|
|
svn-id: r47007
|
|
svn-id: r46635
|
|
svn-id: r45903
|
|
and we have the same functionality in the debug console
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h
svn-id: r45310
|
|
svn-id: r45234
|
|
svn-id: r45122
|
|
detections and rewrote it to work in a similar fashion to the other detections
svn-id: r44836
|
|
svn-id: r44629
|
|
console.cpp, and switch other code using it to use findObjectByName() instead.
svn-id: r44628
|
|
(usually), or to signal success in some special occasions
svn-id: r44505
|
|
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
|
|
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations
svn-id: r44359
|
|
- Changed all the SCI version checks to use getSciVersion()
- Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine)
The fallback detector should work correctly now
svn-id: r44269
|
|
svn-id: r44173
|
|
svn-id: r44170
|
|
svn-id: r44153
|
|
svn-id: r44152
|
|
svn-id: r44129
|
|
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
|
|
removed eventually)
svn-id: r43905
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|