Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-28 | SCI: More changes to the code for loading from the launcher | Filippos Karapetis | |
- Added support for the LSL2 menu bar object - We no longer need a reference to the init() selector - it's always the first method of the menu bar object svn-id: r50462 | |||
2010-06-28 | SCI: stupid oversight fix r50446, too hot here :P | Martin Kiewitz | |
svn-id: r50447 | |||
2010-06-28 | SCI: fixing valgrind issue in Script::initialiseClasses thx to wjp for ↵ | Martin Kiewitz | |
valgrind testing svn-id: r50446 | |||
2010-06-28 | SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵ | Martin Kiewitz | |
also displaying local calls and exports svn-id: r50445 | |||
2010-06-28 | SCI: Some more GC cleanup | Max Horn | |
svn-id: r50443 | |||
2010-06-28 | SCI: Turn more warnings into errors. | Max Horn | |
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 | |||
2010-06-28 | SCI: Move a few remaining Script methods to engine/script.cpp | Max Horn | |
svn-id: r50441 | |||
2010-06-28 | SCI: Clarify docs of GC related SegmentObj methods | Max Horn | |
svn-id: r50440 | |||
2010-06-28 | SCI: Make various SegManager const | Max Horn | |
svn-id: r50439 | |||
2010-06-28 | SCI: get rid of Script::allocateObject | Max Horn | |
svn-id: r50438 | |||
2010-06-28 | SCI: More comment rewrapping | Max Horn | |
svn-id: r50431 | |||
2010-06-28 | SCI: Fix DEBUG_GC mode and permanently enable it | Max Horn | |
svn-id: r50430 | |||
2010-06-28 | SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacks | Max Horn | |
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429 | |||
2010-06-28 | SCI: Make Script member vars private; add const qualifiers | Max Horn | |
Only three Script members remain public (for now) svn-id: r50428 | |||
2010-06-28 | SCI: Change warning back to error in Script::initialiseObjectsSci0 | Max Horn | |
Instead of turning the error into a warning globally, we now have code which ignores the error in Script 202 of KQ5 French, but will keep reporting if it turns up in other places. svn-id: r50427 | |||
2010-06-28 | SCI: More formatting cleanup | Max Horn | |
svn-id: r50426 | |||
2010-06-28 | SCI: cleanup | Max Horn | |
svn-id: r50419 | |||
2010-06-28 | SCI: added uninit workaround for lsl3 - when accessing set volume menu the ↵ | Martin Kiewitz | |
first time sound got muted before (because a uninitialized temp was used to do it, would have been 's' in sierra sci) svn-id: r50416 | |||
2010-06-28 | SCI: show arguments on selector invoke breakpoint even when VM_DEBUG_SEND is ↵ | Martin Kiewitz | |
not used, but in a compressed fashion svn-id: r50410 | |||
2010-06-27 | SCI: Removed the hack for loading games from the launcher from run_vm(). ↵ | Filippos Karapetis | |
This is now done on startup. This should fix loading from the launcher for LSL6 svn-id: r50406 | |||
2010-06-27 | Cleanup | Filippos Karapetis | |
svn-id: r50404 | |||
2010-06-27 | Cleanup, remove unused/obsolete code | Filippos Karapetis | |
svn-id: r50403 | |||
2010-06-27 | Made the script initialization/uninitialization methods part of the segment ↵ | Filippos Karapetis | |
manager svn-id: r50402 | |||
2010-06-27 | SCI: Made the code for initializing script classes, objects and locals part ↵ | Filippos Karapetis | |
of the Script class svn-id: r50398 | |||
2010-06-27 | SCI: Moved all the script-related code inside script.cpp/.h, and all script ↵ | Filippos Karapetis | |
opcode-related code inside vm.cpp/.h svn-id: r50396 | |||
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 |