Filippos Karapetis
ffe7dcaa6b
SCI: Fixed script bug #3036918 - "HOYLE3: Uninitialized read for temp 1"
...
svn-id: r51494
2010-07-30 05:25:09 +00:00
Filippos Karapetis
a17e3c4449
SCI: Fixed script bug #3036601 - "LONGBOW: Druid hand code brings up ScummVM console", along with a related bug after giving an answer through the hand code
...
svn-id: r51486
2010-07-29 23:58:47 +00:00
Martin Kiewitz
2c9d30290e
SCI: fixing hoyle 3
...
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
2010-07-29 22:52:48 +00:00
Martin Kiewitz
df9f4b5bfe
SCI: reverting r51479 and adding TODOs for fixing the hoyle issue (fixing this properly should make credits etc. appear and solve all the other issues that clone submitted)
...
svn-id: r51484
2010-07-29 22:04:23 +00:00
Martin Kiewitz
4101d40957
SCI: finished logkernel command
...
use 'logkernel DoSound' on to log calls to all kDoSound subfunctions. use 'logkernel DoSoundPlay' to log calls to kDoSound(play)
svn-id: r51483
2010-07-29 21:33:42 +00:00
Martin Kiewitz
1c24f2ca8f
SCI: midi hold behaviour fixed
...
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392 )
svn-id: r51482
2010-07-29 21:12:16 +00:00
Filippos Karapetis
e9234b61d6
SCI: Fixed Hoyle 3 bugs #3035077 , #3035080 , #3035081 and #3035242 , by using the "completed" case removed in rev #50921 for Hoyle 3
...
svn-id: r51479
2010-07-29 19:48:17 +00:00
Matthew Hoops
bc54fde8e1
SCI: Ignore setAttribute() on any non-existent menu items
...
This fixes two fan games: Al Pond 2 and Aquarius. The original interpreter did this as well.
svn-id: r51477
2010-07-29 19:08:07 +00:00
Martin Kiewitz
483f25b9e6
SCI: fixing qfg1 workaround
...
svn-id: r51476
2010-07-29 17:26:56 +00:00
Martin Kiewitz
41ed8b4389
SCI: some subfunction support for logkernel
...
svn-id: r51475
2010-07-29 17:22:38 +00:00
Filippos Karapetis
c61ed6e3aa
SCI: Removed the language check from the
...
KQ5 workaround, as there could be an issue
with other non-English versions, too (e.g.
the Spanish floppy version)
svn-id: r51472
2010-07-29 15:50:53 +00:00
Filippos Karapetis
123d1f6bf6
Extended the workaround for KQ5 French floppy for the German floppy too. Fixes bug #3035396 - "KQ5: Crash when start the game"
...
svn-id: r51471
2010-07-29 15:40:09 +00:00
Filippos Karapetis
9b6c78a4fe
SCI: Fixed bug #3036331 - "KQ5: Floppy version
...
crashes after title", together with a related
problem (kRedrawBox is called erroneously with
an additional parameter when any dialog is
closed)
svn-id: r51470
2010-07-29 15:24:19 +00:00
Matthew Hoops
a113986dc2
SCI: Add detection for the April 2010 competition template (fan game)
...
svn-id: r51469
2010-07-29 13:45:52 +00:00
Filippos Karapetis
a64131ec0f
SCI: Fixed script bug #3036483 - "LSL2: Crash at the ship"
...
svn-id: r51463
2010-07-29 12:43:33 +00:00
Filippos Karapetis
f22821af66
SCI: Added back debug output to sound commands
...
svn-id: r51460
2010-07-29 10:58:01 +00:00
Martin Kiewitz
6b63c951eb
SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 credits (bug #3036154 )
...
svn-id: r51459
2010-07-29 10:48:54 +00:00
Filippos Karapetis
82bf2437e3
SCI: also break in AvoidPath instead of continuing, when the start point is contained in multiple polygons, otherwise we'll end up in an infinite loop
...
svn-id: r51458
2010-07-29 09:08:20 +00:00
Filippos Karapetis
5d72193c51
Oops, removed leftover code
...
svn-id: r51457
2010-07-29 08:03:16 +00:00
Filippos Karapetis
c40b9801df
SCI: Silenced warning when exiting in LSL6 (bug report #3035533 ), and commented out a related unused variable in kSetQuitStr
...
svn-id: r51456
2010-07-29 07:58:48 +00:00
Filippos Karapetis
3e6f3716ac
SCI: Fixed bug #3036390 - "QFG3: Crash when talking to King Rajah", along with a similar problem later on while talking to the king
...
svn-id: r51455
2010-07-29 07:17:42 +00:00
Matthew Hoops
b19433e6d3
SCI: Re-enable the throttle for kFrameout, I must have been asleep that day
...
svn-id: r51451
2010-07-29 01:05:11 +00:00
Filippos Karapetis
c099127c3d
SCI: Break out instead of continuing when an end point is contained in multiple polygons, while running the avoidpath algorithm (or we'll end up in an infinite loop). Fixes bug #3036299 - "LB2CD: Game Hangs at Speakeasy"
...
svn-id: r51450
2010-07-28 23:30:59 +00:00
Filippos Karapetis
b3230b26a1
SCI: Added forgotten bug number to the previous workaround
...
svn-id: r51448
2010-07-28 23:21:27 +00:00
Filippos Karapetis
09ae3b7ca4
SCI: Fixed bug #3036291 , "LB2CD: Crash in Docks, actor animation"
...
svn-id: r51446
2010-07-28 23:09:42 +00:00
Filippos Karapetis
9e164f429d
SCI: Changed another warning into debug output
...
svn-id: r51445
2010-07-28 23:01:28 +00:00
Filippos Karapetis
a2b6b84bfb
SCI: Changed a warning into a debug message
...
svn-id: r51444
2010-07-28 22:41:03 +00:00
Filippos Karapetis
fb35d46c1d
SCI: Extended the LB2 workaround for bug #3035068 to all rooms. Fixes bug #3036274 , "LB2CD: Crash in Police Station, asking about Ziggy"
...
svn-id: r51443
2010-07-28 22:36:22 +00:00
Martin Kiewitz
021c5d11db
SCI: changed kRandom signature
...
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway)
changed comments a bit
svn-id: r51438
2010-07-28 21:55:40 +00:00
Martin Kiewitz
abf53f839a
SCI: implement additional variants of kRandom
...
fixes pq1vga poker game (bug #3036125 )
svn-id: r51435
2010-07-28 21:47:15 +00:00
Matthew Hoops
07b67fe44b
SCI: Fix using the parser in SCI Fan Games
...
Get a pointer to the said spec instead of copying to a buffer. The fan games use a said spec with size < 64. Also, make said() take a const pointer as the spec cannot change. Thanks to waltervn and wjp.
svn-id: r51432
2010-07-28 19:03:49 +00:00
Martin Kiewitz
9a1afc5a24
SCI: fix typo in comment
...
svn-id: r51431
2010-07-28 18:37:13 +00:00
Matthew Hoops
78f0e4ce40
SCI: Add updated detection for al pond 2/new year's mystery (fan games)
...
svn-id: r51430
2010-07-28 18:23:43 +00:00
Matthew Hoops
515cc3c369
SCI: Set the LB2 floppy open selector so we don't have to have duplicate workaround entries
...
svn-id: r51429
2010-07-28 17:45:19 +00:00
Matthew Hoops
f302469a77
SCI: Add workaround for a KQ7 uninitialized temp
...
svn-id: r51428
2010-07-28 17:39:47 +00:00
Martin Kiewitz
cfb1f53d59
SCI: making a global eq1 workaround :P
...
svn-id: r51427
2010-07-28 16:58:34 +00:00
Martin Kiewitz
163f0cf7b5
SCI: eq1 workaround compression and new ones
...
svn-id: r51426
2010-07-28 16:18:03 +00:00
Matthew Hoops
3f5958af78
SCI: Fix compilation when DEBUG_PARSER is defined
...
svn-id: r51425
2010-07-28 16:00:13 +00:00
Martin Kiewitz
e85cf6bfbb
SCI: adding eq1cd workaround
...
svn-id: r51424
2010-07-28 15:48:07 +00:00
Matthew Hoops
191d50171a
SCI: Fix bug #3035737 - SCI Fan Games: Incorrect Version Detection
...
If we have a vocab 900 resource with the new decompressors, it can also be SCI0 late. If there is no parser vocab (with new decompressors), it is SCI1 early.
svn-id: r51423
2010-07-28 15:34:34 +00:00
Martin Kiewitz
8a843b6c21
SCI: adding support for middle mouse button
...
svn-id: r51422
2010-07-28 14:57:35 +00:00
Matthew Hoops
00ff92e9e0
SCI: Remove SCI01 vocab warning, this behavior is normal
...
svn-id: r51421
2010-07-28 14:34:32 +00:00
Martin Kiewitz
67f4784f32
SCI: adding workarounds for eq1cd
...
svn-id: r51420
2010-07-28 14:15:10 +00:00
Martin Kiewitz
15bff49979
SCI: adding workarounds for eq1cd
...
svn-id: r51419
2010-07-28 13:54:04 +00:00
Matthew Hoops
8b22fd921f
SCI: Add detection entries for newer SCI fan games
...
svn-id: r51418
2010-07-28 13:35:24 +00:00
Martin Kiewitz
ebd3356e89
SCI: adding workaround for eq1
...
svn-id: r51417
2010-07-28 13:34:14 +00:00
Martin Kiewitz
df3decc14c
SCI: adding workaround for eq1cd
...
svn-id: r51416
2010-07-28 13:16:36 +00:00
Martin Kiewitz
dc9c627681
SCI: adding header comments about sci1.1 pictures
...
also fixing some of the offsets (those are DWORD instead of just WORDs)
svn-id: r51415
2010-07-28 12:41:24 +00:00
Martin Kiewitz
0e47192346
SCI: priority handling for sci1.1 add-pictures
...
fixes battle cruiser mini game in sq5 (at least we get something displayed now)
svn-id: r51414
2010-07-28 12:28:35 +00:00
Filippos Karapetis
e0f6bb2e7a
SCI: Adding the room number to some more errors
...
svn-id: r51413
2010-07-28 11:37:22 +00:00