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
Nicola Mettifogo
cbf9996abb
* Improved ILBMDecoder to also handle files with width non divisible by 8.
...
* Changed PackBitsReadStream to discard padding bytes on ditto files.
svn-id: r39410
2009-03-15 06:20:52 +00:00
Vicent Marti
9e54b1c963
Fixed bug #2619802 (Game name overwrites scroll bar).
...
svn-id: r39335
2009-03-11 20:39:31 +00:00
Max Horn
e080a59337
Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
...
svn-id: r39255
2009-03-09 03:45:23 +00:00
Eugene Sandulenko
ef1e3ebc3c
Patch #2658710 : "Add comments to specify which engines use which decoders"
...
svn-id: r39236
2009-03-08 15:57:59 +00:00
Joost Peters
2b8eba751e
Honour alpha bits in applyScreenShading() (used in "add game", "edit game" and "options" dialogs).
...
svn-id: r38478
2009-02-18 13:48:14 +00:00
Joost Peters
22340b6c3d
Use 4444 overlay on PSP (instead of 1555).
...
svn-id: r38475
2009-02-18 13:28:52 +00:00
Vicent Marti
a2c9faed29
Fixed bug #2609755 (GUI memory corruption).
...
svn-id: r38447
2009-02-17 20:50:30 +00:00
Johannes Schickel
b8d2c41cdd
Remove VECTOR_RENDERER_FORMAT check and related documentation.
...
svn-id: r38405
2009-02-17 12:20:40 +00:00
Johannes Schickel
2bb7b23748
Change formatting to match our code guidelines.
...
svn-id: r38382
2009-02-16 21:19:02 +00:00
Johannes Schickel
11862f3db3
Cleanup.
...
svn-id: r38381
2009-02-16 21:17:14 +00:00
Johannes Schickel
0d927db838
Removed obsolete FIXME.
...
svn-id: r38380
2009-02-16 21:06:28 +00:00
Lars Persson
c4fb8cf4f1
Fixed VectorRenderSpec for no fancy theme!
...
svn-id: r38377
2009-02-16 19:07:41 +00:00
Max Horn
f86403ed22
Attempt to fix compilation problems on MSVC 7 (I wonder why it compiled elsewhere, actually ;)
...
svn-id: r38314
2009-02-15 22:14:04 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Filippos Karapetis
781d7da6b1
Applied my patch for the BS1/2 video player
...
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot.
- Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed
- The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG)
- The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported
svn-id: r38236
2009-02-15 13:29:48 +00:00
Joost Peters
7fc7216175
add assert(g_system) for backends that call InitScalers() from their OSystem ctor (at which point g_system is still NULL)
...
svn-id: r36332
2009-02-14 18:16:21 +00:00
Max Horn
4dbbbc1358
GUI: Fixed long-standing bug in calcGradient (gradients look a bit better now)
...
svn-id: r36311
2009-02-13 19:24:32 +00:00