aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/view.cpp
AgeCommit message (Collapse)Author
2012-07-25SCI: Rewrite the color remapping code to support simultaneous effectsFilippos Karapetis
Fixes the torch in the full version of QFG4
2012-07-24SCI: More work on color remappingFilippos Karapetis
More transparency/color mapping effects are now working (e.g. the flashlight at the Gedde tomb in GK1, the rays of light at Schloss Ritter in GK1, the torch in the QFG4 demo and the shadows in QFG4, PQ4 and KQ7)
2012-07-24SCI: Initial implementation of kRemapColors(kRemapByPercent)Filippos Karapetis
Fixes some graphics glitches in the QFG4 demo and the menus of QFG4, by implementing one of the transparency effects used mainly in SCI32. Many thanks to fuzzie for her debugging info on QFG4 demo and to wjp for his great help on the dissassembly
2012-05-11SCI: Fix bug #3040625 - "SCI: ECOQUEST French/German: Speech balloon graphic ↵Filippos Karapetis
glitch" This bug is caused by the fact that the sprites in that scene and the speech bubble share the same priority, so we compensate for that with a workaround
2011-11-16SCI: Add support for slater macMatthew Hoops
2011-10-20SCI: Added a hack to fix bug #3035693 - "SCI: QFG3 demo: Rope swinging more ↵Filippos Karapetis
heroic than ever"
2011-10-12SCI: Implementation of kCelInfo subop 4Heather Douglass
kCelInfo subop 4 returns the pixel color at the passed in x,y coordinates for the passed in view, loop, cel. Shivers uses this function for the red door puzzle, room 23601 to determine what blocks on the puzzle board are already occupied by pieces.
2011-09-26SCI: Code formattingFilippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-12SCI: Treat all priorities above 15 as noneWillem Jan Palenstijn
Before only 255 was treated this way. This fixes part of the broken dialog boxes in Jones CD (bug #3297111) which use priority 254, and matches Jones CD disassembly.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-30SCI: Minor cleanupMatthew Hoops
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: Fix uncompressed SCI1.1 viewsMatthew Hoops
A regression from d2ad7898d93
2011-03-10SCI: Made some checks inside unditherBitmap() more understandablemd5
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-09SCI: Whitespace fixesmd5
2011-03-09SCI: Some cleanup and fixes to the view unpacking codemd5
- Added comments for all the different view unpacking algorithms - Merged the SCI1 VGA and SCI1.1 VGA unpacking code - Fixed views in Longbow Amiga (the palette is still broken, though) - Used memset()/memcpy() instead of looping through - Fixed a regression of rev. d2ad789 (LSL1 Spanish, bug #3135872)
2011-03-07SCI: Initial handling of the views in Longbow Amiga. Still not rightmd5
2011-03-06SCI: Fix Mac SCI1.1 view decompressionMatthew Hoops
A regression from d2ad7898d9
2011-03-06SCI: Merged the cel data unpacking code for views and picturesmd5
2011-03-04SCI: Cleaned up some view type checksmd5
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-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: Added a TODO concerning the workaround for SQ1EGA, as we don't know if ↵md5
it happens in the original version
2011-02-24SCI: Added a workaround for script bug #3044500 - "SQ1EGA: Skimmer-Buyer ↵md5
Dialogue Portrait Backwards Anim"
2011-02-20SCI: Slight cleanupmd5
2011-02-10SCI: Fix Mac SCI1 view transparencyMatthew Hoops
This was a regression from r55825. svn-id: r55868
2011-02-08SCI: Add detection for Freddy Pharkas MacMatthew Hoops
svn-id: r55828
2011-02-08SCI: Do not flip clearKey for Mac SCI1.1+ views.Walter van Niftrik
svn-id: r55825
2011-02-08SCI: Fix Mac SCI1.1+ view white/black/transparencyMatthew Hoops
Since Mac OS required black to be at 0xff and white to be at 0x00, the original Sierra programs had to hack around that in various sections of the code to keep things in line with the PC versions. We're changing the view pixels instead so we only have to change in one location. svn-id: r55823
2011-02-02SCI: Fix GK1 Mac scalingMatthew Hoops
svn-id: r55744
2011-02-02SCI: Fix GK1 Mac views, the game now startsMatthew Hoops
svn-id: r55721
2011-02-01SCI: Fix SCI1.1+ Mac views with uint16 rle lengths (thanks, Walter)Matthew Hoops
svn-id: r55705
2010-12-15SCI: Fixed View Cel RLE Decoding when RLE Code 0x40 is used (Corrects Bug ↵David Turner
#3135872 "LSL1VGA: "Pause Game" problem") In the copy case, the runLength can be up to 127, not 64 i.e. the LSB of the RLE code forms part of the runLength. svn-id: r54924
2010-11-20SCI: Some minor fixes for Phantasmagoria 2 (which doesn't work at all, since ↵Filippos Karapetis
it has some differences in its views) svn-id: r54390
2010-10-26SCI: fix gfx issues when giving out cards hoyle4Martin Kiewitz
bit 2 actually triggers special drawing of cels in sierra sci svn-id: r53855
2010-10-15SCI: fixing iceman undithering door close-upMartin Kiewitz
room 9 (go up right at the start) svn-id: r53522
2010-10-15SCI: updating comment for r53515Martin Kiewitz
svn-id: r53517
2010-10-15SCI: fixing view-undithering for laura bow 1Martin Kiewitz
(cupboards in room 43, just in the room to the left from the start) svn-id: r53515
2010-08-19SCI: disabling EGA mapping after sci1egaMartin Kiewitz
fixes vga conversion games graphic glitches, some views have bad mapping tables svn-id: r52218
2010-08-10SCI: improving comment about r51955Martin Kiewitz
svn-id: r51956
2010-08-10SCI: adding displaceY adjust for sci1.1 viewsMartin Kiewitz
sierra sci did this in their getCelRect(), we are doing it while loading, fixes laura bow not appearing in taxi (bug #3041220) svn-id: r51955
2010-08-02SCI: adding non-scaleable view capabilityMartin Kiewitz
fixes laura bow 2 (especially floppy but CD is also affected somewhat by this) svn-id: r51660
2010-08-01SCI: fixing regression of r51520Martin Kiewitz
svn-id: r51580
2010-07-31SCI: adjusting inside view::getCelRect for sci0earlyMartin Kiewitz
fixes cels being placed wrongly, sci0early didnt have the z adjust. svn-id: r51537
2010-07-31SCI: fixing stupid typoMartin Kiewitz
svn-id: r51533
2010-07-30SCI: fixing view scaling codeMartin Kiewitz
fixes crash in sq5 with elevator on goliath svn-id: r51520
2010-07-25SCI: using coordadjuster in GfxViewMartin Kiewitz
svn-id: r51276