aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_external.cpp
AgeCommit message (Collapse)Author
2010-12-09MOHAWK: Allow background videos to be played/manipulated with resource handlesAlyssa Milburn
svn-id: r54843
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: Find the small marble images by string; should fix German versionMatthew Hoops
svn-id: r54431
2010-11-22MOHAWK: Fix gspit dome from always openingMatthew Hoops
svn-id: r54417
2010-11-22MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versionsMatthew Hoops
svn-id: r54416
2010-11-19MOHAWK: Implement an image cache systemMatthew Hoops
This should greatly improve the performance in Myst (especially Myst ME, which uses the slow JPEG decoder). This should also slightly improve the Riven performance; the sliders now work a bit better. svn-id: r54388
2010-11-19MOHAWK: Implement another Riven demo externalMatthew Hoops
xademoquit() is called from card 12 when clicking anywhere but the system requirements (which is why I hadn't noticed it earlier). I've also stubbed another demo function (xaexittomain()), called from an unused card's script for completeness. svn-id: r54359
2010-09-15MOHAWK: Finish implementation of the Riven Marble PuzzleMatthew Hoops
You can now place the marbles and pressing the button will now only set the power to on if the marbles are in the correct positions. svn-id: r52735
2010-09-09MOHAWK: Add initial work on the Riven marble puzzleMatthew Hoops
The marbles are currently drawn, and you can pick them up, but you can not place them on the grid yet. svn-id: r52661
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-07MOHAWK: Add stopping sounds to the telescope functionsMatthew Hoops
svn-id: r52628
2010-09-07MOHAWK: Implement xgplateau3160_dopoolsMatthew Hoops
The pools of water will now always show the video of returning to the "off" state. svn-id: r52626
2010-09-07MOHAWK: Fix the boiler puzzle videosMatthew Hoops
svn-id: r52621
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-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-01MOHAWK: Cleanup mouse cursor position handling in RivenMatthew Hoops
This fixes some cursors showing up incorrectly if the cursor moved during ie. a video and then the card changes. Also, remove an unneeded rect check in loadHotspots() that's from the ancient times before script size calculation was fixed and some warnings that don't affect gameplay. svn-id: r52487
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-08-31MOHAWK: Implement functionality for the dome slidersMatthew Hoops
The sliders are now movable and reset properly. The combination defined in the lab journal works on all the domes too. svn-id: r52476
2010-08-23MOHAWK: Fix xgwatch in the DVD version, which uses sounds in a different ↵Matthew Hoops
location svn-id: r52302
2010-08-23MOHAWK: Add initial work for the dome slidersMatthew Hoops
While the sliders cannot move yet, the game now knows if the puzzle is complete and whether you're over a slider or not. Drawing the sliders and moving the sliders will come next. svn-id: r52292
2010-08-19MOHAWK: Draw in the dome combination in the lab journalMatthew Hoops
svn-id: r52216
2010-08-19MOHAWK: Draw in the telescope combination in Catherine's journalMatthew Hoops
svn-id: r52215
2010-06-26Add a debug console command to Riven for displaying combinations to puzzles.Matthew Hoops
svn-id: r50338
2010-06-26Add the page turning sound for the Riven journals and stub off the swipe ↵Matthew Hoops
transition used when turning pages. svn-id: r50336
2010-06-24Implement the rest of xvalvecontrol for the boiler puzzle in Riven, ↵Matthew Hoops
initialize a variable for the boiler platform switch. svn-id: r50200
2010-06-22Fully implement xvga1300_carriage, the gallow's carriage is now fully usable.Matthew Hoops
svn-id: r50139
2010-06-22Finish implementation of the jspit elevator logic.Matthew Hoops
svn-id: r50136
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-25Implement *scpbtn and *_domecheck. The domes can now be opened/closed (not ↵Matthew Hoops
using the sliders). svn-id: r49208
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-02-26Slightly rework refreshing cards in Riven (and remove the hackish ↵Matthew Hoops
changeToCard(0)). svn-id: r48134
2010-02-17Cleanup handling of the telescope cover combination; matches the original ↵Matthew Hoops
algorithm much better. svn-id: r48075
2010-02-16Implement xgwatch so you can now find out the combination to free Catherine.Matthew Hoops
svn-id: r48073
2010-02-16Implement xpisland990_elevcombo which allows you to free Catherine.Matthew Hoops
svn-id: r48072
2010-02-16Move Riven variable randomization to initVars() and implement randomization ↵Matthew Hoops
for the dome and prison combinations. svn-id: r48070
2010-02-12Fix trap book external commands.Matthew Hoops
svn-id: r48037
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-30MOHAWK: Reduce header interdependenciesMax Horn
svn-id: r46782
2009-12-30Re-indentet switch() blocks to follow ScummVM indentation style. (I've alwaysTorbjörn Andersson
found this style a bit unusual, but I value consistency.) svn-id: r46734
2009-12-29Add Mohawk engine code. Part 1/3: main code.Eugene Sandulenko
svn-id: r46727