17835 Commits

Author SHA1 Message Date
Matthew Hoops
009889dd13 MOHAWK: Implement xgplateau3160_dopools
The pools of water will now always show the video of returning to the "off" state.

svn-id: r52626
2010-09-07 17:58:10 +00:00
Matthew Hoops
f27a0b2c43 MOHAWK: Fix the boiler puzzle videos
svn-id: r52621
2010-09-07 15:27:06 +00:00
Filippos Karapetis
cb0e54034d SCI: Now distinguishing between native MT-32 MIDI from GM devices when checking
for the existence of after market GM patches

svn-id: r52620
2010-09-07 15:09:59 +00:00
Willem Jan Palenstijn
8f1143bfdc COMMON: Remove Rational::operator int/double
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981).

svn-id: r52616
2010-09-07 09:02:46 +00:00
Filippos Karapetis
dd0095f1a2 SCI: Added parentheses inside GfxScreen::isFillMatch() to make the code more
readable

svn-id: r52615
2010-09-07 08:12:59 +00:00
Filippos Karapetis
b2464a9bd1 SCI: Slight change in GfxPicture::vectorFloodFill()
Changed bitwise XOR operations to bitwise NOT AND, to make the code a bit easier
to understand

svn-id: r52614
2010-09-07 07:41:28 +00:00
Johannes Schickel
c42e2f3a55 PARALLACTION: Use a char array for static data instead of String.
svn-id: r52610
2010-09-06 21:17:26 +00:00
Johannes Schickel
f56f093770 CINE: Get rid of needless static variable.
svn-id: r52608
2010-09-06 21:04:12 +00:00
Martin Kiewitz
624d06b684 SCI: extending comment for prev. commit
svn-id: r52606
2010-09-06 19:03:55 +00:00
Martin Kiewitz
d618678982 SCI: dont play audio on kDoSound in hoyle4
hoyle4 has garbled audio data

svn-id: r52605
2010-09-06 19:00:43 +00:00
Martin Kiewitz
2bf82a8354 SCI: fix regression of r52569
fade in/out of samples

svn-id: r52604
2010-09-06 18:23:03 +00:00
Florian Kagerer
c87b7aafd8 LOL: Add md5 for another English floppy version
svn-id: r52597
2010-09-06 16:50:20 +00:00
Arnaud Boutonné
be53141091 HUGO: Clean up creation tool
Fix typos and suppress all identical noun arrays. 

svn-id: r52596
2010-09-06 16:09:56 +00:00
Walter van Niftrik
ba6bc8f17b SCI: AdLib: process patch change commands when playswitch is off.
svn-id: r52595
2010-09-06 16:09:19 +00:00
Martin Kiewitz
6eecc485d2 SCI: fix warning (and actual error)
svn-id: r52591
2010-09-06 12:16:21 +00:00
Arnaud Boutonné
2bea43357f HUGO: Add hints in DOS versions
In DOS versions, display hints when mouse is over a
hotspot. This behavior is based on the one of Hugo Win
versions.

svn-id: r52590
2010-09-06 12:09:11 +00:00
Martin Kiewitz
da45fcfeb2 SCI: add patch for cannister lockup pharkas/cd
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367

svn-id: r52587
2010-09-06 11:58:28 +00:00
Filippos Karapetis
397f883698 SCI: Fixed an off-by one access error in the static selectors of some games
svn-id: r52586
2010-09-06 11:30:26 +00:00
Martin Kiewitz
bab5050531 SCI: fixing code
thx to tortoisegit and broken conflict managment

svn-id: r52585
2010-09-06 10:41:14 +00:00
Martin Kiewitz
c342c0e3d8 SCI: fix regression of r52565
remove class bit when marking as clone

svn-id: r52584
2010-09-06 10:39:42 +00:00
Lars Skovlund
e3e9bac6f6 SCI: Clear class bit when cloning objects.
This fixes a regression affecting many SCI32 games and possibly other games,
looping or recursing endlessly.

