aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2010-11-05GRAPHICS/SJIS: cleanupFlorian Kagerer
svn-id: r54099
2010-11-05GRAPHICS/SJIS: fix out of bounds shadow mode text drawingFlorian Kagerer
svn-id: r54080
2010-11-05SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawingFlorian Kagerer
(could cause invalid memory access in MI1) svn-id: r54079
2010-11-04VIDEO: PreIMD: End frame when frameSize == 0Sven Hesse
As happens for the last frame in the first video of the Fascination intro. svn-id: r54072
2010-10-27TOON: fix some evaluation order bugs in smacker decoderFlorian Kagerer
These bugs would cause crashs in MSVC 2008/2010 release builds. svn-id: r53893
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-19SCUMM/FM-TOWNS JAPANESE: implement flipped textFlorian Kagerer
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616
2010-10-17GRAPHICS: enable sjis code for scumm engineFlorian Kagerer
svn-id: r53555
2010-10-17SCUMM/FM-TOWNS: more improvements to japanese font drawingFlorian Kagerer
- made use of LordHotos graphics/sjis code to reduce code duplication - japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.) svn-id: r53554
2010-10-15GRAPHICS: Fix code analysis warningsSven Hesse
See bug report #3087917 svn-id: r53493
2010-10-15VIDEO : Corrections to QDM2 codec for bug #3087917 "Code Analysis Warnings"David Turner
The first correction was to use a temporary variable to remove the possibility of a memory leak when using realloc. The second correction was to remove the gain variable from QDM2Stream::qdm2_calculate_fft() which has always evaluated to 1.0f and so has no effect. svn-id: r53489
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-10-10GRAPHICS: Turn static AviDecoder methods into local funcsMax Horn
svn-id: r53141
2010-10-09VIDEO: Remove useless references in handleAudioTrack functionSylvain Dupont
svn-id: r53091
2010-10-08VIDEO: Factor out handleAudioTrack() to be used by Toons engineEugene Sandulenko
svn-id: r53086
2010-10-01GRAPHICS: Add BPP check to Surface::move.Johannes Schickel
svn-id: r52968
2010-10-01GRAPHICS: Cleanup.Johannes Schickel
svn-id: r52967
2010-10-01SCUMM/FM-TOWNS: fix palette and other graphics issuesFlorian Kagerer
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891. The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1). Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame. This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode). Japanese font drawing hasn’t been improved much yet. This will be a separate task. svn-id: r52966
2010-09-30GOB: Make GCC happier.Torbjörn Andersson
svn-id: r52956
2010-09-30VIDEO: Interpolate U and V valuesSven Hesse
svn-id: r52955
2010-09-30VIDEO: Allow for Indeo3'd VMDsSven Hesse
svn-id: r52954
2010-09-30VIDEO: Allow for scaled Indeo3 framesSven Hesse
svn-id: r52953
2010-09-29IPHONE: The overlay will now always be in the native device resolutionOystein Eftevaag
svn-id: r52939
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-12VIDEO: Fix rounding the Smacker frame rateMatthew Hoops
_frameRate is now stored using Common::Rational instead of uint32. svn-id: r52689
2010-09-10GRAPHICS: Improve PICT supportMatthew Hoops
PICT images of <8bpp are now supported and paletted images now work when the PixelFormat passed is not 1Bpp. svn-id: r52671
2010-09-07COMMON: Remove Rational::operator int/doubleWillem Jan Palenstijn
This prevents accidental implicit rounding and might also fix compilation on AmigaOS4 (bug #3060981). svn-id: r52616
2010-09-06VIDEO: Skip multiple tags in a QuickTime stsd entryMatthew Hoops
Fixes crashes when playing two videos in Riven DVD (card 262). Note that the videos still don't display properly because of a bug in QTRLE 16bpp. For the record, FFmpeg doesn't handle this properly either. svn-id: r52603
2010-09-06VIDEO: Apply patch #3057924 with some changesMatthew Hoops
Patch #3057924 is "QuickTimeDecoder: Scaling x and y separately". Thanks to kreegee for the patch and fuzzie for fixing a couple bugs with it. svn-id: r52594
2010-09-02JANITORIAL: Remove extra semi-colons.Torbjörn Andersson
svn-id: r52489
2010-08-27VIDEO: Change decodeImage() around a bit, plug a leakSven Hesse
Indeo3Decoder::decoderImage() was leaking inData svn-id: r52408
2010-08-25GUI: Fixed bug #2505686: "GUI: minor artifacts in rounded corners"Eugene Sandulenko
It is practically not possible to get rid of those completely due to rounding errors with 16-bit surface. svn-id: r52367
2010-08-21GRAPHICS: Extend Surface::fill() method to support 32bits. Looks uglyEugene Sandulenko
svn-id: r52268
2010-08-09LEGAL: Add COPYING.BSD fileTorbjörn Andersson
Reword the disclaimer at the top of COPYING.LGPL, as it sounds a bit awkward to me. Move the BSD-like license to the top of mpeg_player.cpp (it still points out that only parts of the file are under that license) because that's where COPYING.BSD tells the reader to look. svn-id: r51939
2010-08-08VIDEO: That should fix compilation with MSVCSven Hesse
svn-id: r51931
2010-08-08VIDEO: Cinepak cleanupMatthew Hoops
svn-id: r51928
2010-08-08VIDEO: Use tag2strSven Hesse
svn-id: r51927
2010-08-08VIDEO: Fixing typos ("Unknow" -> "Unknown")Sven Hesse
svn-id: r51926
2010-08-08VIDEO: Remove the now obsolete CoktelVideo classesSven Hesse
svn-id: r51924
2010-08-08VIDEO: Use proper palettes in CoktelDecoderSven Hesse
Not just the 6 bits per color component used in VGA svn-id: r51921
2010-08-08VIDEO: Set _paletteDirty in VMDDecoder::load() when there is an initial paletteSven Hesse
svn-id: r51920
2010-08-08VIDEO: Change the mixer parameter from a reference to a pointerSven Hesse
To match the other VideoDecoder classes with sound support. svn-id: r51919
2010-08-08VIDEO: Make CoktelDecoder::getFrameCoords() virtualSven Hesse
Like it should have been in the first place... Fixes Woodruff slot-VMD positions. svn-id: r51917
2010-08-08VIDEO: Implement VMD subtitlesSven Hesse
svn-id: r51915
2010-08-08VIDEO: Implement VMDDecoder::setXY()Sven Hesse
svn-id: r51912
2010-08-08VIDEO/GOB: Implement and use CoktelDecoder::getFrameCoords()Sven Hesse
svn-id: r51909
2010-08-08VIDEO: Fix a failed assertion in VMDDecoder::readFiles()Sven Hesse
svn-id: r51908
2010-08-08VIDEO: Implement CoktelDecoder::renderBlockRLE()Sven Hesse
svn-id: r51907
2010-08-08VIDEO: Fix VMD seekingSven Hesse
svn-id: r51906