aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2010-02-06Revert r47944: useless debug messages, sorry for the wrong commitArnaud Boutonné
svn-id: r47946
2010-02-06Add an assert to avoid a crash when printing the character 0x00.Arnaud Boutonné
svn-id: r47944
2010-02-05Silence a valgrind warning. The sound buffer should be created with malloc ↵Matthew Hoops
and not new[]. svn-id: r47896
2010-02-05Have SCI look through the patches directory (except in KQ6 where the patches ↵Matthew Hoops
in that directory are broken) to fix some GK1 Windows problems. Add the MSRLE codec to AVI (from DrMcCoy's Dark Seed II engine, with permission). GK1 Windows now will play the credits video. svn-id: r47894
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Some more header modifications ("Graphic Adventure Engine" and the legal ↵Arnaud Boutonné
property paragraph) svn-id: r47489
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-09Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a ↵Max Horn
higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it. svn-id: r47213
2010-01-09Yup, not checking for stereo sound was an accident hereSven Hesse
svn-id: r47195
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Rename QueuedAudioStream to QueuingAudioStreamMax Horn
svn-id: r47179
2010-01-08Switch Tinsel, MADE and some of the video players to QueuedAudioStreamMax Horn
svn-id: r47178
2010-01-07- Adapt documentation, that keycolor in setMouseCursor may not exceed the ↵Johannes Schickel
maximum color value of the specified format. - Change SDL backend to assert out on invalid keycolor values In case we really need a way to specify "no keycolor" we need to discuss on how to do it *properly*. svn-id: r47123
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2009-12-31Worked around what appears to be a bad JPEG image in the Masterpiece edition ofTorbjörn Andersson
Myst. If I dump the image to file, I'm able to read it into other programs, such as The GIMP, just fine. It seems that the only thing that's missing is the End Of Image marker, and what everyone else does is to just fake one. svn-id: r46795
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-12-30Use the special Cinepak YUV2RGB function in the Cinepak decoder. This makes ↵Matthew Hoops
the Riven videos match up with the backgrounds better. Thanks, Torbjorn\! svn-id: r46750
2009-12-30The wrapper for the VMD decoder is only used in the SCI engine for SCI32 ↵Filippos Karapetis
games, so moved it inside the engine, instead of common code. Added support for VMD video playing from the "play_video" console command svn-id: r46737
2009-12-29Fix warningEugene Sandulenko
svn-id: r46726
2009-12-29Updated module.mkFilippos Karapetis
svn-id: r46716
2009-12-29Added a thin wrapper around the VMD player class, so that it can be used ↵Filippos Karapetis
with the common VideoPlayer interface, to be used with videos from SCI32 games svn-id: r46715
2009-12-29Adding a getFrameWaitTime() method to get the frame waiting time instead of ↵Sven Hesse
directly waiting svn-id: r46712
2009-12-29Adding CoktelVideo::hasExtraData(void), for checking if /any/ extra data ↵Sven Hesse
files are embedded in the video file svn-id: r46710
2009-12-24JPEG tweaks and optimization (thanks to digitall)Scott Thomas
svn-id: r46522
2009-12-15GUI: Shorten button labels if too long, and improve the shortening logicMax Horn
svn-id: r46381
2009-12-10Hopefully fixing linking on MSVC:Johannes Schickel
svn-id: r46329
2009-12-09Properly clean up memory when destroying CursorManager.Johannes Schickel
svn-id: r46325
2009-12-09Cleanup: Move constructor/destructor definition of CursorManager::Cursor and ↵Johannes Schickel
CursorManager::Palette to cursorman.cpp. svn-id: r46324
2009-12-09Some more slight cleanup.Johannes Schickel
svn-id: r46314
2009-12-09Cleanup: remove "s_initialized" from CursorManager and FontManager ↵Johannes Schickel
implementation, these classes are Singletons, so they will ever only be initialized once at most anyway. svn-id: r46313
2009-12-09Move findCompatibleFormat from graphics/pixelformat.h to engines/engine.cppMax Horn
This function is used in only one place. Declaring it requires common/list.h; by putting it into pixelformat.h, which is included by common/system.h, tons of things suddenly included list.h for no good reason. If we ever need to call this function in other places, we can figure out aborts more appropriate place for it. svn-id: r46310
2009-12-09GRAPHICS: Change font code to be identical on all platformsMax Horn
svn-id: r46309
2009-12-09Slightly modified commit of patch #2911414 "MSVC: conversions warnings in ↵Johannes Schickel
common code". svn-id: r46308
2009-12-06Adding support for mono signed 16bit little-endian uncompressed PCM audio ↵Sven Hesse
(thank you, clone :)) svn-id: r46270
2009-11-30Only print sound information if there actually is sound (preventing a ↵Sven Hesse
division by 0 exception) svn-id: r46210
2009-11-30Properly clear the chunk headers again on closingSven Hesse
svn-id: r46209
2009-11-28Adding a parameter to the AviDecoder constructor to allow changing the ↵Sven Hesse
SoundType (instead of it being fixed to Plain) svn-id: r46170
2009-11-28Fixing a valgrind warning by memsetting _paletteSven Hesse
svn-id: r46169
2009-11-27Fixing an invalid read in the destructorSven Hesse
svn-id: r46164
2009-11-2700AM is another compressed frame type, fixing this (thanks to digitall for ↵Sven Hesse
figuring that out :D) svn-id: r46163
2009-11-27Extended the AviDecoder a bitSven Hesse
svn-id: r46162
2009-11-25TypoFilippos Karapetis
svn-id: r46135
2009-11-24Fix incorrectly placed doxygen comments; replace Common::ID2string by ↵Max Horn
Common::tag2string svn-id: r46127
2009-11-19Cleanup.Johannes Schickel
svn-id: r45993
2009-11-18Put two of the WinCE downscalers into graphics/scaler/downscaler*, so that ↵Max Horn
they can be used by multiple backends (more could be added as needed) svn-id: r45974