Commit Graph
545 Commits
Author SHA1 Message Date
Vicent Marti af289bdb03 Fixed bug 2820514 ("Help dialog causes crash")
svn-id: r42537
2009-07-16 17:29:31 +00:00
Johannes Schickel 16c949d24a Formatting.
svn-id: r42530
2009-07-16 11:41:45 +00:00
Vicent Marti 40d8209bca Fixed issue with beveled shapes being drawn outside their shapes. Possible regressions.
svn-id: r42529
2009-07-16 11:37:36 +00:00
Max Horn 6b98c4c4e7 Got rid of some more ioFailed uses (also fixed a potential leak in graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
2009-07-14 18:24:20 +00:00
Johannes Schickel 96abaaea6d Fix possible memory leak.
svn-id: r42487
2009-07-14 18:15:07 +00:00
Johannes Schickel 3f1563c819 Got rid of ioFailed in font code, also added another check for err() when loading bdf fonts from text files.
svn-id: r42486
2009-07-14 18:14:20 +00:00
Torbjörn Andersson aa50dd61e9 Got rid of ioFailed(). I haven't actually tested it, but we don't use the MPEG
decoder at the moment, and it was only used in the BACKEND_8BIT case anyway.

svn-id: r42484
2009-07-14 16:45:18 +00:00
Sven Hesse aac58c80cc Removing ioFailed() usage and fixing a leak in case of error
svn-id: r42469
2009-07-14 08:57:55 +00:00
Filippos Karapetis a0a675e42d Reverted commit #42257, as the original issue was with the compilation process of MSVC and the ENABLE_* checks work correctly
svn-id: r42289
2009-07-09 15:15:49 +00:00
Sven Hesse 8a7a81ed30 Warn instead of crash when a video frame part was found although the header says there's no video
svn-id: r42286
2009-07-09 09:39:51 +00:00
Filippos Karapetis 570d157ff3 The ENABLE_* flags are only checked for *.cpp files in MSVC, so move the ENABLE_* checks to sjis.cpp to fix compilation under MSVC
svn-id: r42257
2009-07-08 07:13:56 +00:00
Johannes Schickel 832540f64f Simply compile guard of SJIS code and fix comment.
svn-id: r42234
2009-07-07 19:18:32 +00:00
Johannes Schickel 2a117d9a90 Add guards to only include SJIS font code, when KYRA or SCI is enabled.
svn-id: r42233
2009-07-07 19:00:51 +00:00
Johannes Schickel e35dd4df1c Change "FM-Towns" to "FM-TOWNS" for consistency.
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel 8c65d4d4a9 - Rename FontSJIS::enableShadow to enableOutline.
- Initialize outline to false by default in FontTowns.

svn-id: r42231
2009-07-07 18:17:30 +00:00
Johannes Schickel 62eebc3e17 - Added support for outlined FM-Towns ROM drawing
- Adapted KYRA to use that

svn-id: r42230
2009-07-07 18:10:35 +00:00
Johannes Schickel 8623081666 Add generic functionallity to draw FM-Towns ROM. (To be used by KYRA and SCI)
svn-id: r42221
2009-07-07 14:22:23 +00:00
Johannes Schickel b37beb4493 Add some more explanation to Graphics::CursorManager::showMouse and OSystem::showMouse.
svn-id: r41968
2009-06-29 23:23:29 +00:00
Max Horn a882a6f467 GUI: Replaced ThemeParser::_drawFunction hashmap by a static function getDrawingFunctionCallback which maps strings to draw funcs
svn-id: r41931
2009-06-28 19:57:27 +00:00
Nicola Mettifogo 36828287ad * Moved the updated IFF code from Parallaction to common/
* Updated Parallaction and SAGA to use the new decoder infrastructure.

svn-id: r41465
2009-06-12 08:51:05 +00:00
Johannes Schickel c0ba9d1158 Add a convenience wrapper to CursorMan for checking whether cursor palettes are supported.
svn-id: r41432
2009-06-10 15:20:52 +00:00
Johannes Schickel 3a32d7711b Fix a bug in disableCursorPalette, where it never allowed the palette to be enabled properly again.
svn-id: r41428
2009-06-10 15:01:20 +00:00
Filippos Karapetis ec38b77b00 Changed the bitstream buffer used to initialize the big Huffman trees to be a normal byte array, instead of a Common::Array
svn-id: r41356
2009-06-07 22:34:03 +00:00
Filippos Karapetis 6dd009c153 Formatting
svn-id: r41354
2009-06-07 22:17:44 +00:00
Filippos Karapetis 0c5dd48395 Applied madmoose's patch from bug report #2794216 - "Loading large Smacker movies is slow"
svn-id: r41353
2009-06-07 22:15:28 +00:00
Eugene Sandulenko b0f7f2e8d4 Implement widget property "textalign". Added it to all theme layouts
svn-id: r41265
2009-06-06 17:51:41 +00:00
Travis Howell fc4d1c0aff Revert last change, better to wait for 16bit backend support.
svn-id: r41131
2009-06-03 00:31:50 +00:00
Travis Howell f82df1d1c4 Update thumbnail code to capture RGB565 screen.
svn-id: r41130
2009-06-03 00:01:07 +00:00
Max Horn 02ac46565b Tweak the hq2x/hq3x a little bit (interpolation code is little bit shorter, faster and easier to read... but 70+% of the time is spent on computing diffYUV etc. anyway, so I guess this a bit pointless... whatever... ;)
svn-id: r40964
2009-05-28 21:33:36 +00:00
Filippos Karapetis 5e94e688e9 Reserve some space in the Huffman tree arrays before starting to decode the Huffman trees. Hopefully, this will speed up the tree constructing phase somewhat
svn-id: r40900
2009-05-26 07:25:12 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Johannes Schickel 6e93825b2e Move Indeo3 static data from indeo3data.h to indeo3.cpp.
svn-id: r40762
2009-05-21 13:38:52 +00:00
Torbjörn Andersson 2e04f52638 I'm no longer sure I've really seen case 12 happen, so don't mention it.
svn-id: r40761
2009-05-21 13:28:32 +00:00
Filippos Karapetis b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Filippos Karapetis 11251cf296 Moved the Coktel video player into its own subdirectory
svn-id: r40755
2009-05-21 10:48:03 +00:00
Torbjörn Andersson 50b77d876d Added comment and warning message about possibly missing cases.
svn-id: r40752
2009-05-21 09:58:12 +00:00
Torbjörn Andersson f3f0be30fd Fixed indentation. (Don't worry, it's just a small change, and it matches the
original FFmpeg code, as far as I can tell.)

svn-id: r40749
2009-05-21 07:23:48 +00:00
Sven Hesse 43f58b2869 Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
svn-id: r40744
2009-05-20 20:41:10 +00:00
Filippos Karapetis 6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Filippos Karapetis e358b13ef9 Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand
svn-id: r40730
2009-05-19 19:56:53 +00:00
Filippos Karapetis 4f6bc50615 Some fixes to the video decoders, thanks to salty-horse's comments
svn-id: r40729
2009-05-19 17:39:03 +00:00
Max Horn 65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Torbjörn Andersson da9b2868e0 The 'frameSize' variable isn't used at the moment.
svn-id: r40640
2009-05-17 08:57:35 +00:00
Filippos Karapetis 6f0b6b5aed Changed the FLIC player to the common VideoDecoder interface. Note that currently the double animation in Bud Tucker's intro credits is broken, as the second background animation is not played
svn-id: r40638
2009-05-17 08:44:20 +00:00
Travis Howell bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Max Horn 8d8e9d3aaa Must include common/scummsys.h in graphics/pixelformat.h because it uses type 'byte'
svn-id: r40513
2009-05-12 23:28:49 +00:00
Eugene Sandulenko 8f4a2c1476 Silence warnings. Const correctness
svn-id: r40347
2009-05-06 09:12:58 +00:00
Kari Salminen d85e3b72d2 Add color component bit count (rBits, gBits, bBits, aBits) and maximum value (rMax, gMax, bMax, aMax) convenience functions to PixelFormat-struct (If someone objects to adding these, holler and/or revert this commit, I can live without 'em but they'd ease some parts of Cine::Palette-code).
svn-id: r39711
2009-03-27 20:56:15 +00:00
Johannes Schickel cd8eeb7e47 Oops forgot one line in last commit, now the file should compile cleanly with mingw64.
svn-id: r39555
2009-03-20 00:12:45 +00:00
Johannes Schickel d806ef2769 Fix compilation on mingw64.
svn-id: r39554
2009-03-20 00:11:22 +00:00