Age | Commit message (Collapse) | Author |
|
|
|
|
|
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
|
|
|
|
|
|
|
|
|
|
No functionality change has been made with this commit. This avoids
setting and getting the reg_t members directly, and is the basis of any
future work on large SCI3 scripts (larger than 64KB)
|
|
|
|
This reverts commit 577d7e41c9ca2c498dc85e41c373fbdca8d2ed41.
|
|
This is needed for upcoming changes to the Script class
|
|
|
|
|
|
|
|
SCI scripts can send stale pointers to kernel functions (e.g. after
loading a saved game). This is normal in some cases (such as kDisplay
and kGraphRestoreBox), and their signatures are set to allow invalid
pointers.
Thus, in such cases, allow invalid pointers, as the kernel functions
will handle them themselves. Fixes bug #3412002, and properly fixes bugs
#3389579, #3292251, #3308087 and #3056811. Removed a relevant TODO.
|
|
|
|
Thanks to alexbevi for providing details on the format
|
|
svn-id: r55780
|
|
svn-id: r55176
|
|
svn-id: r55086
|
|
simplified version, thus greatly simplifying handling of system strings
svn-id: r54805
|
|
svn-id: r54341
|
|
svn-id: r54303
|
|
Patch by lskovlun
svn-id: r54216
|
|
svn-id: r54037
|
|
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
|
|
This command can be used to find the object methods (including their
corresponding objects and owner scripts) that call a specific kernel
call. This shall aid us track all the spots where a particular kernel
function is called from, therefore it'll be a bit easier to find
examples where unimplemented kernel functions are called
svn-id: r53646
|
|
Hoyle 3
svn-id: r52523
|
|
svn-id: r51742
|
|
currently removing or listing such breakpoints is not yet supported
svn-id: r51710
|
|
svn-id: r51665
|
|
svn-id: r51584
|
|
removing space from previous name
svn-id: r51582
|
|
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
|
|
use 'logkernel DoSound' on to log calls to all kDoSound subfunctions. use 'logkernel DoSoundPlay' to log calls to kDoSound(play)
svn-id: r51483
|
|
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392)
svn-id: r51482
|
|
svn-id: r51475
|
|
The demo really uses kGetMessage and not kMessage. We now detect which version of the message function is used. Thanks to Walter for pointing this out.
svn-id: r51384
|
|
removing old manual debug code, use logkernel * on/off to log all calls
svn-id: r51222
|
|
svn-id: r51220
|
|
moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls
svn-id: r51089
|
|
from the actual code
svn-id: r51088
|
|
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area
svn-id: r51074
|
|
svn-id: r51068
|
|
kGraph(drawLine) gets called sometimes with additional parameter
svn-id: r51065
|
|
longbow and king's quest
KQ has the same issues as hoyle 3
svn-id: r51063
|
|
0 is now don't call
1 is do call
2 is don't call and fake acc
makes more sense
svn-id: r51060
|
|
gets called with object 0:0 in several scenes, just ignore that call
svn-id: r51059
|
|
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all
svn-id: r51058
|
|
lsl6 workaround also happens later, so we switch it to all rooms
svn-id: r51026
|