aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/picture.cpp
AgeCommit message (Collapse)Author
2011-04-02SCI: Fix Mac SCI32 picture transparencyMatthew 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-07SCI: Initial handling of the views in Longbow Amiga. Still not rightmd5
2011-03-06SCI: Silence GCC warningeriktorbjorn
2011-03-06SCI: Merged the cel data unpacking code for views and picturesmd5
2011-03-06SCI: Some changes to picture drawingmd5
- Fixed picture drawing for Longbow Amiga (view drawing is still wrong, though) - Added debug output for picture drawing
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-02-05SCI: Fix SCI32 Mac picture palettesMatthew Hoops
The palette offset should be 32-bit, not 16. The GK1 Mac intro now plays properly. svn-id: r55784
2011-02-02SCI: Fix SCI32 Mac picturesMatthew Hoops
svn-id: r55724
2010-12-01SCI: Fixed bugs #3041044, #3046543 and #3046513Filippos Karapetis
svn-id: r54690
2010-11-05SCI: Add a default case to a switch statement to silence some compiler warnings.Johannes Schickel
svn-id: r54078
2010-11-04SCI: adding force to memorial area for SQ3/introMartin Kiewitz
makes the view getting fully undithered svn-id: r54068
2010-09-07SCI: Slight change in GfxPicture::vectorFloodFill()Filippos Karapetis
Changed bitwise XOR operations to bitwise NOT AND, to make the code a bit easier to understand svn-id: r52614
2010-08-16SCI: sci1.1 pictures w/o cel don't set paletteMartin Kiewitz
even if one is present in the picture, fixes some transitions looking weird in eq2 - bug #3037126 svn-id: r52125
2010-07-28SCI: adding header comments about sci1.1 picturesMartin Kiewitz
also fixing some of the offsets (those are DWORD instead of just WORDs) svn-id: r51415
2010-07-28SCI: priority handling for sci1.1 add-picturesMartin Kiewitz
fixes battle cruiser mini game in sq5 (at least we get something displayed now) svn-id: r51414
2010-07-27SCI: sci1.1 priority bands now changing in kDrawPicMartin Kiewitz
fixes qfg3: right guard on top of the palace having wrong priority fixes sq5 and all sorts of sci1.1 games: when loading wrong priority for some actors that fixed itself after one frame svn-id: r51397
2010-07-26SCI: adding scrollcapability to sci32Martin Kiewitz
svn-id: r51313
2010-07-26SCI: some scrolling support for sci32Martin Kiewitz
not fully done yet svn-id: r51308
2010-07-24SCI: locking picture resourceMartin Kiewitz
fixes sq6 crashing with resource data NULL pointer svn-id: r51240
2010-07-22SCI: fixing mirrored sci32 picturesMartin Kiewitz
fixes lsl6, also slight cleanup and adding comments about sci32 picture resources svn-id: r51162
2010-07-22SCI: some more work on priority sci32Martin Kiewitz
svn-id: r51139
2010-07-22SCI: some work on priority in sci32Martin Kiewitz
svn-id: r51134
2010-07-21SCI: terminating at another resource of sq4cdMartin Kiewitz
contains broken data as well, room 35 svn-id: r51103
2010-07-21SCI: fixing hires background pictures sci2.1Martin Kiewitz
svn-id: r51086
2010-07-13SCI: adding comment about GfxPicture::draw() and picture resource formatsMartin Kiewitz
svn-id: r50846
2010-07-13SCI: change handling of priority in combination with embedded cels inside ↵Martin Kiewitz
picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car) svn-id: r50845
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
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