aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/graphics.h
AgeCommit message (Collapse)Author
2018-03-31MOHAWK: Fix some clang-tidy warningsBastien Bouclet
2016-06-26MOHAWK: Remap bitmaps not to use undefined colorsBastien Bouclet
The Spanish version of Myst has bitmaps that use palette indices in the system reserved range. Affected pixels previously used colors from the Windows system palette instead of the bitmap's own palette, resulting in visual glitches. Bitmaps are now remapped to the screen palette which is made of the Windows reserved palette and part of the bitmap palette. The original engine used GDI's StretchDIBits with DIB_RGB_COLORS to achieve the same result. Fixes #7153.
2014-02-18MOHAWK: Make GPL headers consistent in themselves.Johannes Schickel
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2011-08-27MOHAWK: Implement fading for Myst DemoBastien Bouclet
2011-08-15MOHAWK: Stub off Riven transition speed codeMatthew Hoops
2011-08-13MOHAWK: Implement Myst demo opcodes 298 and 299, sneak preview speech.Bastien Bouclet
2011-05-14MOHAWK: When running scripts in Myst, add delays when necessary between ↵Bastien Bouclet
draws to mimic older hardware.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-03-29MOHAWK: comment text after #endifAlyssa Milburn
2011-03-28MOHAWK: Allow disabling of Riven compilationMatthew Hoops
2011-03-28MOHAWK: Allow disabling compiling cstimeMatthew Hoops
2011-03-28MOHAWK: Allow disabling compilation of MystMatthew Hoops
2011-03-09MOHAWK: Add initial support for the Riven credits sequenceMatthew Hoops
The credits start too early for a few of the end game sequences, but otherwise works well (minus missing fade support, but that is throughout the game anyway).
2011-01-20MOHAWK: Add CSTime engine.Alyssa Milburn
svn-id: r55362
2011-01-19MOHAWK: Add getSubImageSize function.Alyssa Milburn
svn-id: r55334
2011-01-18GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGBMatthew Hoops
svn-id: r55301
2011-01-11MOHAWK: Allow for Riven to update specific portions of the screenMatthew Hoops
svn-id: r55206
2010-12-25MOHAWK: Add subimage drawing/caching codeAlyssa Milburn
svn-id: r55038
2010-12-17MOHAWK: Remove global construction of _viewportMatthew Hoops
svn-id: r54945
2010-12-17MOHAWK: Change resolution to 544x332 to match the original.Bastien Bouclet
This fixes the vertical alignment issues, and graphic corruption on some cards. svn-id: r54943
2010-12-14MOHAWK: Rework Myst GFX updatesBastien Bouclet
- Initial card state is drawn to the back buffer - Script driven updates are drawn to the front buffer Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly. Fixes among others the generator room lights, and the matchbox. svn-id: r54907
2010-12-12MOHAWK: Implement Myst opcodes 106, 108 and 202 : tower rotationBastien Bouclet
svn-id: r54883
2010-12-02MOHAWK: move shared setPalette/copyImage routines into GraphicsManagerAlyssa Milburn
svn-id: r54743
2010-12-01MOHAWK: add LBGraphics::copyImageSectionToScreenAlyssa Milburn
svn-id: r54707
2010-11-30MOHAWK: don't include livingbooks.h from graphics.hAlyssa Milburn
svn-id: r54670
2010-11-29MOHAWK: Misc cleanupsBastien Bouclet
svn-id: r54645
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-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-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-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-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 telescope combination in Catherine's journalMatthew Hoops
svn-id: r52215
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-04-19Remove use of global constructors in Mohawk.Matthew Hoops
svn-id: r48731
2010-02-16Implement xgwatch so you can now find out the combination to free Catherine.Matthew Hoops
svn-id: r48073
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
2009-12-29Add Mohawk engine code. Part 1/3: main code.Eugene Sandulenko
svn-id: r46727