Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-27 | SCI: Separated the code for initializing script classes from the code for ↵ | Filippos Karapetis | |
initializing script objects svn-id: r50390 | |||
2010-06-27 | SCI: added new command "p" / "stepover" to execute one command, but skip ↵ | Martin Kiewitz | |
send/calls processing. single-step is now "trace" (alias "s" and "t"), stepping till ret is "step_ret" (alias "pret"), removed unused kDebugSeek svn-id: r50388 | |||
2010-06-27 | SCI: fixing regression from one of the merges | Martin Kiewitz | |
svn-id: r50387 | |||
2010-06-27 | SCI: now showing kernel call name when argument signature check fails | Martin Kiewitz | |
svn-id: r50380 | |||
2010-06-27 | Turned the error when failing to locate an invalid object back to a warning ↵ | Filippos Karapetis | |
(KQ5 French has an invalid object in script 202) svn-id: r50379 | |||
2010-06-27 | SCI: better solution for the lsl6 uninit issue, we now go through all the ↵ | Martin Kiewitz | |
parents till we find a working workaround - we can use Narrator::startText that way inside the workaround table svn-id: r50374 | |||
2010-06-27 | SCI: adding uninit workaround for lsl6 (Narrator::startText) | Martin Kiewitz | |
svn-id: r50373 | |||
2010-06-27 | Cleanup | Filippos Karapetis | |
svn-id: r50359 | |||
2010-06-26 | Removed the misleading getHeap() function (only valid for SCI0-SCI1), plus ↵ | Filippos Karapetis | |
removed some unused defines svn-id: r50358 | |||
2010-06-26 | Moved script_instantiate_sci0() inside the segment manager, and renamed it ↵ | Filippos Karapetis | |
to scriptInitialiseObjectsSci0() svn-id: r50357 | |||
2010-06-26 | Shuffled some functions around. Also, the filename in kResCheck can never be ↵ | Filippos Karapetis | |
bigger than 9 characters, when dealing with VMD videos svn-id: r50355 | |||
2010-06-26 | Added a workaround for broken script 377 in Castle of Dr. Brain, room 320. ↵ | Filippos Karapetis | |
It constantly tries to free the saved area rectangle (underbits) underneath the popup window svn-id: r50352 | |||
2010-06-26 | Zero out the memory pointer of a hunk when freeing it | Filippos Karapetis | |
svn-id: r50351 | |||
2010-06-26 | SCI: added comment to vm-workaround table | Martin Kiewitz | |
svn-id: r50347 | |||
2010-06-26 | SCI: add another unint temp workaround for kq5 - when playing harp for the ↵ | Martin Kiewitz | |
harpies svn-id: r50334 | |||
2010-06-26 | SCI: pseudo-adding workaround for kq5 room 25 witch forest | Martin Kiewitz | |
svn-id: r50332 | |||
2010-06-26 | SCI: fixing stupid torturegit conflict merge | Martin Kiewitz | |
svn-id: r50329 | |||
2010-06-26 | Fix format string warning | Willem Jan Palenstijn | |
svn-id: r50325 | |||
2010-06-26 | SCI: adding more comment for export workaround (sq1) | Martin Kiewitz | |
svn-id: r50318 | |||
2010-06-26 | SCI: added workaround for island of dr. brain elements puzzle | Martin Kiewitz | |
svn-id: r50317 | |||
2010-06-26 | SCI: making hack inside kAbs hoyle1 specific, added fixme | Martin Kiewitz | |
svn-id: r50309 | |||
2010-06-26 | SCI: adding capability to resolve local calls as well for valgrind-sci, ↵ | Martin Kiewitz | |
adding another workaround for a script bug in sq1 (this time export 1 gets called locally) svn-id: r50308 | |||
2010-06-25 | SCI: implementing workaround for issue in room 58 sq1 (operation lt, doing ↵ | Martin Kiewitz | |
comparsion against pointer) svn-id: r50294 | |||
2010-06-25 | SCI: adding capability for detecting export-calls into valgrind-sci, adding ↵ | Martin Kiewitz | |
workaround for export 1 of script 703 in sq1 (gets called from various objects) svn-id: r50292 | |||
2010-06-25 | SCI: fix typo | Florian Kagerer | |
svn-id: r50291 | |||
2010-06-25 | AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵ | Florian Kagerer | |
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288 | |||
2010-06-25 | SCI: adding workaround for uninitialized read in sq1 | Martin Kiewitz | |
svn-id: r50287 | |||
2010-06-25 | Renamed some variables | Filippos Karapetis | |
svn-id: r50284 | |||
2010-06-25 | Removed the getHunkPointer error - it's valid SCI behavior (e.g. when ↵ | Filippos Karapetis | |
loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error svn-id: r50279 | |||
2010-06-25 | SCI: changing workaround results for opcodes from signal_reg to make_reg(0, 1) | Martin Kiewitz | |
svn-id: r50278 | |||
2010-06-25 | When loading a game, stop all running VMs recursively, and also stop ↵ | Filippos Karapetis | |
kAnimate's current recursion. This fixes the invalid execution stack frame in SQ1, when loading from the death screen after dying from the acid drops in Kerona. This should also fix the invalid hunk pointers, thus the warning about invalid hunk pointers has been turned into an error, as it shouldn't occur anymore svn-id: r50277 | |||
2010-06-25 | Do not allow the VM to run on non-existent scripts (which shouldn't be ↵ | Filippos Karapetis | |
happening anymore) svn-id: r50276 | |||
2010-06-25 | Removed all of the non-validating code - there's no real point in removing ↵ | Filippos Karapetis | |
script validations svn-id: r50275 | |||
2010-06-25 | SCI: Introduce SciGameId enum | Max Horn | |
svn-id: r50273 | |||
2010-06-25 | SCI: Restrict some 'error' exceptions to the places they occur; cleanup | Max Horn | |
svn-id: r50271 | |||
2010-06-25 | SCI: when writing to a temp, check for segment 0xFFFF and remove it. This ↵ | Martin Kiewitz | |
fixes a false-positive uninitialized read error in room 44 sq1 svn-id: r50269 | |||
2010-06-25 | Removed the checking of parameters again (it's wrong, as it happens after, ↵ | Filippos Karapetis | |
instead of before) and restored the workaround for SQ1 in op_add again svn-id: r50268 | |||
2010-06-25 | Some more info on kText(), removed dead code | Filippos Karapetis | |
svn-id: r50267 | |||
2010-06-25 | SCI: changes to the op GT workaround | Martin Kiewitz | |
svn-id: r50266 | |||
2010-06-25 | Added the SCI2.1 kText kernel function (subop 0, kTextSize for now) | Filippos Karapetis | |
svn-id: r50265 | |||
2010-06-25 | Extended validate_read_var to check for parameters too, and fixed the ↵ | Filippos Karapetis | |
uninitialized variable in SQ1 there svn-id: r50263 | |||
2010-06-25 | Added workarounds for two issues which appear when throwing the water at ↵ | Filippos Karapetis | |
Orat in SQ1, room 28 svn-id: r50262 | |||
2010-06-25 | Removed the game ID check for embedded priority in icon controls, and ↵ | Filippos Karapetis | |
replaced it with a check for priority existence svn-id: r50260 | |||
2010-06-24 | SCI: doing the exact opposite of r50236 code-wise now, as it was meant to be | Martin Kiewitz | |
svn-id: r50237 | |||
2010-06-24 | SCI: ignore segment 0xFFFF in segmanager getchar, when offset > 1 - so we ↵ | Martin Kiewitz | |
dont write a warning, if the scripts use some uninitialized temp variable as terminator svn-id: r50236 | |||
2010-06-24 | SCI: better initialize temp variables with FFFF:0 instead. foreign lsl3 uses ↵ | Martin Kiewitz | |
kFileIO(readraw) and then kReadNumber directly. In that case we would produce many warnings because no terminating 0 is found svn-id: r50235 | |||
2010-06-24 | SCI: Make kStrAt clear segment when writing characters | Willem Jan Palenstijn | |
This is necessary since the uninitialized value detection from r50211, and is analogous to seg_manager.cpp's setChar. (Triggered in LSL3 age verification.) svn-id: r50234 | |||
2010-06-24 | SCI: reverting r50232, didnt make sense. thx @ wjp for noticing | Martin Kiewitz | |
svn-id: r50233 | |||
2010-06-24 | SCI: correctly put NUL inside SegManager::strncpy() even when using n = ↵ | Martin Kiewitz | |
0xFFFFFFFFU svn-id: r50232 | |||
2010-06-24 | SCI: fixing the tortoisegit commit disaster :P | Martin Kiewitz | |
svn-id: r50231 |