aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2011-06-20GRAPHICS: Cleanup and simplification of some PNG decoder codeFilippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-17GRAPHICS: Fix Valgrind warningeriktorbjorn
The stream class uses free() to automatically dispose of the buffer so it must be allocated with malloc(), not "new".
2011-06-16GRAPHICS: Fix decoding of 4bpp PNGsEugene Sandulenko
Fixes checkbox in options menu in Sword25.
2011-06-14SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709CeRiAl
2011-06-10ARM: Fix normal2x scaler for width % 4 != 0Willem Jan Palenstijn
The first jump to 'thin:' didn't leave r14 (remaining width) in the right state.
2011-06-10SCALERS: Fix for compiling for ARM without using ASM scalersCeRiAl
2011-06-08GRAPHICS: Move comment to the right function.Alyssa Milburn
2011-06-07JANITORIAL: Unbreak building with --disable-translationeriktorbjorn
I don't know if there is more code that can be removed when disabling translations, but this is the obvious obstacle.
2011-06-06GRAPHICS: Add kLocalizedFont in FontManagerThierry Crozat
This makes it easy to get a localized font for the current TranslationManager charset if one has been loaded. It tries first to find one for the BigGUI or GUI fonts and then looks for any acceptable font. Also only use lower case font name for the FontManager HashMap. This is to avoid issues with the case when looking for a font by its name. There was for example an issue for font helvB12 that is named helvb12 in the scummmodern theme.
2011-06-06GRAPHICS: Move genLocalizedFontFilename() to FontManager classThierry Crozat
It was defined in ThemeEngine class , but I moved it to make it possible to use localized font in other places.
2011-06-06GRAPHICS: Get rid of kSODFont (ScummFont)Thierry Crozat
OSD is now using the kGUIFont instead. The main advantage is that the kGUIFont can be used for translated text while only ASCII characters were present in ScummFont.
2011-06-04BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState callsMax Horn
2011-06-04COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPaletteMax Horn
2011-05-25GRAPHICS: flavour -> flavorMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-25ALL: neighbour -> neighborMatthew Hoops
2011-05-24GRAPHICS: Optimize the convertYUV420ToRGB function a bit moreMatthew Hoops
A template is used to avoid a bytesPerPixel check on every pixel and less deferences are done
2011-05-23GRAPHICS: Rename some members of NewFontMax Horn
2011-05-19GRAPHICS: Cleanup formattingMatthew Hoops
2011-05-19GRAPHICS: Allow auxiliary surface functions to be used for 32bpp surfacesMatthew Hoops
2011-05-18GRAPHICS: Update links to info on PICT+JPEGMatthew Hoops
2011-05-18GRAPHICS: Add some docs and sanity checks to the YUV to RGB codeMatthew Hoops
2011-05-18GRAPHICS: Add a YUV to RGB table lookup for use with TheoraMatthew Hoops
Based on the video/mpeg_player.* one, which is based on lots of other things (too many to name, go see the file)
2011-05-13COMMON: Added compilation safeguards for the png decodermd5
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-07GRAPHICS: use the new interpolate16_5_3peres
2011-05-07GRAPHICS: implement the long awaited interpolate16_5_3peres
2011-05-05GRAPHICS: Add a new MacCursor class for handling CURS/crsr cursorsMatthew Hoops
2011-05-02GRAPHICS: Turn printf into warningMax Horn
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-27PNG: Changed getPalette() to properly return a copy of the image palettemd5
2011-04-27PNG: Improved code readability a bitmd5
2011-04-25PNG: This PNG::getPalette.Johannes Schickel
Formerly the palette parameter was a value copy, which was assigned in getPalette. That did not make much sense, thus I changed it to be a reference. Since I am not quite sure whether this really shouldn't make a palette copy I added an TODO comment about it.
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-17GRAPHICS: Add a PixelFormat member to Surface.Johannes Schickel
2011-04-14GRAPHICS: Tidy up 4bpp handling a little.Alyssa Milburn
2011-04-14GRAPHICS: Handle 4bpp paletted PNG files.Alyssa Milburn
2011-04-14GRAPHICS: Replace PNG_HEADER macro with MKTAGAlyssa Milburn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-19ALL: s/PI/M_PI/dhewg
Tip of the day: git grep -w PI
2011-03-19GRAPHICS: Silenced a warningmd5
2011-03-07GRAPHICS: Cleanup WinCursorGroup functions a bitMatthew Hoops
ScopedPtr is now used on the streams to avoid having repetitive delete calls.
2011-03-07GRAPHICS: Add doxygen comments for WinCursorGroupMatthew Hoops
2011-03-07GRAPHICS: Fix a missing 'f'Matthew Hoops
Thanks, fuzzie