Filippos Karapetis
c528f888d0
Specify that implementations of setPalette() should use an RGB palette
...
svn-id: r35755
2009-01-06 16:10:04 +00:00
Max Horn
d104e6fe33
Workaround issue in Graphics::Surface code on Haiku
...
svn-id: r35745
2009-01-05 20:12:25 +00:00
Filippos Karapetis
70ab22e9f2
Added a copyFrameToBuffer() method to the FLIC player too, like in the other players
...
svn-id: r35742
2009-01-05 17:05:50 +00:00
Filippos Karapetis
7f9ea7e35c
Added Doxygen-like comments to the FLIC player, and changed it a bit to have similar method names as the DXA and Smacker players. Also, removed the convenience method hasFrames(), as it's the same as getFrameCount() > 0
...
svn-id: r35741
2009-01-05 15:10:13 +00:00
Filippos Karapetis
dc661e62a9
Removed unused reference to OSystem
...
svn-id: r35740
2009-01-05 15:05:12 +00:00
Sven Hesse
0430bb9b3a
Proper lag calculation even if the SMK has no audio
...
svn-id: r35698
2009-01-03 13:31:23 +00:00
Johannes Schickel
71001f23c4
Cleanup.
...
svn-id: r35657
2009-01-01 23:54:09 +00:00
Max Horn
9752882f8b
Fingolfin says: If an #ifdef __SYMBIAN32__ is needed here, the Symbian folks should add it. In the meantime, this FIXME comment serves no purpose :)
...
svn-id: r35652
2009-01-01 21:32:30 +00:00
Max Horn
569636eb54
Removed Graphics::ImageMan. Nothing uses it
...
svn-id: r35638
2008-12-31 15:11:39 +00:00
Max Horn
1c0fe87410
Clarified some ImageMan doxygen comments
...
svn-id: r35629
2008-12-31 13:43:50 +00:00
Sven Hesse
6d072a321b
Adding support for specifying an index that will be ignored when building the PaletteLUT (for transparent values that should never be found)
...
svn-id: r35584
2008-12-27 22:47:34 +00:00
Sven Hesse
213c09c211
Adding a magic id and a version number to the PaletteLUT cache
...
svn-id: r35582
2008-12-27 19:53:54 +00:00
Sven Hesse
a4a209a2f6
Initializing the lookahead values, too. No more valgrind warnings anymore :)
...
svn-id: r35581
2008-12-27 19:37:49 +00:00
Sven Hesse
2b37e183dc
Fixing the invalid read (BitStream having a 2 byte lookahead and all :P)
...
svn-id: r35579
2008-12-27 18:57:36 +00:00
Max Horn
87a2747744
Turned FSNode into a ArchiveMember subclass; removed the now obsolete FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h
...
svn-id: r35578
2008-12-27 18:03:27 +00:00
Filippos Karapetis
db1a4b4789
The BitStream class has a 2 byte lookahead. Hopefully, this will fix the invalid reads in the audio stream
...
svn-id: r35577
2008-12-27 18:01:19 +00:00
Jordi Vilalta Prat
d18d2d72a8
Fix for the SliderWidget glitch when showing very small values (and potentially for other small widgets)
...
svn-id: r35557
2008-12-26 12:15:51 +00:00
Filippos Karapetis
891fb0f5c0
Silenced signed/unsigned warning
...
svn-id: r35531
2008-12-24 22:40:10 +00:00
Sven Hesse
00baeacf60
Documenting the dither code a bit more and removing SierraLight's not needed height argument
...
svn-id: r35530
2008-12-24 16:59:37 +00:00
Sven Hesse
74024ff3e5
Moving the dither code to graphics/
...
svn-id: r35526
2008-12-24 15:57:43 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Jordi Vilalta Prat
1ccce41c8f
Fix the rendering of stroked tabs
...
svn-id: r35479
2008-12-22 09:47:13 +00:00
Eugene Sandulenko
829cbc4110
Move all video players to separate directory
...
svn-id: r35470
2008-12-21 21:08:17 +00:00
Travis Howell
f510b28a49
Fix warnings.
...
svn-id: r35462
2008-12-21 11:49:58 +00:00
Filippos Karapetis
86f4233883
Fixed compilation
...
svn-id: r35461
2008-12-21 11:47:50 +00:00
Travis Howell
587e70809a
Return exact frame rate in Smacker player, and minor cleanup.
...
svn-id: r35458
2008-12-21 05:55:37 +00:00
Travis Howell
76624fc69c
Add initial Smacker support for The Feeble Files.
...
svn-id: r35457
2008-12-21 04:36:11 +00:00
Filippos Karapetis
a6e4bd793f
Hopefully fixed invalid buffer reads
...
svn-id: r35446
2008-12-19 21:55:18 +00:00
Sven Hesse
519815cb51
memset()ing the output image with 0 at the start
...
svn-id: r35438
2008-12-19 13:55:55 +00:00
Filippos Karapetis
b7dbd3ec06
Some slight cleanup
...
svn-id: r35435
2008-12-19 08:22:25 +00:00
Sven Hesse
91e386c584
Making curPos an uint32, so that it won't overflow anymore
...
svn-id: r35433
2008-12-19 01:45:55 +00:00
Sven Hesse
55edaf0945
Fixing 16bit audio
...
svn-id: r35432
2008-12-19 01:01:07 +00:00
Sven Hesse
6d19ee6e64
Adding convenience functions to get the time to wait for the next frame, while keeping A/V sync
...
svn-id: r35431
2008-12-19 00:14:18 +00:00
Sven Hesse
9cd759c526
Fixing 8bit audio
...
svn-id: r35430
2008-12-18 23:50:59 +00:00
Filippos Karapetis
8b6237756b
Oops, base values are read in the correct order now
...
svn-id: r35426
2008-12-18 19:32:44 +00:00
Filippos Karapetis
d314ee2447
Audio support for Smacker videos. Audio doesn't sound right yet, though
...
svn-id: r35425
2008-12-18 19:18:45 +00:00
Torbjörn Andersson
50563cbcce
Fixed warnings. Hopefully without breaking anything.
...
svn-id: r35420
2008-12-18 05:04:55 +00:00
Filippos Karapetis
de0a2f40cd
Some more Smacker audio code (still non-functional)
...
svn-id: r35415
2008-12-17 21:17:15 +00:00
Filippos Karapetis
10e471bb5b
- Added some disabled code for Smacker audio support (still incomplete, not working yet)
...
- Made the _image buffer protected instead of private (in case it's coped directly to the screen and not an intermediate buffer)
svn-id: r35411
2008-12-17 14:48:57 +00:00
Filippos Karapetis
2706e527c2
- Some more comments
...
- The audio header is now decoded properly (still no audio support)
svn-id: r35392
2008-12-16 13:19:43 +00:00
Filippos Karapetis
0b1d31383b
- Added some comments
...
- Removed _paletteDidChange, as the virtual setPalette() function is called back on every palette change
- Some cleanup
- Removed unused/unneeded functions and variables
- Changed _frameTypes to hold bytes instead of 32-bit integers (since frame types are held within a byte)
svn-id: r35391
2008-12-16 09:56:21 +00:00
Filippos Karapetis
638a8e3306
Synced Smacker player with ffmpeg revision #16143
...
svn-id: r35390
2008-12-16 08:37:24 +00:00
Filippos Karapetis
45842bf9e2
Initialize palette when loading a new Smacker file - all palette colors should show correctly now
...
svn-id: r35387
2008-12-15 22:49:55 +00:00
Filippos Karapetis
df32288b8b
- Removed the blockRuns array
...
- Added some comments
svn-id: r35386
2008-12-15 21:13:28 +00:00
Travis Howell
b4e542e37f
Mirror last Smacker changes.
...
svn-id: r35383
2008-12-15 13:10:08 +00:00
Max Horn
319795565e
SMK player: do not include headers that are not needed, do not expose internal _fileStream for no apparent reason
...
svn-id: r35382
2008-12-15 12:55:57 +00:00
Travis Howell
1c9db8eebc
Adjust return values for HE games, when loading video file fails.
...
svn-id: r35374
2008-12-15 05:05:01 +00:00
Travis Howell
8e03b72e63
Ignore BINK files.
...
svn-id: r35370
2008-12-15 00:11:23 +00:00
Travis Howell
96c0685879
Avoid file leaking.
...
svn-id: r35369
2008-12-14 23:47:56 +00:00
Travis Howell
9c20a533bb
Enable Smacker support, and switch later HE games to Smacker support (since they aren't supported yet).
...
svn-id: r35368
2008-12-14 23:41:48 +00:00