Max Horn
b51f2f3212
Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
...
svn-id: r27548
2007-06-19 22:39:59 +00:00
Travis Howell
12c9fb0382
Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble Files.
...
svn-id: r27371
2007-06-12 06:08:47 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0
Reverted r26922.
...
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
91be2f19cc
oops
...
svn-id: r26923
2007-05-22 14:18:46 +00:00
Johannes Schickel
8ff17142c5
Simpilified Singleton implementation and usage.
...
svn-id: r26922
2007-05-22 14:17:44 +00:00
Filippos Karapetis
d08eeff700
Renamed decodeILBM to decodePBM, removed a TODO
...
svn-id: r26731
2007-05-01 21:40:56 +00:00
Nicola Mettifogo
727867c66f
- Fixed 32/64 bits pointer mismatch.
...
- Changed Surface's forward from class to struct.
svn-id: r26727
2007-05-01 17:28:59 +00:00
Nicola Mettifogo
5d3bec7286
Fix missing include.
...
svn-id: r26725
2007-05-01 16:40:17 +00:00
Nicola Mettifogo
998cbf4ebb
Fix compilation.
...
svn-id: r26720
2007-05-01 15:45:56 +00:00
Nicola Mettifogo
008042ac25
Implemented a IFF (Interchange File Format) parser and added subclasses to parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code.
...
svn-id: r26719
2007-05-01 15:39:40 +00:00
Max Horn
550a6bbf40
Patch #1705747 : Speedups for plotYUV and related functions
...
svn-id: r26603
2007-04-27 07:04:12 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Nicola Mettifogo
4467a25db9
- added new subclass ILBMDecoder, to decode ILBM subtype of IFF files
...
- some bug fixing on the hierarchy
svn-id: r26310
2007-03-27 19:45:09 +00:00
Johannes Schickel
41ea68e71e
cleanup
...
svn-id: r26303
2007-03-25 19:51:19 +00:00
Nicola Mettifogo
4d56036d4d
Added new base class Graphics::IFFDecoder and subclass Graphics::PBMDecoder as a reimplementation of Graphics::decodeILBM. Old function will be removed when engines are updated.
...
svn-id: r26302
2007-03-25 19:36:24 +00:00
Max Horn
8778f121e2
Replaced uses of fprintf() with warning() or error()
...
svn-id: r26022
2007-03-08 17:23:19 +00:00
Torbjörn Andersson
3bc0661065
Merged the "palette manager" into the cursor manager. It was only used to
...
manage *cursor* palettes, so the name was misleading.
svn-id: r25500
2007-02-12 00:04:56 +00:00
Max Horn
73c3625f1f
Fixing various doxygen warnings
...
svn-id: r25362
2007-02-03 21:37:52 +00:00
Travis Howell
afcfc95e8a
Always reset _scaledBuffer to zero when playing video, to prevent double free.
...
svn-id: r24962
2007-01-01 04:58:25 +00:00
Travis Howell
534a2fd5d7
Change position of scale code, Scale code shouldn't have been FRAM specific
...
svn-id: r24871
2006-12-18 07:51:02 +00:00
Torbjörn Andersson
0d65cb4260
Check _scaleMode when decoding a NULL frame. Otherwise we will draw the
...
unscaled frame when playing a scaled movie. (The Broken Sword 1 intro is a
good example of this since it is scaled and uses NULL frames early on.)
svn-id: r24870
2006-12-18 07:24:36 +00:00
Eugene Sandulenko
d99760549a
Fix regression. It crashed with orignial DXA files.
...
svn-id: r24856
2006-12-15 14:36:04 +00:00
Travis Howell
488873353b
Only allocate _scaleBuffer when required.
...
svn-id: r24847
2006-12-14 05:32:16 +00:00
Torbjörn Andersson
45886ec8ed
When drawing an interlaced frame, only clear every other line instead of the
...
entire buffer.
Introduced a _drawBuffer pointer which points either to _scaledBuffer or
_frameBuffer1. That way, we don't need to copy _frameBuffer1 every time we
draw an unscaled frame. (Probably the most common case by far.)
Adjusted the Broken Sword 1 DXA player for the second change. (It sneakily
avoids copying each frame by using _drawBuffer directly.)
svn-id: r24846
2006-12-14 05:21:19 +00:00
Travis Howell
42228fdc36
Add cyx's patch for endian issues in DXA player
...
svn-id: r24844
2006-12-11 22:48:57 +00:00
Travis Howell
a4b835838d
Whitespace changes
...
svn-id: r24843
2006-12-11 22:35:50 +00:00
Travis Howell
1ba6947440
Adjust DXA scaling code for Broken Sword 1
...
svn-id: r24841
2006-12-11 09:26:54 +00:00
Travis Howell
983954821c
Fix typo in initial _scaleBuffer check
...
svn-id: r24840
2006-12-11 08:31:32 +00:00
Travis Howell
b00e143d74
Add patch #1611503 - DXA: Improved encoder (filesize and speed)
...
svn-id: r24838
2006-12-11 06:53:46 +00:00
Johannes Schickel
3a81941981
- Added dialog for selecting the theme to use
...
- Added runtime theme switching
svn-id: r24213
2006-10-08 18:22:28 +00:00
Paweł Kołodziejski
1307f597a6
fixed assert in isspace function because wrong variable type for chars when they value is greater then 128. isspace take as "int" type param (at least in ms sdk)
...
svn-id: r24210
2006-10-08 15:55:09 +00:00
Torbjörn Andersson
0b1c1702a5
Renamed constant to reflect recent change of file name.
...
svn-id: r23777
2006-08-27 10:55:44 +00:00
Torbjörn Andersson
8ae050ff08
Renamed graphics/animation.[cpp|h] to graphics/mpeg_player.[cpp|h] to be more
...
consistent with dxa_player.[cpp|h]. (Though actually, "decoder" might be more
accurate...)
svn-id: r23774
2006-08-27 09:10:24 +00:00
Torbjörn Andersson
cc3b4cdf99
Now that the cutscene handling in both BS1 and BS2 has been extended to play
...
DXA movies (the MPEG movies still work, of course), there is no longer any need
for the MPEG decoder to handle sound and frame syncing. That is now the
responsibility of the player, not the decoder.
The obvious next step, then, would be to put that in a new player class, and
have both BS1 and BS2 use that. Maybe FF as well.
svn-id: r23757
2006-08-26 12:29:00 +00:00
Max Horn
53f73eac85
Added explicit string equals/hash functors to a new header common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case
...
svn-id: r23634
2006-07-30 12:21:54 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
5658e71f4d
Added support for DXA cutscenes, while still retaining support for the old MPEG
...
cutscenes and the "dummy" (subtitles and voice-over) mode. Several tweaks and
cleanups were made in this process, and there may very well be regressions, but
it should be stable enough to commit.
svn-id: r23420
2006-07-08 11:42:07 +00:00
Travis Howell
fa4aa40b7b
Correct docs for copyFrameToBuffer()
...
svn-id: r23336
2006-06-28 14:27:56 +00:00
Travis Howell
1c19735226
Add patch #1504492 - DXA: New compression scheme
...
svn-id: r23333
2006-06-28 14:10:07 +00:00
Travis Howell
dd57c57982
Add eriktorbjorn's patch for DXA unification, with more changes
...
svn-id: r23332
2006-06-28 14:06:54 +00:00
Oystein Eftevaag
8d3887f170
Fixes a warning with VC++ 2005 Express.
...
svn-id: r23307
2006-06-25 01:19:34 +00:00
Willem Jan Palenstijn
dc41d02ac7
fix character clipping as mentioned by Marcus on the mailing list on 22 june
...
svn-id: r23292
2006-06-24 12:27:07 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Travis Howell
3c11d2fa18
Move moveScreen to common surface functions for graphics
...
svn-id: r23218
2006-06-21 11:33:04 +00:00
Torbjörn Andersson
49af7d44c2
Applied patches from bug report #1276480 , "GUI: Accented characters". This
...
changes quite a lot of things in the font renderer and the convbdf tools, so
there may be regressions, but we want this feature for 0.9.0.
svn-id: r23208
2006-06-20 22:50:27 +00:00
Torbjörn Andersson
df4f95f805
Let the [cursor] palette manager handle disableCursorPalette() too, to avoid
...
cursor glitch in at least some HE games which first set a cursor palette, and
then disable it. (The disabled palette would be re-enabled after dismissing the
GUI.)
svn-id: r23081
2006-06-13 09:48:46 +00:00
Torbjörn Andersson
f57f024822
Format the guifont[] data for better readability
...
svn-id: r22916
2006-06-04 15:39:08 +00:00
Torbjörn Andersson
3114f19d94
MPEG player fixes:
...
* Initialise _frameWidth and _frameHeight to prevent them from being undefined.
* Fix BS2 subtitle positioning. (Fixes bug #1499916 )
* In BS2, copy the frame to the backend in 8-bit mode.
* Fix compilation in 8-bit mode.
BS2 subtitles aren't quite right in 8-bit mode, but I expect we want to
re-design things a bit if we ever add DXA cutscenes. We can fix minor details
then.
svn-id: r22859
2006-06-03 09:43:10 +00:00
Torbjörn Andersson
c8d3f5a80f
Should use delete[] instead of delete here, too. (I knew where the cursor
...
manager code was copied from. :-)
svn-id: r22675
2006-05-27 11:55:03 +00:00