aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2010-04-20Use the faster memset() in Surface::fillRect() for 16bit modes when possible.Andre Heider
svn-id: r48756
2010-04-19Document that the current Hercules mode thumbnail scaler code is pretty much ↵Johannes Schickel
aimed for SCUMM games. svn-id: r48736
2010-04-19Cleanup.Johannes Schickel
svn-id: r48735
2010-04-19Do not call OSystem::grabPalette() for 16bit modes, when the result is not ↵Andre Heider
used anyway for those modes. svn-id: r48733
2010-04-17Fixing some warnings (with gcc 3.3.6)Max Horn
svn-id: r48694
2010-04-17Fix for ARM Normal2xAspect scaler that was causing crashes when the screenRobin Watts
'shakes' (such as when the head/bomb goes of at the start of sam'n'max). Was overwriting the end of the screen when asked to plot a non-multiple of 5 lines. svn-id: r48690
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-18Commit salty-horse's patch for VectorRendererSpec.cpp, which fixes the use ↵Johannes Schickel
of invalid C++. svn-id: r48291
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-15Changing Imd::renderFrame() and Vmd::renderFrame() to properly clip the ↵Sven Hesse
drawing area to prevent overdrawing without producing garbage output svn-id: r48264
2010-03-15The frame coordinate cropping for IMDs is wrong, and should be unnecessary ↵Sven Hesse
anyway, since Imd::renderFrame() should already check for overblitting. This fixes bug #2969904 ("GOB3: Graphical Glitch in finished cutscene") svn-id: r48262
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