svn-id: r52583
2010-09-06 10:11:07 +00:00
Filippos Karapetis
fddb0f6c15 Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"
The fix is partial, as the game will crash when losing and attempting to
restart (for a different reason - there's an issue when uninstantiating a script)

svn-id: r52581
2010-09-05 23:14:42 +00:00
Johannes Schickel
f69bfaf355 KYRA: Get rid of local static non-POD object.
This fixes crashes with the plugins branch for dhewg.

svn-id: r52579
2010-09-05 22:56:25 +00:00
Johannes Schickel
b6663bb942 KYRA: Constify some tables.
svn-id: r52578
2010-09-05 22:56:03 +00:00
Arnaud Boutonné
8bd741d41b HUGO: Add support for multiple scenery files
This is used by H3Dos only.

svn-id: r52571
2010-09-05 20:37:38 +00:00
Martin Kiewitz
9b59496533 SCI: adding patch for script bug in pharkas/cd
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161

svn-id: r52570
2010-09-05 20:04:46 +00:00
Martin Kiewitz
1856723a9e SCI: ignore kDoSound volume changes on samples
svn-id: r52569
2010-09-05 19:34:26 +00:00
Martin Kiewitz
6ffbe90130 SCI: sierra sci ignores vol for kDoSound samples
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated

svn-id: r52568
2010-09-05 19:25:08 +00:00
Martin Kiewitz
49c8d1a549 SCI: kClone cleanup
and fixing possible crash & typo

svn-id: r52565
2010-09-05 15:34:25 +00:00
Martin Kiewitz
13e24af0ca SCI: adjusting comment on kClone change
svn-id: r52563
2010-09-05 15:11:22 +00:00
Martin Kiewitz
d817bec4fd SCI: merging -info- stuff in Clone/DisposeClone
svn-id: r52562
2010-09-05 15:09:50 +00:00
Johannes Schickel
2a08124f0f SCI: Fix bugs #3035650 and #3039566, crash in PEPPER demo and LAURABOW2.
The actual names for the bug reports are:
 #3035650 "PEPPER non-interactive demo: Crash"
 #3039566 "LAURABOW2: Crash during introduction"

Those crashes were caused by an invalid memory dereference in kClone. This
in turn was happening, because the parent object pointer might have been
invalidated in cases where the parent object is also a clone.

svn-id: r52561
2010-09-05 14:59:09 +00:00
Martin Kiewitz
4766cc5bb5 SCI: reuse kGetAngle from kDoAvoider
svn-id: r52560
2010-09-05 13:51:47 +00:00
Martin Kiewitz
d5d5dde56b SCI: dont do global scaling on non-scaleable views
lb2floppy: scripts get confused in the rat scene, when scaleX/Y are set with applied global scaling. This results in kInitBresen to get called almost endlessly, which results in ego slowing down to a crawl and not being able to reach the upper right exit - fixes bug #3050606

svn-id: r52559
2010-09-05 12:55:15 +00:00
Filippos Karapetis
fe2924d50d SCI: initialize members of the Object class when it's constructed
svn-id: r52544
2010-09-05 12:33:27 +00:00
Filippos Karapetis
f17a9f9fb0 SCI: Changed consecutive ifs to a switch
A table would be better, but the switch will do for now

svn-id: r52543
2010-09-05 11:30:40 +00:00
Filippos Karapetis
047979b409 SCI: Fix for alignment exception issue, reported by Bluddy
svn-id: r52542
2010-09-05 11:10:49 +00:00
Filippos Karapetis
913f39da19 SCI: Some cleanup of the static selector code
- Added more static selectors, for debugging
- Added some needed selectors for the non-interactive demo of Pepper

svn-id: r52541
2010-09-05 10:59:44 +00:00
Filippos Karapetis
7dcb19e41b SCI: Added a workaround for the non-interactive demo of Pepper
svn-id: r52540
2010-09-05 10:55:25 +00:00
Filippos Karapetis
16bed50469 SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"
svn-id: r52539
2010-09-05 09:27:41 +00:00
Matthew Hoops
34f570419a MOHAWK: Cleanup
- Split the main Riven event loop into a separate function for readability and for use in the sunner external functions eventually
- Some minor function signature changes (const!)
- Rename matchVarToString() to getVar() (I have no idea where that original name came from, considering it takes a string and returns a variable
- Use solely Common::String in getVar()

svn-id: r52538
2010-09-05 00:48:38 +00:00
Matthew Hoops
aa5cd3e682 MOHAWK: Ignore invalid Riven hotspots again
There is at least one example of a bad hotspot in Riven (tspit 
371 (377 in the DVD version), hotspot 4). This particular hotspot is a zip hotspot which looks like it has its left and right coordinates reversed. However, the zip hotspot would only take the player to the same card as the non zip hotspot so it seems they removed this hotspot with a hack. This fixes a regression from r52487.

svn-id: r52532
2010-09-04 21:43:16 +00:00
Martin Kiewitz
e55c928075 SCI: kDoBresen changes for sci1early+
including change to compare dest and current position directly, otherwise we would trigger ::moveDone one cycle too late in case the current move completed - fixes lsl5 patti upside down bug #3059336 and lb2cd (cd only!) laura bow getting transformed into a boiler-flame (bug #3050602) - lsl5 was not a real regression, the timing of previous kDoBresen way just off, so it didn't happen in that scene, but happened in lb2cd

svn-id: r52531
2010-09-04 18:23:37 +00:00
Eugene Sandulenko
3972091734 SCUMM: Patch #3059327
Patch #3059327: "Remove untrue "not yet implemented" from inventory controls"

svn-id: r52530
2010-09-04 18:03:35 +00:00
Johannes Schickel
8733cdb900 HUGO: Formatting.
svn-id: r52529
2010-09-04 17:30:39 +00:00
Torbjörn Andersson
871064b3c7 HUGO: Add destructor to Scheduler class
GCC complained, and I think this is what it wanted.

svn-id: r52528
2010-09-04 17:22:27 +00:00
Filippos Karapetis
3daf588e08 SCI: Janitorial - fixed spaces and typos
svn-id: r52527
2010-09-04 17:16:41 +00:00
Filippos Karapetis
98f36800e3 SCI: Added another version of Hoyle 3 (bug report #3038837)
svn-id: r52526
2010-09-04 17:10:27 +00:00
Arnaud Boutonné
a29ae44296 HUGO: Fix decryption in H2 DOS, plus some cleanup
svn-id: r52525
2010-09-04 16:02:16 +00:00
Filippos Karapetis
34195238bb SCI: Don't try to initialize non-existent scripts, error out instead
(Invalid scripts may be requested to be loaded when warping to an incorrect room)

svn-id: r52524
2010-09-04 15:38:24 +00:00