Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Jordi Vilalta Prat
8388e0dfea
JANITORAL: Clean trailing whitespaces.
...
svn-id: r53160
2010-10-12 02:18:11 +00:00
Max Horn
3dda3c073a
GRAPHICS: Turn static AviDecoder methods into local funcs
...
svn-id: r53141
2010-10-10 22:25:52 +00:00
Sylvain Dupont
0fc6572b65
VIDEO: Remove useless references in handleAudioTrack function
...
svn-id: r53091
2010-10-09 00:17:55 +00:00
Eugene Sandulenko
741e7c7f5e
VIDEO: Factor out handleAudioTrack() to be used by Toons engine
...
svn-id: r53086
2010-10-08 22:17:03 +00:00
Johannes Schickel
5541af78b1
GRAPHICS: Add BPP check to Surface::move.
...
svn-id: r52968
2010-10-01 20:44:58 +00:00
Johannes Schickel
288d09389e
GRAPHICS: Cleanup.
...
svn-id: r52967
2010-10-01 20:44:41 +00:00
Florian Kagerer
0d8f4a22ae
SCUMM/FM-TOWNS: fix palette and other graphics issues
...
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-10-01 19:24:52 +00:00
Torbjörn Andersson
02e759aad3
GOB: Make GCC happier.
...
svn-id: r52956
2010-09-30 15:22:52 +00:00
Sven Hesse
6bbfac77af
VIDEO: Interpolate U and V values
...
svn-id: r52955
2010-09-30 15:03:51 +00:00
Sven Hesse
ce07411696
VIDEO: Allow for Indeo3'd VMDs
...
svn-id: r52954
2010-09-30 13:05:40 +00:00
Sven Hesse
3c449e19ab
VIDEO: Allow for scaled Indeo3 frames
...
svn-id: r52953
2010-09-30 13:05:12 +00:00
Oystein Eftevaag
ab01f42a4b
IPHONE: The overlay will now always be in the native device resolution
...
svn-id: r52939
2010-09-29 00:19:13 +00:00
Torbjörn Andersson
c91a07229a
JANITORIAL: Removed most punctuation at end of warning() and error()
...
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
2010-09-18 10:55:16 +00:00
Matthew Hoops
bb1c8c3f51
VIDEO: Fix rounding the Smacker frame rate
...
_frameRate is now stored using Common::Rational instead of uint32.
svn-id: r52689
2010-09-12 18:31:10 +00:00
Matthew Hoops
21b96bd374
GRAPHICS: Improve PICT support
...
PICT images of <8bpp are now supported and paletted images now work when the PixelFormat passed is not 1Bpp.
svn-id: r52671
2010-09-10 22:08:48 +00:00
Willem Jan Palenstijn
8f1143bfdc
COMMON: Remove Rational::operator int/double
...
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981 ).
svn-id: r52616
2010-09-07 09:02:46 +00:00
Matthew Hoops
c78a63460b
VIDEO: Skip multiple tags in a QuickTime stsd entry
...
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-06 18:15:51 +00:00
Matthew Hoops
c54a97005f
VIDEO: Apply patch #3057924 with some changes
...
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-06 15:15:59 +00:00
Torbjörn Andersson
9324a80d93
JANITORIAL: Remove extra semi-colons.
...
svn-id: r52489
2010-09-02 05:12:07 +00:00
Sven Hesse
4d15e5f31c
VIDEO: Change decodeImage() around a bit, plug a leak
...
Indeo3Decoder::decoderImage() was leaking inData
svn-id: r52408
2010-08-27 10:45:19 +00:00
Eugene Sandulenko
d2cf99f67d
GUI: Fixed bug #2505686 : "GUI: minor artifacts in rounded corners"
...
It is practically not possible to get rid of those completely
due to rounding errors with 16-bit surface.
svn-id: r52367
2010-08-25 07:39:08 +00:00
Eugene Sandulenko
c8a9eb9c32
GRAPHICS: Extend Surface::fill() method to support 32bits. Looks ugly
...
svn-id: r52268
2010-08-21 20:14:46 +00:00
Torbjörn Andersson
b8b4b42577
LEGAL: Add COPYING.BSD file
...
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-09 14:31:59 +00:00
Sven Hesse
27f6e7106d
VIDEO: That should fix compilation with MSVC
...
svn-id: r51931
2010-08-08 17:51:50 +00:00
Matthew Hoops
27c79d51d4
VIDEO: Cinepak cleanup
...
svn-id: r51928
2010-08-08 03:33:44 +00:00
Sven Hesse
5f8947c21d
VIDEO: Use tag2str
...
svn-id: r51927
2010-08-08 02:56:11 +00:00
Sven Hesse
3016de7197
VIDEO: Fixing typos ("Unknow" -> "Unknown")
...
svn-id: r51926
2010-08-08 02:55:45 +00:00
Sven Hesse
609dc65df6
VIDEO: Remove the now obsolete CoktelVideo classes
...
svn-id: r51924
2010-08-08 01:09:45 +00:00
Sven Hesse
1151676d82
VIDEO: Use proper palettes in CoktelDecoder
...
Not just the 6 bits per color component used in VGA
svn-id: r51921
2010-08-08 01:08:17 +00:00
Sven Hesse
8186214bc9
VIDEO: Set _paletteDirty in VMDDecoder::load() when there is an initial palette
...
svn-id: r51920
2010-08-08 01:07:45 +00:00
Sven Hesse
dc3a417699
VIDEO: Change the mixer parameter from a reference to a pointer
...
To match the other VideoDecoder classes with sound support.
svn-id: r51919
2010-08-08 01:07:17 +00:00
Sven Hesse
4133ef90bc
VIDEO: Make CoktelDecoder::getFrameCoords() virtual
...
Like it should have been in the first place...
Fixes Woodruff slot-VMD positions.
svn-id: r51917
2010-08-08 01:06:15 +00:00
Sven Hesse
0be37b6b28
VIDEO: Implement VMD subtitles
...
svn-id: r51915
2010-08-08 01:05:16 +00:00
Sven Hesse
af96a0fa3b
VIDEO: Implement VMDDecoder::setXY()
...
svn-id: r51912
2010-08-08 01:03:50 +00:00
Sven Hesse
945103a43c
VIDEO/GOB: Implement and use CoktelDecoder::getFrameCoords()
...
svn-id: r51909
2010-08-08 01:02:19 +00:00
Sven Hesse
eed41aa223
VIDEO: Fix a failed assertion in VMDDecoder::readFiles()
...
svn-id: r51908
2010-08-08 01:01:45 +00:00
Sven Hesse
6d03ddef0b
VIDEO: Implement CoktelDecoder::renderBlockRLE()
...
svn-id: r51907
2010-08-08 01:01:17 +00:00
Sven Hesse
b2aba5970e
VIDEO: Fix VMD seeking
...
svn-id: r51906
2010-08-08 01:00:53 +00:00
Sven Hesse
b796c39645
VIDEO: Implement VMD frame rendering
...
svn-id: r51905
2010-08-08 01:00:23 +00:00
Sven Hesse
506c1e7d85
VIDEO: Change the CoktelDecoder::renderBlock*'s signatures
...
Change CoktelDecoder::renderBlock*() and IMDDecoder::renderFrame()
to receive a Common::Rect instead of mucking about with _dirtyRects.
svn-id: r51904
2010-08-08 00:59:58 +00:00
Sven Hesse
6d31b17685
VIDEO: Implement VMD sound
...
svn-id: r51903
2010-08-08 00:59:28 +00:00
Sven Hesse
0886f7e33c
VIDEO: Implement VMD frame decoding
...
svn-id: r51902
2010-08-08 00:58:59 +00:00
Sven Hesse
74bec1696b
VIDEO: Implement VMDDecoder::seek()
...
svn-id: r51901
2010-08-08 00:58:29 +00:00
Sven Hesse
f447ddb36a
VIDEO: Fix compilation after the VideoDecoder::load signature change in r51725
...
svn-id: r51900
2010-08-08 00:58:00 +00:00
Sven Hesse
b13afba053
VIDEO: Implement embedded file handling for VMDs
...
svn-id: r51899
2010-08-08 00:57:27 +00:00
Sven Hesse
41f5d78128
VIDEO: Implement VMD loading
...
svn-id: r51898
2010-08-08 00:56:58 +00:00
Sven Hesse
d081c2e20f
VIDEO: Move the frame calculation out of seek()
...
svn-id: r51897
2010-08-08 00:56:29 +00:00
Sven Hesse
1f63009426
VIDEO/GOB: Stubb VMDDecoder
...
svn-id: r51896
2010-08-08 00:56:04 +00:00
Sven Hesse
3c5e02900f
VIDEO: Add getSurface
...
svn-id: r51892
2010-08-08 00:53:55 +00:00