aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
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
2009-11-11Add missing ")" in #if check.Johannes Schickel
svn-id: r45834
2009-11-10Move definition of stdint types to the only file that needs them (mpeg_player.h)Max Horn
svn-id: r45820
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-16Override getAudioLag() in the AviDecoder (blatantly borrowed from the ↵Matthew Hoops
SmackerDecoder). svn-id: r45172
2009-10-16Converting AVIPlayer into a class that inherits from VideoDecoder and adapt ↵Matthew Hoops
SCI to use this. Also, moving the codec and Codec class into their own folder. (Based on a patch by md5) svn-id: r45170
2009-10-16Added a new convenience method to the video player, which adds the event of ↵Filippos Karapetis
skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used svn-id: r45151
2009-10-14gob: fix a regression in Bargon Attack intro caused by a fix of Ween ↵Arnaud Boutonné
problems. Still requires a more proper fix, but at least it doesn't hang anymore (closing bug #2878717) svn-id: r45080
2009-10-11Add support for 8x16 chars in the FM-Towns font ROM code.Johannes Schickel
svn-id: r44910
2009-10-11Revert changes to graphics/sjis.h in r44709.Johannes Schickel
svn-id: r44904
2009-10-09Some const correctness changes; cleanupMax Horn
svn-id: r44850
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-10-06KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when ↵Florian Kagerer
typing savegame names - fixed some minor bugs svn-id: r44709
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-10-02Whitespace changesMax Horn
svn-id: r44546
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495