aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2010-08-08VIDEO: Fix deLZ77'ing video data directly onto the video surfaceSven Hesse
svn-id: r51890
2010-08-08VIDEO: Add some comments, fix a style issueSven Hesse
svn-id: r51888
2010-08-08VIDEO: Don't crash when sound is disabled :PSven Hesse
svn-id: r51886
2010-08-08VIDEO: renderBlockWhole2Y still worksSven Hesse
svn-id: r51884
2010-08-08VIDEO: Fix another IMD seek issueSven Hesse
svn-id: r51881
2010-08-08VIDEO: Fix another IMD seek issueSven Hesse
svn-id: r51877
2010-08-08VIDEO/GOB: Stub hasEmbeddedFile / getEmbeddedFileSven Hesse
Stubbing CoktelDecoder::hasEmbeddedFile() and CoktelDecoder::getEmbeddedFile(), formerly hasExtraData/getExtraData. svn-id: r51875
2010-08-08VIDEO: Make getFrameRate() protected againSven Hesse
svn-id: r51874
2010-08-08VIDEO/GOB: Fix IMD playingSven Hesse
Fix IMD playing for some fringe cases, especially when seeking beforehand. svn-id: r51871
2010-08-08VIDEO/GOB: Fixing the frame rate for mult'd videos.Sven Hesse
In the gob engine, some videos are opened, and then played, at a later time, one frame at a time. In this case, we need to emulate the original's video player's behaviour, not calculating any "lag" for videos without sound. svn-id: r51870
2010-08-08VIDEO/GOB: Implement IMD frame renderingSven Hesse
svn-id: r51867
2010-08-08VIDEO/GOB: Implement IMD frame decodingSven Hesse
Rendering the frame video data is still stubbed out. svn-id: r51866
2010-08-08VIDEO/GOB: Implement IMD loadingSven Hesse
svn-id: r51865
2010-08-08VIDEO: Stub IMDDecoderSven Hesse
svn-id: r51862
2010-08-08VIDEO: Add CoktelDecoder::setFrameRate().Sven Hesse
Allows client code to overwrite the video's frame rate. svn-id: r51860
2010-08-08VIDEO/GOB: Add CoktelDecoder::getDirtyRects()Sven Hesse
This allows for the client code to only update the parts of the video frames that actually changed. svn-id: r51859
2010-08-08VIDEO/GOB: Add CoktelDecoder::setXY()Sven Hesse
This allows for positioning the video within the video memory. svn-id: r51858
2010-08-08VIDEO/GOB: Add setSurfaceMemory() to CoktelDecoderSven Hesse
This allows the video player to directly draw onto its own video memory without having to blit each frame another time. Will also be needed for proper handling of transparency in Woodruff. svn-id: r51857
2010-08-08VIDEO: Bare PreIMD decodingSven Hesse
Implemented bare PreIMD decoding using the new CoktelDecoder interface. No fancy stuff yet, only basic vieo frames. svn-id: r51854
2010-08-08VIDEO: Stub a VideoDecoder-like CoktelDecoderSven Hesse
This creates a new CoktelDecoder class using the VideoDecoder interface, which will eventually become the new way to decode PreIMD, IMD and VMD videos. Since the VideoPlayer in gob is not yet ready for this, we're disabling all video playback in the gob engine for now. svn-id: r51850
2010-08-08VIDEO: Make Indeo3 a proper video codecSven Hesse
This way, Indeo3 is properly usable in various container VideoDecoder, for example AVI, and not just VMD. Since VMD is not yet ready for this, we're disabling Indeo3 in VMDs for now. svn-id: r51849
2010-08-04GRAPHICS: Change signature of VideoDecoder::load()Max Horn
Now takes a pointer to a stream, instead of a reference. The rational is that in all instances, callers have a pointer (and dereference it to call load), and all load implementations turn the reference back into a pointer. svn-id: r51725
2010-08-04GRAPHICS: Fix FlicDecoder::hasDirtyPalette signatureMax Horn
Add const qualifier to FlicDecoder::hasDirtyPalette to make it match that if VideoDecoder::hasDirtyPalette. svn-id: r51724
2010-08-03GRAPHICS: Fix a typo in a comment.Jordi Vilalta Prat
svn-id: r51692
2010-08-02GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail.Johannes Schickel
svn-id: r51668
2010-08-01GUI: Fix font cache.Johannes Schickel
The bounding boxes of the glyphs use signed coordinates. We stored only unsigned coordinates, which resulted in incorrect glyph positioning. Conrecte example: the bounding box of the glyphs for clR6x12-iso-8859-5.bdf used: x y w h 0 -3 6 12 We on the other hand interpreted that as: x y w h 0 65533 6 12 when loading the font from our font cache. svn-id: r51586
2010-07-30VIDEO: Ignore requests to unpause when video is already unpausedOri Avtalion
Previous behavior was to assert svn-id: r51517
2010-07-30VIDEO: Fix FLIC loopingMatthew Hoops
Thanks to salty-horse for finding this. Also, use Common::Rational directly to hold the frame rate to avoid rounding. svn-id: r51516
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-14Fix valgrind warning.Matthew Hoops
svn-id: r50873
2010-07-02Fix long standing regression (introduced with r34053) in thumbnail scaling ↵Johannes Schickel
code for Hercules graphics. svn-id: r50605
2010-07-02Rewrote the handling of thumbnail creation for KQ6 Windows in rev #50600, so ↵Filippos Karapetis
that it recreates the screen buffer like the other workarounds above it (thanks to LordHoto for pointing this out) svn-id: r50601
2010-07-02Added a special case for KQ6 hires in the thumbnail creation code, which ↵Filippos Karapetis
runs at a resolution of 640x440 svn-id: r50600
2010-06-28i18n: Add support for locale-dependent fontsEugene Sandulenko
Currently it ws not decided where to put fonts, but if you put BDF files into themepath, they will get picked up. The font name has to contain same codepage specification as in the .po file, i.e. fixed5x8-iso-8859-5.bdf for Cyrillic codepage. In case the font does not exist, default will be used. All built in fonts get proper names. TODO: Currently there is a bug with our font cacher. Font clR6x12-iso-8859-5 is empty after loading from FCC file. Reason is unknown. svn-id: r50448
2010-06-17Fixed a few cppcheck errors.Torbjörn Andersson
svn-id: r49919
2010-06-16Fixed QDM2 to working state.David Turner
Major issue was that the input frames are reused 16 times to produce output frames. Thanks to clone2727 for helping with this. svn-id: r49900
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-15GUI: Added default names for builtin fonts.Eugene Sandulenko
svn-id: r49773
2010-06-07Fix some typos in a commentJordi Vilalta Prat
svn-id: r49488
2010-05-31Fix our interpretation of the audio compression types to what FFmpeg ↵Matthew Hoops
currently does. Should fix bug #3009282. svn-id: r49362
2010-05-31Ignore v2 compressed audio chunks instead of treating them as Huffman DPCM. ↵Matthew Hoops
Should fix playback of at least the video portion of those videos (found in later Broken Sword releases). svn-id: r49340
2010-05-27Cleanup AVI a bit, add support for stereo audioMatthew Hoops
svn-id: r49279
2010-05-26Take any 'moov' resource from a resource fork, not just 0x80; minor cleanup.Matthew Hoops
svn-id: r49245
2010-05-26Proper fix for the MSVC warning concerning packing: reordered the members of ↵Filippos Karapetis
the ParseTable struct and removed the struct packing pragmas svn-id: r49235
2010-05-26Properly fixed MSVC warning C4121 (alignment of a member was sensitive to ↵Filippos Karapetis
packing) svn-id: r49226
2010-05-26Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' ↵Matthew Hoops
videos now play. However, they require multiple edit list support to look completely correct. svn-id: r49224
2010-05-25Fix a regression with rewinding in QuickTime videos (looping works in Riven ↵Matthew Hoops
again) and some minor cleanup. svn-id: r49206
2010-05-24Surface is a struct, not a classFilippos Karapetis
svn-id: r49201
2010-05-24Move the PICT code to graphics/ with some updates; needed for SCI1.1 Mac.Matthew Hoops
svn-id: r49195