aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
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
2010-05-23Add support for loading the QuickTime 'moov' atom from the file's resource ↵Matthew Hoops
fork, needed for SCI Mac. svn-id: r49172
2010-05-23Move the QDM2 code to the graphics module, removing the cyclic dependency.Matthew Hoops
svn-id: r49171
2010-05-23Hide the QDM2 implementation and only expose it via a factory method, ↵Matthew Hoops
hopefully fixing compilation on most systems at the same time. svn-id: r49170
2010-05-23FFMpeg switched to Git, so update link to original smacker decoder.Eugene Sandulenko
svn-id: r49166
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-05-20Add a pause level system to VideoDecoder (blatantly ripped off from Engine) ↵Matthew Hoops
and adapt Mohawk to it. svn-id: r49120
2010-05-18Add a new class 'RewindableVideoDecoder' that allows a video to be rewound ↵Matthew Hoops
and have QTPlayer inherit from that. svn-id: r49084
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-18Fix currentFrame semantics in Flic playerOri Avtalion
svn-id: r49073
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-05-10Revert r48979. Instead, make the HQ scalers depend on the normal ones. ↵Andre Heider
Configure reflects that now. svn-id: r48996
2010-05-09Since configure allows HQ scalers without the normal onces, allow this ↵Andre Heider
combination. svn-id: r48979
2010-05-09Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to ↵Andre Heider
configure. svn-id: r48977
2010-04-20Use the faster memset() in Surface::fillRect() for 16bit modes when possible.Andre Heider
svn-id: r48756
2010-04-19Document that the current Hercules mode thumbnail scaler code is pretty much ↵Johannes Schickel
aimed for SCUMM games. svn-id: r48736
2010-04-19Cleanup.Johannes Schickel
svn-id: r48735
2010-04-19Do not call OSystem::grabPalette() for 16bit modes, when the result is not ↵Andre Heider
used anyway for those modes. svn-id: r48733
2010-04-17Fixing some warnings (with gcc 3.3.6)Max Horn
svn-id: r48694
2010-04-17Fix for ARM Normal2xAspect scaler that was causing crashes when the screenRobin Watts
'shakes' (such as when the head/bomb goes of at the start of sam'n'max). Was overwriting the end of the screen when asked to plot a non-multiple of 5 lines. svn-id: r48690
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-18Commit salty-horse's patch for VectorRendererSpec.cpp, which fixes the use ↵Johannes Schickel
of invalid C++. svn-id: r48291
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-15Changing Imd::renderFrame() and Vmd::renderFrame() to properly clip the ↵Sven Hesse
drawing area to prevent overdrawing without producing garbage output svn-id: r48264
2010-03-15The frame coordinate cropping for IMDs is wrong, and should be unnecessary ↵Sven Hesse
anyway, since Imd::renderFrame() should already check for overblitting. This fixes bug #2969904 ("GOB3: Graphical Glitch in finished cutscene") svn-id: r48262
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-03-11Removing a debug warning() and adding some commentsSven Hesse
svn-id: r48236
2010-03-11Adding support for the very primitive and simply early IMD format used in ↵Sven Hesse
Fascination svn-id: r48233
2010-03-09Fix missing definition of gBitFormat.Robin Watts
svn-id: r48213
2010-03-08Conistenlty use USE_NASM instead of using HAVE_NASM in config.mk (this ↵Johannes Schickel
matches all the external library use too). svn-id: r48208
2010-03-08Use a template for hq2x and hq3x instead of using #include and defines.Johannes Schickel
svn-id: r48197
2010-03-08Fix compilation.Johannes Schickel
svn-id: r48196