aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/graphics.cpp
AgeCommit message (Collapse)Author
2010-11-29MOHAWK: Implement 4 types of animated updates for MystBastien Bouclet
svn-id: r54629
2010-11-29MOHAWK: Start implementing opcodes using the animated update featureBastien Bouclet
svn-id: r54627
2010-11-29MOHAWK: Added dirty rects support for MystBastien Bouclet
svn-id: r54625
2010-11-29Revert "MOHAWK: Revert the screen cache since it has a huge performance hit, ↵Bastien Bouclet
and is not needed as is." This reverts commit 291bea1858c12b8557aeb46e6f57dc701293c956. svn-id: r54624
2010-11-29MOHAWK: Disabled hotspots are now unclickable areas. Display blue rects for ↵Bastien Bouclet
unreachable zip destinations when drawing resource rects. svn-id: r54615
2010-11-29MOHAWK: Revert the screen cache since it has a huge performance hit, and is ↵Bastien Bouclet
not needed as is. svn-id: r54605
2010-11-28MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)Matthew Hoops
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape. svn-id: r54558
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-25MOHAWK: Cleanup image surface handlingMatthew Hoops
- Renamed ImageData to MohawkSurface - Added offset x/y fields to MohawkSurface - The image cache now stores MohawkSurface pointers - Switched Living Books to 8bpp mode (it requires that in the end anyway) svn-id: r54468
2010-11-22MOHAWK: Fix a typo fail (thanks, fuzzie)Matthew Hoops
svn-id: r54419
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-18MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)Matthew Hoops
svn-id: r54319
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-09MOHAWK: Fix one more memory leak (hopefully the last :))Matthew Hoops
svn-id: r54166
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-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-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-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-19MOHAWK: Draw in the telescope combination in Catherine's journalMatthew Hoops
svn-id: r52215
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-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-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-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-04-19Remove use of global constructors in Mohawk.Matthew Hoops
svn-id: r48731
2010-02-10Add support for the Motion JPEG codec (used in some Myst ME 10th Anniversary ↵Matthew Hoops
videos); minor cleanup. svn-id: r48028
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-22Rename MohawkFile to MohawkArchive and OldMohawkFile to ↵Matthew Hoops
LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new. svn-id: r47429
2010-01-18Fixed assertion when setting non 8-bit cursors in Myst, Masterpiece Edition.Torbjörn Andersson
svn-id: r47358
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