aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/view.cpp
AgeCommit message (Collapse)Author
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
2010-07-24SCI: kCelWide/kCelHigh now adjust on hires viewsMartin Kiewitz
somewhat fixes gk1 hires inventory issue svn-id: r51245
2010-06-30SCI: remove some duplicate codeMartin Kiewitz
svn-id: r50535
2010-06-30SCI: support for hires views in gk1Martin Kiewitz
svn-id: r50533
2010-06-29Handle empty clip rectangles in GfxView::drawScaled(). Fixes an assert in ↵Filippos Karapetis
the first room of the game svn-id: r50503
2010-06-28SCI: updated comment about transparent pixels in viewsMartin Kiewitz
svn-id: r50454
2010-06-28SCI: fix regression of r50422, please no refactoring without proper testing ↵Martin Kiewitz
- fixes animations in all sorts of games svn-id: r50451
2010-06-28SCI: Cleanup GfxView code (formatting etc.); also insert some asserts to ↵Max Horn
protect scalingX/Y arrays svn-id: r50425
2010-06-28SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfoMax Horn
The return value of GfxView::getCelInfo was used virtually everywhere without a check for it being non-NULL. Hence instead of returning NULL when the loop count is zero, it makes more sense to assert out (instead of a segfault, or worse, random data being used). svn-id: r50422
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-27SCI: Fix for large views in GK2. At least it does not segfault now.Lars Skovlund
svn-id: r50376
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