aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.cpp
AgeCommit message (Collapse)Author
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
2010-10-13SCI: Add detection for Hoyle4 MacMatthew Hoops
svn-id: r53397
2010-09-07SCI: Added parentheses inside GfxScreen::isFillMatch() to make the code moreFilippos Karapetis
readable svn-id: r52615
2010-08-02SCI: fixing getting selected languageMartin Kiewitz
for multilingual games svn-id: r51608
2010-08-01SCI: switching to upscaled hires on pc98 gamesMartin Kiewitz
instead of checking the language to be japanese for that svn-id: r51601
2010-08-01SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's ↵Matthew Hoops
used in GK1) svn-id: r51583
2010-07-14SCI: separating qfg1ega and qfg1vga gameidsMartin Kiewitz
svn-id: r50881
2010-07-11SCI: also sync palette after playing movies, fixes kq6 introMartin Kiewitz
svn-id: r50798
2010-07-02SCI: change drawing of fonts, so that we never do triple pixel line ↵Martin Kiewitz
duplications. sierra didn't do this, but it looks much better - "fixes" gk1, kq6 font rendering when running in hires svn-id: r50599
2010-07-02SCI: added possible workaround or final solution for hires portraits not ↵Martin Kiewitz
fully removed from screen in kq6 - needs to get investigated further but this will get a little bit difficult svn-id: r50594
2010-06-30SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵Martin Kiewitz
in gk1 svn-id: r50536
2010-06-29SCI: Rewrap more commentsMax Horn
svn-id: r50500
2010-06-28Remove CRsWillem Jan Palenstijn
svn-id: r50435
2010-06-28SCI: add const again to newWidthMartin Kiewitz
svn-id: r50434
2010-06-28SCI: fix regression of r50424, 2x scalingMartin Kiewitz
svn-id: r50433
2010-06-28SCI: Optimized GfxScreen::scale2x a bitMax Horn
svn-id: r50424
2010-06-28SCI: Comment cleanupMax Horn
svn-id: r50423
2010-06-28SCI: Make src param of GfxScreen::scale2x constMax Horn
svn-id: r50420
2010-06-28SCI: separated the graphics initialization code a bitFilippos Karapetis
- Moved all of the graphics initialization code on startup inside initGraphics() - Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen() svn-id: r50412
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041