aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-09-06SCI: fix regression of r52565Martin Kiewitz
remove class bit when marking as clone svn-id: r52584
2010-09-06SCI: Clear class bit when cloning objects.Lars Skovlund
This fixes a regression affecting many SCI32 games and possibly other games, looping or recursing endlessly. svn-id: r52583
2010-09-05Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"Filippos Karapetis
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-05KYRA: Get rid of local static non-POD object.Johannes Schickel
This fixes crashes with the plugins branch for dhewg. svn-id: r52579
2010-09-05KYRA: Constify some tables.Johannes Schickel
svn-id: r52578
2010-09-05HUGO: Add support for multiple scenery filesArnaud Boutonné
This is used by H3Dos only. svn-id: r52571
2010-09-05SCI: adding patch for script bug in pharkas/cdMartin Kiewitz
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-05SCI: ignore kDoSound volume changes on samplesMartin Kiewitz
svn-id: r52569
2010-09-05SCI: sierra sci ignores vol for kDoSound samplesMartin Kiewitz
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated svn-id: r52568
2010-09-05SCI: kClone cleanupMartin Kiewitz
and fixing possible crash & typo svn-id: r52565
2010-09-05SCI: adjusting comment on kClone changeMartin Kiewitz
svn-id: r52563
2010-09-05SCI: merging -info- stuff in Clone/DisposeCloneMartin Kiewitz
svn-id: r52562
2010-09-05SCI: Fix bugs #3035650 and #3039566, crash in PEPPER demo and LAURABOW2.Johannes Schickel
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-05SCI: reuse kGetAngle from kDoAvoiderMartin Kiewitz
svn-id: r52560
2010-09-05SCI: dont do global scaling on non-scaleable viewsMartin Kiewitz
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-05SCI: initialize members of the Object class when it's constructedFilippos Karapetis
svn-id: r52544
2010-09-05SCI: Changed consecutive ifs to a switchFilippos Karapetis
A table would be better, but the switch will do for now svn-id: r52543
2010-09-05SCI: Fix for alignment exception issue, reported by BluddyFilippos Karapetis
svn-id: r52542
2010-09-05SCI: Some cleanup of the static selector codeFilippos Karapetis
- Added more static selectors, for debugging - Added some needed selectors for the non-interactive demo of Pepper svn-id: r52541
2010-09-05SCI: Added a workaround for the non-interactive demo of PepperFilippos Karapetis
svn-id: r52540
2010-09-05SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"Filippos Karapetis
svn-id: r52539
2010-09-05MOHAWK: CleanupMatthew Hoops
- 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-04MOHAWK: Ignore invalid Riven hotspots againMatthew Hoops
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-04SCI: kDoBresen changes for sci1early+Martin Kiewitz
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-04SCUMM: Patch #3059327Eugene Sandulenko
Patch #3059327: "Remove untrue "not yet implemented" from inventory controls" svn-id: r52530
2010-09-04HUGO: Formatting.Johannes Schickel
svn-id: r52529
2010-09-04HUGO: Add destructor to Scheduler classTorbjörn Andersson
GCC complained, and I think this is what it wanted. svn-id: r52528
2010-09-04SCI: Janitorial - fixed spaces and typosFilippos Karapetis
svn-id: r52527
2010-09-04SCI: Added another version of Hoyle 3 (bug report #3038837)Filippos Karapetis
svn-id: r52526
2010-09-04HUGO: Fix decryption in H2 DOS, plus some cleanupArnaud Boutonné
svn-id: r52525
2010-09-04SCI: Don't try to initialize non-existent scripts, error out instead Filippos Karapetis
(Invalid scripts may be requested to be loaded when warping to an incorrect room) svn-id: r52524
2010-09-04SCI: Updated comment concerning kCantBeHere and removed a wrong check for ↵Filippos Karapetis
Hoyle 3 svn-id: r52523
2010-09-04SCI: fixing typo in kDoAvoiderMartin Kiewitz
svn-id: r52520
2010-09-04SCI: delete on textedit control now checks stringMartin Kiewitz
svn-id: r52518
2010-09-04SCI: fixing commentMartin Kiewitz
svn-id: r52517
2010-09-04SCI: Fixed bug #3037595 - "KQ4: Crash reading message in the bottle (whale ↵Filippos Karapetis
mouth)" svn-id: r52516
2010-09-04SCI: removing non-sierra sci code in kDirLoopMartin Kiewitz
svn-id: r52515
2010-09-04SCI: doing detectDoSoundType() properly sci0earlyMartin Kiewitz
checking, if sound resources are sci0early or late for sci0early games instead of hardcoding lsl2 svn-id: r52514
2010-09-04SCI: lsl2 early uses sci0late soundMartin Kiewitz
fixes bug #3037012 and lsl2 now has music everywhere svn-id: r52513
2010-09-04SCI: properly reversed kDoAvoiderMartin Kiewitz
getAngle()-code is missing though. Still fixes lsl2early hang on airport (bug #3037036), fixes kq4early unicorn doing moonwalk (kq4late still works as well) svn-id: r52512
2010-09-03SCI: Fixed bug #3058865 - "Jones in the Fast Lane CD: Graphics Missing"Filippos Karapetis
svn-id: r52511
2010-09-03SCI: kDirLoop freshly reversedMartin Kiewitz
svn-id: r52510
2010-09-03MOHAWK: Improve support for the Riven DemoMatthew Hoops
- The exit button now appears and is functional - The intro movies now play on start up - Add shortcuts for returning to the menu/playing the intro videos again - Make the text when hitting a boundary match the original - Change the wording of the browser button message - Note: The demo's extras.mhk (not the full game's!) is required now svn-id: r52509
2010-09-03SCI: kClone/kDisposeClone behaviour more accurateMartin Kiewitz
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.) svn-id: r52508
2010-09-03SCI: adding mother goose titleMartin Kiewitz
svn-id: r52507
2010-09-03SCI: Added a warning when using GM with SCI1 gamesFilippos Karapetis
The MT-32 <-> GM mapping has only been worked on for SCI0/SCI01 games. Throw a warning when the user chooses GM in a SCI1 game, and there is no after market GM support from Sierra for this game svn-id: r52505
2010-09-03SCI: Rewrote the game name IDs of the Mt32MemoryTimbreMaps array to be like ↵Filippos Karapetis
the game IDs we use svn-id: r52504
2010-09-02SCI: Show a warning window regarding GM in some games.Filippos Karapetis
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
2010-09-02SCI: Fixed compilation when VM_DEBUG_SEND is enabledFilippos Karapetis
svn-id: r52498
2010-09-02SCI: Added a FIXME for bug #3038870, related to kParse()Filippos Karapetis
svn-id: r52497