Filippos Karapetis
|
048ceb73d3
|
SCI: Removed the hack for loading games from the launcher from run_vm(). This is now done on startup. This should fix loading from the launcher for LSL6
svn-id: r50406
|
2010-06-27 23:20:08 +00:00 |
|
Martin Kiewitz
|
a887d4898d
|
SCI: tell midiparser that he lost ownership of channels in case we take them away
svn-id: r50405
|
2010-06-27 21:41:30 +00:00 |
|
Filippos Karapetis
|
8db94ef991
|
Cleanup
svn-id: r50404
|
2010-06-27 21:38:45 +00:00 |
|
Filippos Karapetis
|
1faebccce2
|
Cleanup, remove unused/obsolete code
svn-id: r50403
|
2010-06-27 21:29:35 +00:00 |
|
Filippos Karapetis
|
4a60ff4090
|
Made the script initialization/uninitialization methods part of the segment manager
svn-id: r50402
|
2010-06-27 21:18:19 +00:00 |
|
Martin Kiewitz
|
456265f8fa
|
SCI: resetting curPos as well when mixing sound resources
svn-id: r50401
|
2010-06-27 21:12:38 +00:00 |
|
Johannes Schickel
|
819dc92802
|
Escape a "?" character to prevent "??)" to be interpreted as trigraph and thus becoming "]".
svn-id: r50399
|
2010-06-27 21:04:47 +00:00 |
|
Filippos Karapetis
|
2843feeb9a
|
SCI: Made the code for initializing script classes, objects and locals part of the Script class
svn-id: r50398
|
2010-06-27 21:00:34 +00:00 |
|
Martin Kiewitz
|
5f9cc9e8f8
|
SCI: adding alias for vmvars ("vv") and vmvarlist ("vl")
svn-id: r50397
|
2010-06-27 20:43:32 +00:00 |
|
Filippos Karapetis
|
bb992b0b93
|
SCI: Moved all the script-related code inside script.cpp/.h, and all script opcode-related code inside vm.cpp/.h
svn-id: r50396
|
2010-06-27 20:38:43 +00:00 |
|
Martin Kiewitz
|
0436f2823d
|
SCI: added additional output to vmvars command
svn-id: r50395
|
2010-06-27 20:38:41 +00:00 |
|
Filippos Karapetis
|
e6a9a9da82
|
Silenced a false positive in MSVC about a potentially uninitialized variable
svn-id: r50392
|
2010-06-27 20:22:09 +00:00 |
|
Martin Kiewitz
|
1537d61299
|
SCI: added alias for bplist ("bl") and bpdel ("bc"), added capability of deleting all breakpoints by using "bc *"
svn-id: r50391
|
2010-06-27 20:11:15 +00:00 |
|
Filippos Karapetis
|
aa9b9dd08f
|
SCI: Separated the code for initializing script classes from the code for initializing script objects
svn-id: r50390
|
2010-06-27 20:09:51 +00:00 |
|
Martin Kiewitz
|
7644631daf
|
SCI: removing debug command "set_acc", use "vmvars a" instead
svn-id: r50389
|
2010-06-27 20:02:58 +00:00 |
|
Martin Kiewitz
|
4653153910
|
SCI: added new command "p" / "stepover" to execute one command, but skip 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 19:58:32 +00:00 |
|
Martin Kiewitz
|
303dc06388
|
SCI: fixing regression from one of the merges
svn-id: r50387
|
2010-06-27 18:41:07 +00:00 |
|
Martin Kiewitz
|
777794d11d
|
SCI: filter out set signal commands from midi streams, if they happen at ticker 0. fixes castle daventry getting removed immediately in kq5 french/mac
svn-id: r50385
|
2010-06-27 17:58:26 +00:00 |
|
Martin Kiewitz
|
a2cdc47530
|
SCI: now showing kernel call name when argument signature check fails
svn-id: r50380
|
2010-06-27 16:09:17 +00:00 |
|
Filippos Karapetis
|
d7f212647a
|
Turned the error when failing to locate an invalid object back to a warning (KQ5 French has an invalid object in script 202)
svn-id: r50379
|
2010-06-27 16:02:03 +00:00 |
|
Martin Kiewitz
|
01bfcf98cc
|
SCI: debug command vmvars - adding acc support
svn-id: r50378
|
2010-06-27 15:50:51 +00:00 |
|
Lars Skovlund
|
6864d09d68
|
SCI: Fix for large views in GK2. At least it does not segfault now.
svn-id: r50376
|
2010-06-27 13:15:01 +00:00 |
|
Martin Kiewitz
|
32ee0338f8
|
SCI: better solution for the lsl6 uninit issue, we now go through all the parents till we find a working workaround - we can use Narrator::startText that way inside the workaround table
svn-id: r50374
|
2010-06-27 11:51:44 +00:00 |
|
Martin Kiewitz
|
0b6bd84aba
|
SCI: adding uninit workaround for lsl6 (Narrator::startText)
svn-id: r50373
|
2010-06-27 11:19:23 +00:00 |
|
Filippos Karapetis
|
daab502028
|
Cleanup
svn-id: r50359
|
2010-06-27 00:08:00 +00:00 |
|
Filippos Karapetis
|
7a14846bdd
|
Removed the misleading getHeap() function (only valid for SCI0-SCI1), plus removed some unused defines
svn-id: r50358
|
2010-06-26 23:48:27 +00:00 |
|
Filippos Karapetis
|
3cf0114164
|
Moved script_instantiate_sci0() inside the segment manager, and renamed it to scriptInitialiseObjectsSci0()
svn-id: r50357
|
2010-06-26 23:13:05 +00:00 |
|
Filippos Karapetis
|
3dcebcb1bc
|
Shuffled some functions around. Also, the filename in kResCheck can never be bigger than 9 characters, when dealing with VMD videos
svn-id: r50355
|
2010-06-26 23:01:22 +00:00 |
|
Filippos Karapetis
|
b2f2c48c7e
|
Added a workaround for broken script 377 in Castle of Dr. Brain, room 320. It constantly tries to free the saved area rectangle (underbits) underneath the popup window
svn-id: r50352
|
2010-06-26 22:50:39 +00:00 |
|
Filippos Karapetis
|
e2026f4a26
|
Zero out the memory pointer of a hunk when freeing it
svn-id: r50351
|
2010-06-26 22:48:47 +00:00 |
|
Martin Kiewitz
|
25cb3092f4
|
SCI: added comment to vm-workaround table
svn-id: r50347
|
2010-06-26 21:57:13 +00:00 |
|
Willem Jan Palenstijn
|
af755b0b3d
|
Further improve readability
svn-id: r50345
|
2010-06-26 21:36:25 +00:00 |
|
Martin Kiewitz
|
1ca0cdc8b1
|
SCI: fix warning
svn-id: r50341
|
2010-06-26 20:47:28 +00:00 |
|
Willem Jan Palenstijn
|
caded4f892
|
Improve readability
svn-id: r50340
|
2010-06-26 20:28:42 +00:00 |
|
Martin Kiewitz
|
710fc6c71e
|
SCI: do boundary checking when loading sci1 sounds and mixing them together. The final end credits song (resource 699) in kq5 has some channels with invalid offsets, crashing ScummVM before
svn-id: r50339
|
2010-06-26 19:55:49 +00:00 |
|
Martin Kiewitz
|
9a0e2e9c46
|
SCI: add another unint temp workaround for kq5 - when playing harp for the harpies
svn-id: r50334
|
2010-06-26 17:37:28 +00:00 |
|
Martin Kiewitz
|
61295bcc4e
|
SCI: pseudo-adding workaround for kq5 room 25 witch forest
svn-id: r50332
|
2010-06-26 16:54:09 +00:00 |
|
Martin Kiewitz
|
41aca44b03
|
SCI: another commit for adding a workaround for islang room 300 again (although i already commited it already, stupid torturegit)
svn-id: r50330
|
2010-06-26 16:27:01 +00:00 |
|
Martin Kiewitz
|
79b5e7d77e
|
SCI: fixing stupid torturegit conflict merge
svn-id: r50329
|
2010-06-26 16:21:28 +00:00 |
|
Willem Jan Palenstijn
|
691323f16e
|
Fix format string warning
svn-id: r50325
|
2010-06-26 15:55:40 +00:00 |
|
Martin Kiewitz
|
a4f139c4d2
|
SCI: adding more comment for export workaround (sq1)
svn-id: r50318
|
2010-06-26 12:20:40 +00:00 |
|
Martin Kiewitz
|
cb5d9f6af5
|
SCI: added workaround for island of dr. brain elements puzzle
svn-id: r50317
|
2010-06-26 12:04:15 +00:00 |
|
Martin Kiewitz
|
e4153044d4
|
SCI: reverting r50315 - had the deadlock just again...
svn-id: r50316
|
2010-06-26 11:48:42 +00:00 |
|
Martin Kiewitz
|
be75870100
|
SCI: fixing deadlock possiblity on samples (sq3 deadlocked on door opening/where am i on me)
svn-id: r50315
|
2010-06-26 11:43:14 +00:00 |
|
Martin Kiewitz
|
18d9f917a0
|
SCI: set _driver to 0 in MidiParser_SCI destructor to stop the MidiParser destructor call allNotesOff() which would affect all channels all the time - fixes sq1 ship flying away sound getting stopped when ladder falls down
svn-id: r50313
|
2010-06-26 11:16:25 +00:00 |
|
Martin Kiewitz
|
906b3221f5
|
SCI: removing fixme (issue got already solved)
svn-id: r50311
|
2010-06-26 10:51:38 +00:00 |
|
Martin Kiewitz
|
16f854ba64
|
SCI: dont call midiparser->stop() if paused sound gets stopped
svn-id: r50310
|
2010-06-26 10:47:38 +00:00 |
|
Martin Kiewitz
|
cf3a37585c
|
SCI: making hack inside kAbs hoyle1 specific, added fixme
svn-id: r50309
|
2010-06-26 09:34:14 +00:00 |
|
Martin Kiewitz
|
258494f036
|
SCI: adding capability to resolve local calls as well for valgrind-sci, adding another workaround for a script bug in sq1 (this time export 1 gets called locally)
svn-id: r50308
|
2010-06-26 08:29:55 +00:00 |
|
Martin Kiewitz
|
56d9acad90
|
SCI: implementing workaround for issue in room 58 sq1 (operation lt, doing comparsion against pointer)
svn-id: r50294
|
2010-06-25 22:48:55 +00:00 |
|