Commit Graph

203 Commits

Author SHA1 Message Date
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Torbjörn Andersson
2147f59e36 Converted some spaces to tabs.
svn-id: r30225
2008-01-05 08:17:39 +00:00
Max Horn
272f02e001 Replaced sqrtf by sqrt (the former causes more problems than the tiny potential improvement is worth it)
svn-id: r29905
2007-12-19 14:02:03 +00:00
Lars Persson
8695b4583f Include SQRTFS missing fix also for Symbian OS
svn-id: r29904
2007-12-19 09:28:35 +00:00
Max Horn
09028cc7aa Fixed typos
svn-id: r29793
2007-12-09 14:53:15 +00:00
Max Horn
b1a8b8a76b Fix for bug #1845876: MACOSX 10.2.8: sqrtf undefined
svn-id: r29791
2007-12-09 14:43:31 +00:00
Eugene Sandulenko
7844ad6f2c An attempt to implement thick line drawing.
svn-id: r29639
2007-11-25 13:33:28 +00:00
Johannes Schickel
31180e7981 Added assert for bit depth in Surface::move.
svn-id: r29522
2007-11-16 23:39:14 +00:00
Johannes Schickel
4985e35b38 Typo.
svn-id: r29521
2007-11-16 23:34:58 +00:00
Sven Hesse
b198e11f8a Muting the compiler :P
svn-id: r29443
2007-11-06 23:31:00 +00:00
Johannes Schickel
616c8357b4 - little bit more cleanup
- added fixme about Surface::move

svn-id: r29442
2007-11-06 23:03:19 +00:00
Johannes Schickel
3592690b78 Cleanup.
svn-id: r29441
2007-11-06 22:40:29 +00:00
Johannes Schickel
377ed4b1b4 Removed unnecessary extern.
svn-id: r29440
2007-11-06 22:34:55 +00:00
Travis Howell
9aa0a47846 Revert patch #1709219 - DXA Player: double size scaling option.
svn-id: r29351
2007-11-01 06:00:16 +00:00
Torbjörn Andersson
34a9e5bc04 Indentation.
svn-id: r29348
2007-10-31 22:44:08 +00:00
Eugene Sandulenko
3318c4b474 Slighly modified patch #1709219: "DXA Player: double size scaling option"
svn-id: r29347
2007-10-31 21:37:40 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Chris Apers
500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
Max Horn
c492e9c902 make use of RGBToColor<ColorMasks> > template function
svn-id: r28516
2007-08-11 08:02:19 +00:00
Travis Howell
fa282c173b Fix bug ##1767235 - Feeble Files: Video Playback garbled, game crashes.
svn-id: r28438
2007-08-04 02:19:11 +00:00
Robin Watts
10eeb453d6 Some optimisations to the DXA player to reduce the amount of needless mallocing
and memcpying it does.

This commit also contains some code protected by #ifdef DXA_EXPERIMENT_MAXD
that allows for reading an extended header on a .dxa file and using a MAXD
chunk, if found, to reduce the amount of memory required to play a movie.

Whether this gets enabled or not will ultimately depend on whether the savings
are justified (i.e. if we can find a case where it makes enough difference).

svn-id: r28047
2007-07-12 18:21:46 +00:00
Max Horn
6064b87625 Added minimal doxygen comments to CursorManager::isVisible() and CursorManager::showMouse()
svn-id: r27796
2007-06-30 18:10:39 +00:00
Travis Howell
6d7e938ca0 Fix crash regression, when playing OmniTV videos in The Feeble Files. Caused by _fd not been reset, after been delete.
svn-id: r27735
2007-06-27 01:31:08 +00:00
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