aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-03-11Removing a debug warning() and adding some commentsSven Hesse
svn-id: r48236
2010-03-11Adding support for the very primitive and simply early IMD format used in ↵Sven Hesse
Fascination svn-id: r48233
2010-03-09Fix missing definition of gBitFormat.Robin Watts
svn-id: r48213
2010-03-08Conistenlty use USE_NASM instead of using HAVE_NASM in config.mk (this ↵Johannes Schickel
matches all the external library use too). svn-id: r48208
2010-03-08Use a template for hq2x and hq3x instead of using #include and defines.Johannes Schickel
svn-id: r48197
2010-03-08Fix compilation.Johannes Schickel
svn-id: r48196
2010-03-08Add new aspect ratio scaler variant, based on the Normal2xAspect ARM codeMax Horn
svn-id: r48195
2010-03-08Rewrite Normal1xAspect (untested, may be broken)Max Horn
svn-id: r48194
2010-03-08Remove redundant codeMax Horn
svn-id: r48193
2010-03-08Rename PocketPCLandscapeAspect to Normal1xAspect and move it toMax Horn
graphics/scaler/aspect.cpp svn-id: r48192
2010-03-08Rename PocketPCPortrait scaler to DownscaleHorizByThreeQuarters,Max Horn
and move it to graphics/scaler. svn-id: r48191
2010-03-08Move some var declarations into '#ifdef USE_NASM'Max Horn
svn-id: r48190
2010-03-08SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internalMax Horn
svn-id: r48189
2010-03-08Code formattingMax Horn
svn-id: r48188
2010-03-08SCALERS: Change 'bitformat' template params to 'colormasks';Max Horn
get rid of some #defines svn-id: r48187
2010-03-08Move some aspect ratio related stuff to graphics/scaler/aspect.hMax Horn
svn-id: r48186
2010-03-08Remove unnecessary #includesMax Horn
svn-id: r48185
2010-02-13Document Normal2xAspectMax Horn
svn-id: r48042
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