aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2011-03-06SCI: Fix KQ6 Mac inventory cursorsMatthew Hoops
2011-03-06SCI: Fix Mac SCI1.1 view decompressionMatthew Hoops
A regression from d2ad7898d9
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-05SCI: Cleared up the different view types and ordered them by color countmd5
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Fix Mac icon bar palette match orderMatthew Hoops
2011-03-04SCI: Some palette related changesmd5
- Moved palette color count inside the GfxPalette class - Enabled all of the kPalette subops for 16 color SCI1 games, apart from the ones for intensity palette animation, and palette resource loading - Removed isVGA() and isAmiga32color() methods from the resource manager - they ended up in having inconsistent code
2011-03-04SCI: Cleaned up some view type checksmd5
2011-03-04SCI: Enable fade transitions for SCI1 EGA gamesmd5
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: Added support for 16/32 color view and picture patchesmd5
16 color patches (*.p16 and *.v16) are used in 16 color EGA SCI1 games 32 color patches (*.p32 and *.v32) are used in 32 color Amiga SCI1 games Removed a workaround for SCI1 EGA (bug #3044500), as that bug has been fixed already in the view patch. Thanks to waltervn for observing this.
2011-03-04SCI: Added a comment for the additional code in kDisplaymd5
This extra code that is responsible for changing text placing has been found in SCI1 middle (i.e. LSL1VGA) and newer games
2011-03-04SCI: Amiga SCI1 middle games are actually SCI1 latemd5
This fixes a lot of glitches, caused by the differences between the two versions
2011-03-04SCI: Add fixme for EGA flood fill bug (#3078365)Willem Jan Palenstijn
2011-03-04SCI: Removed a hack for SCI1 Amiga games in setOnScreen()md5
2011-03-04SCI: Amiga SCI1 middle games use the new PC SCI1 late transition effectsmd5
2011-03-02SCI: Always add new windows to back of list up to SCI_1_EGA_ONLY.Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman and QfG2. Hoyle3-demo remains an exception.
2011-03-02SCI: Call Graph(RedrawBox) from EndUpdate for SCI0/01Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman, and that it isn't present in QfG2 and KQ5CD. This fixes the graphics glitch in KQ4 when falling down the stairs in room 61 (#3039775).
2011-03-02Revert "SCI: Fixed bug #3039775 - "KQ4: Graphics glitch [...]""Willem Jan Palenstijn
This reverts commit 74e99328ec0fa43074c52b69d21922407153a1aa. SSCI takes care of this issue in a different manner, which the next commit emulates.
2011-03-02SCI: Fixed bug #3040161 - "LONGBOW: Textbox glitch"md5
GetLongest() could exceed the maximum width with the very last character of a word. The same fix has been applied to the SCI32 code.
2011-03-02SCI: Fixed text positioning in the credits screen of Dr. Brain Amigamd5
The additional text positioning code in kDisplay was added in SCI1 middle, not SCI1 late. Also, did some slight cleanup
2011-03-02SCI: Fixed bug #3039775 - "KQ4: Graphics glitch in the mansion tower"md5
2011-03-02SCI: Fix variable nameWillem Jan Palenstijn
2011-03-02SCI: Change workaround for hoyle3-demo's rendering orderWillem Jan Palenstijn
This behaviour much more closely matches SSCI.
2011-02-28SCI: Skip Ports when iterating over Windows in GCWillem Jan Palenstijn
2011-02-28SCI: Moved hunk pointer handling to the GC, and removed some related workaroundsmd5
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this.
2011-02-27SCI: Fix negative window origin alignment.Willem Jan Palenstijn
SSCI does a shr 1; shl 1 here in SetOrigin. This fixes a crash in the ending scene of SQ3 (#3194199).
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-26SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside ↵md5
the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this)
2011-02-26SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if ↵md5
it happens in the original version
2011-02-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32
2011-02-26SCI: Slight cleanup in the animate codemd5
2011-02-24SCI: Added a workaround for script bug #3044500 - "SQ1EGA: Skimmer-Buyer ↵md5
Dialogue Portrait Backwards Anim"
2011-02-23SCI: Don't name a variable the same as its functionMatthew Hoops
Silences a gcc warning
2011-02-23SCI: Added a workaround for bug #3036763 - "HOYLE3 Demo: Bad Dialog Priorities"md5
2011-02-23SCI: Cleaned up and segmented the animate code in order to make it a bit ↵md5
more readable
2011-02-23SCI: Fixed bug #3049515 - "MOTHERGOOSE CD: Tommy Tucker lock-up"md5
2011-02-21SCI: Fixed freddy's Mac icon bar palettesMatthew Hoops
(hopefully for good now)
2011-02-21SCI: Fix disabled Mac icon pseudo-shadingMatthew Hoops
2011-02-20SCI: Add support for enabling/disabling Mac icon bar imagesMatthew Hoops
2011-02-20SCI: Cache all icon bar images from the startMatthew Hoops
2011-02-20SCI: Slight cleanupmd5
2011-02-20GRAPHICS: Switch PICT's palette from RGBA to RGBMatthew Hoops
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-18SCI: Fix compilation using MSVC 9strangerke
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.