aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
AgeCommit message (Collapse)Author
2010-11-09MOHAWK: Fix memory leaks (thanks to digitall for finding)Matthew Hoops
svn-id: r54164
2010-11-07MOHAWK: Convert all printf to debugN callsMax Horn
This involves some nasty decisions, like mixing debugN and DebugPrintf calls in the RivenConsole. I added FIXME comments about this. svn-id: r54107
2010-09-08MOHAWK: Implement blocking sound in RivenMatthew Hoops
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too. svn-id: r52643
2010-09-07MOHAWK: Sound cleanupMatthew Hoops
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio. svn-id: r52631
2010-09-01MOHAWK: Update videos when the delay opcode is calledMatthew Hoops
The fixes a couple scripts which decide to delay through a background video turning into a virtual blocking video. svn-id: r52488
2010-09-01MOHAWK: Implement xbookclickMatthew Hoops
It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work). svn-id: r52482
2010-07-09Introduce the RivenScriptManager to keep track of scripts and free them when ↵Matthew Hoops
required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit. svn-id: r50761
2010-06-18Add a comment on the unknown switch command argument.Matthew Hoops
svn-id: r49999
2010-06-02In Riven, if we get a change card opcode on a mouse down event, ignore the ↵Matthew Hoops
next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup. svn-id: r49393
2010-05-26Fix the 'boiling water' videos in the boiler puzzle.Matthew Hoops
svn-id: r49237
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-02-26Slightly rework refreshing cards in Riven (and remove the hackish ↵Matthew Hoops
changeToCard(0)). svn-id: r48134
2010-02-13Implement background video support for Riven; some VideoManager/QTPlayer ↵Matthew Hoops
cleanup. svn-id: r48056
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-19Make the workaround for the Riven intro background music work in the DVD ↵Matthew Hoops
version too. svn-id: r47371
2009-12-30MOHAWK: Reduce header interdependenciesMax Horn
svn-id: r46782
2009-12-29Add Mohawk engine code. Part 1/3: main code.Eugene Sandulenko
svn-id: r46727