aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-01Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)Chris Apers
svn-id: r28803
2007-08-11make use of RGBToColor<ColorMasks> > template functionMax Horn
svn-id: r28516
2007-08-04Fix bug ##1767235 - Feeble Files: Video Playback garbled, game crashes.Travis Howell
svn-id: r28438
2007-07-12Some optimisations to the DXA player to reduce the amount of needless mallocingRobin Watts
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-06-30Added minimal doxygen comments to CursorManager::isVisible() and ↵Max Horn
CursorManager::showMouse() svn-id: r27796
2007-06-27Fix crash regression, when playing OmniTV videos in The Feeble Files. Caused ↵Travis Howell
by _fd not been reset, after been delete. svn-id: r27735
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
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-12Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble ↵Travis Howell
Files. svn-id: r27371
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-27Reverted r26922.Johannes Schickel
svn-id: r26967
2007-05-22oopsJohannes Schickel
svn-id: r26923
2007-05-22Simpilified Singleton implementation and usage.Johannes Schickel
svn-id: r26922
2007-05-01Renamed decodeILBM to decodePBM, removed a TODOFilippos Karapetis
svn-id: r26731
2007-05-01- Fixed 32/64 bits pointer mismatch.Nicola Mettifogo
- Changed Surface's forward from class to struct. svn-id: r26727
2007-05-01Fix missing include.Nicola Mettifogo
svn-id: r26725
2007-05-01Fix compilation.Nicola Mettifogo
svn-id: r26720
2007-05-01Implemented a IFF (Interchange File Format) parser and added subclasses to ↵Nicola Mettifogo
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-04-27Patch #1705747: Speedups for plotYUV and related functionsMax Horn
svn-id: r26603
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-03-27- added new subclass ILBMDecoder, to decode ILBM subtype of IFF filesNicola Mettifogo
- some bug fixing on the hierarchy svn-id: r26310
2007-03-25cleanupJohannes Schickel
svn-id: r26303
2007-03-25Added new base class Graphics::IFFDecoder and subclass Graphics::PBMDecoder ↵Nicola Mettifogo
as a reimplementation of Graphics::decodeILBM. Old function will be removed when engines are updated. svn-id: r26302
2007-03-08Replaced uses of fprintf() with warning() or error()Max Horn
svn-id: r26022
2007-02-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2007-01-01Always reset _scaledBuffer to zero when playing video, to prevent double free.Travis Howell
svn-id: r24962
2006-12-18Change position of scale code, Scale code shouldn't have been FRAM specificTravis Howell
svn-id: r24871
2006-12-18Check _scaleMode when decoding a NULL frame. Otherwise we will draw theTorbjörn Andersson
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-15Fix regression. It crashed with orignial DXA files.Eugene Sandulenko
svn-id: r24856
2006-12-14Only allocate _scaleBuffer when required.Travis Howell
svn-id: r24847
2006-12-14When drawing an interlaced frame, only clear every other line instead of theTorbjörn Andersson
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-11Add cyx's patch for endian issues in DXA playerTravis Howell
svn-id: r24844
2006-12-11Whitespace changesTravis Howell
svn-id: r24843
2006-12-11Adjust DXA scaling code for Broken Sword 1Travis Howell
svn-id: r24841
2006-12-11Fix typo in initial _scaleBuffer checkTravis Howell
svn-id: r24840
2006-12-11Add patch #1611503 - DXA: Improved encoder (filesize and speed)Travis Howell
svn-id: r24838
2006-10-08- Added dialog for selecting the theme to useJohannes Schickel
- Added runtime theme switching svn-id: r24213
2006-10-08fixed assert in isspace function because wrong variable type for chars when ↵Paweł Kołodziejski
they value is greater then 128. isspace take as "int" type param (at least in ms sdk) svn-id: r24210
2006-08-27Renamed constant to reflect recent change of file name.Torbjörn Andersson
svn-id: r23777
2006-08-27Renamed graphics/animation.[cpp|h] to graphics/mpeg_player.[cpp|h] to be moreTorbjörn Andersson
consistent with dxa_player.[cpp|h]. (Though actually, "decoder" might be more accurate...) svn-id: r23774
2006-08-26Now that the cutscene handling in both BS1 and BS2 has been extended to playTorbjörn Andersson
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-07-30Added explicit string equals/hash functors to a new header ↵Max Horn
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-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-07-08Added support for DXA cutscenes, while still retaining support for the old MPEGTorbjörn Andersson
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-06-28Correct docs for copyFrameToBuffer()Travis Howell
svn-id: r23336
2006-06-28Add patch #1504492 - DXA: New compression schemeTravis Howell
svn-id: r23333
2006-06-28Add eriktorbjorn's patch for DXA unification, with more changesTravis Howell
svn-id: r23332
2006-06-25Fixes a warning with VC++ 2005 Express.Oystein Eftevaag
svn-id: r23307
2006-06-24fix character clipping as mentioned by Marcus on the mailing list on 22 juneWillem Jan Palenstijn
svn-id: r23292