aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.cpp
AgeCommit message (Collapse)Author
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.
2011-02-08SCI: Add detection for Freddy Pharkas MacMatthew Hoops
svn-id: r55828
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
2011-02-03SCI: Disable the special QFG1 Mac icon barMatthew Hoops
The original interpreter completely ignores it in favor of the regular one. svn-id: r55748
2011-02-02SCI: Fix GK1 Mac views, the game now startsMatthew Hoops
svn-id: r55721
2011-01-09SCI: CleanupFilippos Karapetis
svn-id: r55182
2010-11-11SCI: Some video related changesFilippos Karapetis
- Now playVideo() is used when playing videos from the console (reducing code duplication) - Added support for 16bpp scaling in scale2x, so that the 16-bit color Duck videos are scaled correctly svn-id: r54210
2010-11-04SCI: adding force to memorial area for SQ3/introMartin Kiewitz
makes the view getting fully undithered svn-id: r54068