aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
AgeCommit message (Collapse)Author
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-14MOHAWK: Finish implementation of Riven's stopSound() opcodeMatthew Hoops
2011-06-14MOHAWK: Finish implementation of Riven's storeMovieOpcode opcodeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-23MOHAWK: Use direct access on the hashmap for Riven variables nowMatthew Hoops
2011-03-22MOHAWK: Begin to implement Riven opcode 38Matthew Hoops
Also, renamed it to better reflect its purpose
2011-03-22MOHAWK: Minor cursor call cleanupMatthew Hoops
2011-03-07MOHAWK: Make Riven use original executables for cursorsMatthew Hoops
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-01-24MOHAWK: Recheck the current hotspot if a script has changed the enabled ↵Matthew Hoops
hotspots in Riven svn-id: r55493
2011-01-23MOHAWK: Implement Riven's stopSound() and fadeAmbientSounds() opcodesMatthew Hoops
svn-id: r55460
2011-01-23MOHAWK: Cleanup Riven opcode 12 (now known as stopSound())Matthew Hoops
svn-id: r55457
2011-01-19MOHAWK: Cleanup some Riven codeMatthew Hoops
svn-id: r55327
2011-01-18MOHAWK: Rename some VideoManager functions so we have some unified naming ↵Matthew Hoops
between versions svn-id: r55312
2010-11-25MOHAWK: Refactor cursor handlingMatthew Hoops
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!). svn-id: r54469
2010-11-23MOHAWK: Pass objs by const ref not by valueMax Horn
svn-id: r54443
2010-11-20MOHAWK: Cleanup resource handlingMatthew Hoops
- Renamed getRawData() to getResource() - Add a getResource() and hasResource() function for named resources - Other minor formatting changes svn-id: r54396
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