aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.h
AgeCommit message (Collapse)Author
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
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.
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
2014-11-09SCI: some more work on 480x300 mac supportMartin Kiewitz
2014-06-01SCI: work on SCI0/01 Mac 480x300 scalingMartin Kiewitz
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2012-07-26SCI: Differentiate between screen width and pitchFilippos Karapetis
This properly addresses the odd screen width (630) in Phantasmagoria 1
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-09SCI: Slight cleanup to undithering codeMax Horn
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-29SCI: Limit SCI32 view scaling to when we're actually scalingMatthew Hoops
Fixes bug #3253208
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: 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-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 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-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
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-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-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-06-30SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵Martin Kiewitz
in gk1 svn-id: r50536
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-05-20SCI: adding workaround for some underwater rooms in iceman - removing ↵Martin Kiewitz
visual&priority lines that appear because of non dither mode (would merge with dithered fill color combination normally) svn-id: r49113
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-04-16SCI: support for kanji (sjis), minor centering issue leftMartin Kiewitz
svn-id: r48674
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-02-05SCI: screen specific debug functions are now called directly w/o SciGui/32Martin Kiewitz
svn-id: r47905
2010-02-05SCI: adding some minor documentation for the various graphic classesMartin Kiewitz
svn-id: r47904
2010-02-04SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32Martin Kiewitz
svn-id: r47889
2010-01-31SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32Martin Kiewitz
svn-id: r47781
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-07SCI: fixed save/restorebits within screen class for displayscreen case, ↵Martin Kiewitz
fixes kq6 menu bar svn-id: r47125
2010-01-07SCI: some portrait work (kq6 now shows the main bitmap as portrait, ↵Martin Kiewitz
coordinates still messed up) svn-id: r47105
2010-01-06SCI: sync displayScreen with framebuffer after successful video playback ↵Martin Kiewitz
(fixes background vanishing in mainmenu of gk1demo) svn-id: r47089
2010-01-06SCI: making most of the variables in screen class private (some of it was ↵Martin Kiewitz
needed for old gui) svn-id: r47075
2010-01-05More renamingFilippos Karapetis
svn-id: r47009