Commit graph

87 commits

Author SHA1 Message Date
Martin Kiewitz
e1bc084547 SCI: fixing hires background pictures sci2.1
svn-id: r51086
2010-07-21 13:13:55 +00:00
Martin Kiewitz
b97ef271c7 SCI: adding comment about GfxPicture::draw() and picture resource formats
svn-id: r50846
2010-07-13 15:46:21 +00:00
Martin Kiewitz
d2b47ee775 SCI: change handling of priority in combination with embedded cels inside picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car)
svn-id: r50845
2010-07-13 15:42:59 +00:00
Max Horn
6ee82a2027 SCI: Introduce SciGameId enum
svn-id: r50273
2010-06-25 16:16:29 +00:00
Martin Kiewitz
f0145e6dcd SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 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-23 11:47:14 +00:00
Max Horn
359be0c066 SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
2010-06-17 23:14:34 +00:00
Martin Kiewitz
2fa8ac0575 SCI: adding another workaround for picture 376 in sq4/cd (same issue like originally found in r49216)
svn-id: r49247
2010-05-26 17:15:49 +00:00
Martin Kiewitz
1a01caece7 SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 games introduced by r49216
svn-id: r49238
2010-05-26 13:24:32 +00:00
Martin Kiewitz
71436c5a86 SCI: adding comment about error() on pattern opcodes sci1.1+
svn-id: r49217
2010-05-25 18:48:50 +00:00
Martin Kiewitz
aa8c6377a5 SCI: error out on pattern opcodes inside vector data when drawing pictures in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4
svn-id: r49216
2010-05-25 18:45:25 +00:00
Martin Kiewitz
2502038e73 SCI: sci1.1 uses hardcoded white for picture cel data instead of the value specified in header - fixes pixel glitches in island of dr. brain title, sq4 title and qfg3 room during intro
svn-id: r49213
2010-05-25 12:53:35 +00:00
Martin Kiewitz
5317b8195d SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in island of dr. brain intro
svn-id: r49212
2010-05-25 12:04:32 +00:00
Martin Kiewitz
a0db16294a SCI: adding workaround for some underwater rooms in iceman - removing visual&priority lines that appear because of non dither mode (would merge with dithered fill color combination normally)
svn-id: r49113
2010-05-20 05:48:37 +00:00
Martin Kiewitz
59a255226f SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum GFX_SCREEN_UPSCALED_*
svn-id: r49039
2010-05-15 08:57:13 +00:00
Martin Kiewitz
94f1af2b44 SCI: if no priority is set (=255) and a cel is embedded in picture vector data -> set priority to 0, fixes kq5/amiga - first scene not showing
svn-id: r49029
2010-05-14 11:49:09 +00:00
Max Horn
903b694574 SCI: Cleanup resource.h
svn-id: r48084
2010-02-17 23:37:32 +00:00
Martin Kiewitz
4cae2b13e2 SCI: added plane coordinate adjustment code for sci32 when drawing pictures, put everything into GfxCoordAdjuster
svn-id: r47939
2010-02-06 19:35:51 +00:00
Martin Kiewitz
3ad4433adf SCI: renamed SciGuiPicture to GfxPicture
svn-id: r47899
2010-02-05 12:14:03 +00:00
Martin Kiewitz
d09d37ff4e SCI: fixing picture corruption in sci32 (e.g. sq6 picture 430, kq7 after intro)
svn-id: r47866
2010-02-03 22:05:22 +00:00
Martin Kiewitz
714665f9d9 SCI: some sort of priority support for sci32 (not working right, but at least the menu in gk1 now correctly shows up)
svn-id: r47814
2010-02-02 16:25:35 +00:00
Matthew Hoops
313b531d56 Skip extra pixels at the end of each row in the cel so that they don't carry 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-02-01 00:53:13 +00:00
Martin Kiewitz
72c2d360f7 SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz
7929255cd9 SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
svn-id: r47745
2010-01-31 12:35:15 +00:00
Martin Kiewitz
a800855bf4 SCI: added new SciGui32 class, Gfx class needs some work though and hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top
svn-id: r47679
2010-01-29 21:30:46 +00:00
Martin Kiewitz
e0d05a482c SCI: changed flags (uint16) to force (bool) for set/merge palette methods
svn-id: r47578
2010-01-26 22:45:52 +00:00
Martin Kiewitz
6bd6bc4bad SCI: fixing skipping over dummy VGA palettes in amiga games
svn-id: r47555
2010-01-25 17:09:31 +00:00
Martin Kiewitz
5fa0718356 SCI: created isAmiga32color(), using this method instead of comparing against viewType
svn-id: r47554
2010-01-25 12:34:40 +00:00
Martin Kiewitz
e7e0810c9c SCI: changed comment about amiga palette inside picture class (removed TODO as well)
svn-id: r47553
2010-01-25 11:26:32 +00:00
Martin Kiewitz
9f1962d006 SCI: support for amiga pictures that change the palette
svn-id: r47552
2010-01-25 11:15:40 +00:00
Martin Kiewitz
8d12d84609 SCI: support for both amiga "palettes" (one is a left-over VGA palette, the 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-25 10:17:55 +00:00
Martin Kiewitz
afcfa58f59 SCI: skip over amiga palette inside pictures for now, needs implementation (TODO added)
svn-id: r47527
2010-01-24 21:46:30 +00:00
Martin Kiewitz
cf57f817b2 SCI: implemented priority bands support for sci1.1 picture resources, fixed lb2, kq6
svn-id: r47380
2010-01-19 14:26:21 +00:00
Martin Kiewitz
a815d0e12a SCI: added new debug command "picture_visualize", which enables visualization of the drawing process of EGA pictures
svn-id: r47201
2010-01-09 14:09:45 +00:00
Martin Kiewitz
7d7d23ce2b SCI: making most of the variables in screen class private (some of it was needed for old gui)
svn-id: r47075
2010-01-06 13:05:14 +00:00
Martin Kiewitz
8bafb71df3 SCI: remove lowres limit from picture class, makes hires sci32 pictures work
svn-id: r47041
2010-01-05 20:52:19 +00:00
Martin Kiewitz
b2fd2a8310 SCI: sci32 pictures are now fully drawn to screen (including all layers)
svn-id: r47025
2010-01-05 13:51:47 +00:00
Filippos Karapetis
d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00
Renamed from engines/sci/graphics/gui_picture.cpp (Browse further)