aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
AgeCommit message (Collapse)Author
2010-11-21MOHAWK: Fix Living Books v1 sound (courtesy of fuzzie)Matthew Hoops
svn-id: r54397
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-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
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-11-18MOHAWK: Add support for Riven 24bpp images (not yet used)Matthew Hoops
svn-id: r54345
2010-11-18MOHAWK: Cleanup bitmap surface and pack/draw function handlingMatthew Hoops
svn-id: r54338
2010-11-18MOHAWK: Remove unused drawRLE() functionMatthew Hoops
svn-id: r54320
2010-11-18MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)Matthew Hoops
svn-id: r54319
2010-11-18MOHAWK: Cleanup Myst script handlingMatthew Hoops
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152. svn-id: r54309
2010-11-17MOHAWK: Cache the Myst screen bufferMatthew Hoops
This is needed for use with sliders. The screen is now updated fewer times as well. svn-id: r54300
2010-11-17MOHAWK: Apply patch #2988976: "MYST: Fix drawing partial subimages"Matthew Hoops
svn-id: r54297
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-09MOHAWK: Fix one more memory leak (hopefully the last :))Matthew Hoops
svn-id: r54166
2010-11-09MOHAWK: Fix cache memory leak and some formattingMatthew Hoops
svn-id: r54165
2010-11-09MOHAWK: Fix memory leaks (thanks to digitall for finding)Matthew Hoops
svn-id: r54164
2010-11-09MOHAWK: Close a number of memory leaks in Myst.David Turner
These corrections close a number of leaks reported by running Valgrind with --leak-check=full option, but some still remain, mainly in the image loading and caching. svn-id: r54152
2010-11-07MOHAWK: Remove console FIXME'sMatthew Hoops
svn-id: r54109
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-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15Add doxygen comment for namespaces of several engines.Max Horn
This is an empty template which ideally engine maintainers would update and complete with concrete information... svn-id: r53481
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
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-12i18n: Translate the Save and Load buttons in myst and rivenThierry Crozat
svn-id: r52692
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-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