aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_graphics.cpp
AgeCommit message (Collapse)Author
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2017-08-12MOHAWK: Myst: Fix incorrect vault instructions using image patchBastien Bouclet
Thanks to dafioram for providing the replacement image. Fixes #10115.
2017-07-22MOHAWK: Myst: Update the screen only once per frameBastien Bouclet
Change all inner loops to call the same frame function. Remove the draw delay code. Now that we have proper frame pacing it is not necessary anymore to wait before drawing to make sure the previous frame stayed on the screen long enough. Fixes #9915, #9922, #9923.
2016-12-10MOHAWK: Poll the events while drawing Myst transitionsBastien Bouclet
Fixes #9594, the mouse cursor was hanging while transitions were drawn.
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.
2016-02-26MOHAWK: Fix the drawing time simulationBastien Bouclet
Was broken when adding transition support. Fixes scripted card changes not displaying for a long enough time.
2016-02-07MOHAWK: Fix two Myst resource stream memory leaksBastien Bouclet
2016-02-07MOHAWK: Use nullptr where applicable in the Myst codeBastien Bouclet
2015-04-11MOHAWK: Run Myst in 8bppMatthew Hoops
2014-02-28IMAGE: Move all ImageDecoders to image/Matthew Hoops
2014-02-18MOHAWK: Make GPL headers consistent in themselves.Johannes Schickel
2012-12-16MOHAWK: Add the remaining Myst transition effectsBastien Bouclet
2012-12-16MOHAWK: Implement most of Myst's transition systemBastien Bouclet
2012-07-29MOHAWK: Remove Myst ME Macintosh "support"Matthew Hoops
The Mac version of Myst ME is actually not Mohawk and is instead closer to the engine used in Myst3.
2012-06-16MOHAWK: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-03-20GRAPHICS: Convert JPEG to the ImageDecoder APIMatthew Hoops
2012-03-20GRAPHICS: Convert PictDecoder to the ImageDecoder APIMatthew Hoops
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops