aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
AgeCommit message (Collapse)Author
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops
2011-08-15MOHAWK: Stub off Riven transition speed codeMatthew Hoops
2011-08-11MOHAWK: Implement the rest of the sunners codeMatthew Hoops
2011-06-28MOHAWK: Rework archive handlingMatthew Hoops
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
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 storeMovieOpcode opcodeMatthew Hoops
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-23MOHAWK: Use direct access on the hashmap for Riven variables nowMatthew Hoops
2011-03-23MOHAWK: Begin using a hashmap to store Riven variablesMatthew Hoops
2011-03-22MOHAWK: Handle launcher load fails more gracefullyMatthew Hoops
2011-03-21MOHAWK: Minor cleanup and consistency fixesMatthew Hoops
2011-03-21MOHAWK: Implement the hardcoded Catherine idle videosMatthew Hoops
2011-03-20MOHAWK: Implement the Ytram trapMatthew Hoops
2011-03-09MOHAWK: Fix typo in the Riven missing executable dialogMatthew Hoops
2011-03-07MOHAWK: Fix Riven's cursor in the main menuMatthew Hoops
Actually call the showCursor() function now...
2011-03-07MOHAWK: Error message consistencyMatthew Hoops
2011-03-07MOHAWK: Improve error handling when data isn't foundMatthew 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-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2011-01-24MOHAWK: Recheck the current hotspot if a script has changed the enabled ↵Matthew Hoops
hotspots in Riven svn-id: r55493
2011-01-21MOHAWK: Add support for installer files from Riven and other Broderbund gamesMatthew Hoops
svn-id: r55368
2011-01-18MOHAWK: Rename some VideoManager functions so we have some unified naming ↵Matthew Hoops
between versions svn-id: r55312
2010-12-21MOHAWK: Remove sound.h include from resource.hAlyssa Milburn
svn-id: r54988
2010-11-30MOHAWK: don't include livingbooks.h from graphics.hAlyssa Milburn
svn-id: r54670
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-22MOHAWK: Have MohawkResource::open() return a bool for success/failureMatthew Hoops
svn-id: r54418
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-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-09-12i18n: Translate the Save and Load buttons in myst and rivenThierry Crozat
svn-id: r52692
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-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-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: 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: 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-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-29Update comment on CD swapping in Riven.Matthew Hoops
svn-id: r50479
2010-06-29Silence a valgrind warning.Matthew Hoops
svn-id: r50478
2010-06-29Fix the load game dialog in Riven DVD's menu, borrowed from Parallaction.Matthew Hoops
svn-id: r50477
2010-06-26Fix saving while viewing the inventory in Riven and cleanup the save/load code.Matthew Hoops
svn-id: r50333
2010-06-25Add support for the third inventory case in Riven: you have the two journals ↵Matthew Hoops
but not the trap book (happens at the end of the game). svn-id: r50280
2010-06-18Cleanup; add a TODO.Matthew Hoops
svn-id: r50000
2010-06-14Mohawk: Added support for running Riven off DVD layout.Eugene Sandulenko
Uses new directory depth feature of AdvancedDetector. Set directory depth to 2 and added Assets1/ directory. As a result, DVD layout which does not have any game data file in top level directory gets detected and runs well. svn-id: r49654
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-06-01Fix videos in Riven activated from a different card from which they are ↵Matthew Hoops
played; minor cleanup. svn-id: r49377
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-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-19Remove use of global constructors in Mohawk.Matthew Hoops
svn-id: r48731