aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/picture.cpp
AgeCommit message (Collapse)Author
2010-06-23SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 ↵Martin Kiewitz
has a broken picture 0 resource, which would result in either crash or at least bad read from memory depending on whats read there svn-id: r50178
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-05-26SCI: adding another workaround for picture 376 in sq4/cd (same issue like ↵Martin Kiewitz
originally found in r49216) svn-id: r49247
2010-05-26SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 ↵Martin Kiewitz
games introduced by r49216 svn-id: r49238
2010-05-25SCI: adding comment about error() on pattern opcodes sci1.1+Martin Kiewitz
svn-id: r49217
2010-05-25SCI: error out on pattern opcodes inside vector data when drawing pictures ↵Martin Kiewitz
in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4 svn-id: r49216
2010-05-25SCI: sci1.1 uses hardcoded white for picture cel data instead of the value ↵Martin Kiewitz
specified in header - fixes pixel glitches in island of dr. brain title, sq4 title and qfg3 room during intro svn-id: r49213
2010-05-25SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in ↵Martin Kiewitz
island of dr. brain intro svn-id: r49212
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: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-05-14SCI: if no priority is set (=255) and a cel is embedded in picture vector ↵Martin Kiewitz
data -> set priority to 0, fixes kq5/amiga - first scene not showing svn-id: r49029
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-06SCI: added plane coordinate adjustment code for sci32 when drawing pictures, ↵Martin Kiewitz
put everything into GfxCoordAdjuster svn-id: r47939
2010-02-05SCI: renamed SciGuiPicture to GfxPictureMartin Kiewitz
svn-id: r47899
2010-02-03SCI: fixing picture corruption in sci32 (e.g. sq6 picture 430, kq7 after intro)Martin Kiewitz
svn-id: r47866
2010-02-02SCI: some sort of priority support for sci32 (not working right, but at ↵Martin Kiewitz
least the menu in gk1 now correctly shows up) svn-id: r47814
2010-02-01Skip extra pixels at the end of each row in the cel so that they don't carry ↵Matthew Hoops
over to the next row if the dest width is less than the source width. Fixes several images in Mixed-Up Mother Goose (SCI1). svn-id: r47788
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-31SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, ↵Martin Kiewitz
gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui svn-id: r47745
2010-01-29SCI: added new SciGui32 class, Gfx class needs some work though and ↵Martin Kiewitz
hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top svn-id: r47679
2010-01-26SCI: changed flags (uint16) to force (bool) for set/merge palette methodsMartin Kiewitz
svn-id: r47578
2010-01-25SCI: fixing skipping over dummy VGA palettes in amiga gamesMartin Kiewitz
svn-id: r47555
2010-01-25SCI: created isAmiga32color(), using this method instead of comparing ↵Martin Kiewitz
against viewType svn-id: r47554
2010-01-25SCI: changed comment about amiga palette inside picture class (removed TODO ↵Martin Kiewitz
as well) svn-id: r47553
2010-01-25SCI: support for amiga pictures that change the paletteMartin Kiewitz
svn-id: r47552
2010-01-25SCI: support for both amiga "palettes" (one is a left-over VGA palette, the ↵Martin Kiewitz
other one is a real palette, no idea whats in there cause its just 32 bytes instead of 64 bytes) svn-id: r47551
2010-01-24SCI: skip over amiga palette inside pictures for now, needs implementation ↵Martin Kiewitz
(TODO added) svn-id: r47527
2010-01-19SCI: implemented priority bands support for sci1.1 picture resources, fixed ↵Martin Kiewitz
lb2, kq6 svn-id: r47380
2010-01-09SCI: added new debug command "picture_visualize", which enables ↵Martin Kiewitz
visualization of the drawing process of EGA pictures svn-id: r47201
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-05SCI: remove lowres limit from picture class, makes hires sci32 pictures workMartin Kiewitz
svn-id: r47041
2010-01-05SCI: sci32 pictures are now fully drawn to screen (including all layers)Martin Kiewitz
svn-id: r47025
2010-01-05More renamingFilippos Karapetis
svn-id: r47009