aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
AgeCommit message (Collapse)Author
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-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: Print the rect of the hotspot in the 'hotspot' command tooMatthew Hoops
svn-id: r52300
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-08-04GRAPHICS: Change signature of VideoDecoder::load()Max Horn
Now takes a pointer to a stream, instead of a reference. The rational is that in all instances, callers have a pointer (and dereference it to call load), and all load implementations turn the reference back into a pointer. svn-id: r51725
2010-07-09Add detection for 'Little Monster at School' and the bunch of demos that ↵Matthew Hoops
came on the CD (on the demo server now too). svn-id: r50776
2010-07-09Fix some other valgrind warnings.Matthew Hoops
svn-id: r50762
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-26Add a debug console command to Riven for displaying combinations to puzzles.Matthew Hoops
svn-id: r50338
2010-06-26Gehn's cage should be closed initially, so initialize ocage to 1.Matthew Hoops
svn-id: r50337
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-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-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-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-18Cleanup; add a TODO.Matthew Hoops
svn-id: r50000
2010-06-18Add a comment on the unknown switch command argument.Matthew Hoops
svn-id: r49999
2010-06-15MOHAWK: Properly add detection for Riven DVD.Eugene Sandulenko
svn-id: r49789
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15MOHAWK: Sync with latest GUI changes.Eugene Sandulenko
svn-id: r49787
2010-06-14Split out Mohawk detection tables into separate file.Eugene Sandulenko
svn-id: r49658
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-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-06-02Fix a regression from r49377 - we should be checking against code in ↵Matthew Hoops
addition to index for duplicate MLST's. svn-id: r49395
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-30Add md5's for Myst ME and Riven DVD French.Matthew Hoops
svn-id: r49335
2010-05-27Add some null checking when pausing/resuming videos.Matthew Hoops
svn-id: r49254
2010-05-26Fix the 'boiling water' videos in the boiler puzzle.Matthew Hoops
svn-id: r49237
2010-05-25Fix a Myst regression: not a good idea to use memset on a Common::String :)Matthew Hoops
svn-id: r49215
2010-05-25Implement *scpbtn and *_domecheck. The domes can now be opened/closed (not ↵Matthew Hoops
using the sliders). svn-id: r49208
2010-05-24Move the PICT code to graphics/ with some updates; needed for SCI1.1 Mac.Matthew Hoops
svn-id: r49195
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-20The QuickTime getPalette() function should output in RGB format, not RGBA.Matthew Hoops
svn-id: r49121
2010-05-20Add a pause level system to VideoDecoder (blatantly ripped off from Engine) ↵Matthew Hoops
and adapt Mohawk to it. svn-id: r49120
2010-05-19Reverted commit #49088, seems like to be a false positive from MSVC on the ↵Filippos Karapetis
QTPlayer::*func pointer of the ParseTable struct (warning 4121, alignment of a member was sensitive to packing) svn-id: r49106
2010-05-19Added packing to the QT structuresFilippos Karapetis
svn-id: r49088