aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.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-09-27SCI: Remove old SCI32 view scaling code from SCI16 graphics codeColin Snover
2017-03-27SCI: Implement bounds-checked reads of game resourcesColin Snover
2016-11-02SCI: Remove old SCI32 hires detection heuristicColin Snover
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-08-19SCI32: Implement kShakeScreen for SCI32Colin Snover
2016-08-19SCI32: Remove GfxScreen from SCI32Colin Snover
2016-08-19SCI32: Remove GfxScreen from GfxFrameoutColin Snover
Only cursor remains to be updated to go through GfxFrameout, and then we can let GfxScreen go back to being SCI16-only.
2016-02-06SCI: Screen pixel optimizationsMartin Kiewitz
Put things like putPixel() into screen.h, so that it can be inlined. Also don't use look up tables for those methods anymore and instead calculate offsets manually, because that should be faster.
2016-02-06SCI: Fix bits size calculation for upscaled hiresMartin Kiewitz
in screen class (calculating how many bytes are needed to save a specified area of various screen maps)
2016-02-06SCI: Implement kernelSyncWithFramebuffer using copyFromScreen.Johannes Schickel
2016-02-06SCI: Properly use pitch in GfxScreen::copyFromScreen.Johannes Schickel
2016-01-22SCI32: PQ4 seems to support high resolution tooMartin Kiewitz
2016-01-22SCI: add user option for high resolution graphicsMartin Kiewitz
Instead of choosing Windows as platform, users can now also simply click this option for Gabriel Knight 1 + King's Quest 6 Defaults to high resolution graphics
2015-05-03SCI: Clarify function nameWillem Jan Palenstijn
2015-04-26SCI: restore: clear screen when restoringMartin Kiewitz
primarily to clear kPortrait graphics in kq6 when restoring during portrait animation
2015-01-07SCI: Fix Mac games with a height of 190Matthew Hoops
A regression from 72e6a9eeab1082892e5d77fabc4f0b50f839615a
2014-12-24SCI: Silence a gcc warningMatthew Hoops
2014-11-09SCI: Phantasmagoria actually outputs 630x450 nowMartin Kiewitz
clipping of video output was required
2014-11-09SCI: some more work on 480x300 mac supportMartin Kiewitz
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-06-08SCI: fix coordination translation for 480x300 macMartin Kiewitz
2014-06-02SCI: fix regression introduced by 480x300 commitMartin Kiewitz
fix EGA graphic corruption
2014-06-01SCI: work on SCI0/01 Mac 480x300 scalingMartin Kiewitz
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-21SCI: fix for heap corruption during lsl3 endingm-kiewitz
2013-08-03SCI: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SCI: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-05-01SCI: Fix a non-initialized variable in GfxScreen - CID 1003105Filippos Karapetis
2012-07-26SCI: Differentiate between screen width and pitchFilippos Karapetis
This properly addresses the odd screen width (630) in Phantasmagoria 1
2012-07-06SCI: Better handling for Phantasmagoria's odd screen sizeFilippos Karapetis
Still not right, as the width isn't set
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-07-01GRAPHICS: Remove default values from FontSJIS::drawChar.Johannes Schickel
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls.
2011-06-04SCI: Set Mac versions of LSL1 and LSL5 to screen height 190.Walter van Niftrik
This fixes bug #3310782. However, as I was unable to get the games working in a Mac emulator, this is an educated guess at this point.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-09SCI: Fix warning about potential strict-aliasing rules violationMax Horn
2011-05-09SCI: Slight cleanup to undithering codeMax Horn
2011-04-13SCI: Remove left-over fixme commentWillem Jan Palenstijn
It should have been removed in b40b87fdb5b4ee869cce55d852af409896b20c98
2011-03-30SCI: Minor cleanupMatthew Hoops
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-25SCI: Add two TODOsdhewg
2011-03-14SCI: Fix the screen height of SQ1 MacMatthew Hoops
2011-03-10SCI: Some renaming related to the undithering codemd5
Renamed some variables, functions and comments related to the undithering code, to make them a bit easier to understand
2011-03-04SCI: Cleaned up some view type checksmd5
2011-03-04SCI: Fix flood fill matching in EGA modeWillem Jan Palenstijn
In EGA games a pixel in the framebuffer is only 4 bits. We store a full byte per pixel to allow undithering, but when comparing pixels for flood-fill purposes, we should only compare the visible color of a pixel. This fixes bug #3078365 in Iceman.
2011-03-04SCI: Add fixme for EGA flood fill bug (#3078365)Willem Jan Palenstijn
2011-02-18SCI: Fix window height for some Mac SCI1/1.1 gamesMatthew Hoops
Some games have removed the menu bar from the screen. This also fixes King's Quest V's icon bar.
2011-02-17SCI: Fix Mac icon bar vertical positioningMatthew Hoops
2011-02-17SCI: Fix Mac icon bar palettesMatthew Hoops
The Mac icon bar uses a palette from the executable and keeps those entries in the palette constantly. In addition, we're now performing gamma correction on the Mac-based colors so that they are in the same gamma as SCI. The color matching now works with this and using the same color finding as the Mac Palette Manager.