Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-01 | GRAPHICS: Move NewFont code to a separate file. | Johannes Schickel | |
2011-07-01 | GRAPHICS: Fix SJIS PCE font loading. | Johannes Schickel | |
2011-07-01 | GRAPHICS: More default parameter remove in SJIS code. | Johannes Schickel | |
2011-07-01 | GRAPHICS: Remove default values from FontSJIS::drawChar. | Johannes Schickel | |
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls. | |||
2011-07-01 | GRAPHICS: Offer support for PCE font data of SJIS.FNT. | Johannes Schickel | |
2011-07-01 | GRAPHICS: Cleanup SJIS font code a bit. | Johannes Schickel | |
2011-06-30 | ALL: Require DECLARE_SINGLETON to be used in the Common namepsace | Ori Avtalion | |
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning. | |||
2011-06-26 | GRAPHICS: Generalized arbitrary bit depth images processing in PNG decoder. | Eugene Sandulenko | |
This fixes 1bpp image rengering. | |||
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx | |||
2011-06-23 | BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings ↵ | Julien | |
by initializing the buffers to 0 | |||
2011-06-23 | GRAPHICS: Allocate Common::PEResources on the heap in WinFont::loadFromPE() | Julien | |
2011-06-23 | AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc | Julien | |
2011-06-20 | GRAPHICS: Cleanup and simplification of some PNG decoder code | Filippos Karapetis | |
2011-06-20 | ALL: Remove trailing whitespaces | Max 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-17 | GRAPHICS: Fix Valgrind warning | eriktorbjorn | |
The stream class uses free() to automatically dispose of the buffer so it must be allocated with malloc(), not "new". | |||
2011-06-16 | GRAPHICS: Fix decoding of 4bpp PNGs | Eugene Sandulenko | |
Fixes checkbox in options menu in Sword25. | |||
2011-06-14 | SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709 | CeRiAl | |
2011-06-10 | ARM: Fix normal2x scaler for width % 4 != 0 | Willem Jan Palenstijn | |
The first jump to 'thin:' didn't leave r14 (remaining width) in the right state. | |||
2011-06-10 | SCALERS: Fix for compiling for ARM without using ASM scalers | CeRiAl | |
2011-06-08 | GRAPHICS: Move comment to the right function. | Alyssa Milburn | |
2011-06-07 | JANITORIAL: Unbreak building with --disable-translation | eriktorbjorn | |
I don't know if there is more code that can be removed when disabling translations, but this is the obvious obstacle. | |||
2011-06-06 | GRAPHICS: Add kLocalizedFont in FontManager | Thierry 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-06 | GRAPHICS: Move genLocalizedFontFilename() to FontManager class | Thierry Crozat | |
It was defined in ThemeEngine class , but I moved it to make it possible to use localized font in other places. | |||
2011-06-06 | GRAPHICS: 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-04 | BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls | Max Horn | |
2011-06-04 | COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette | Max Horn | |
2011-05-25 | GRAPHICS: flavour -> flavor | Matthew Hoops | |
2011-05-25 | ALL: behaviour -> behavior | Matthew Hoops | |
2011-05-25 | ALL: neighbour -> neighbor | Matthew Hoops | |
2011-05-24 | GRAPHICS: Optimize the convertYUV420ToRGB function a bit more | Matthew Hoops | |
A template is used to avoid a bytesPerPixel check on every pixel and less deferences are done | |||
2011-05-23 | GRAPHICS: Rename some members of NewFont | Max Horn | |
2011-05-19 | GRAPHICS: Cleanup formatting | Matthew Hoops | |
2011-05-19 | GRAPHICS: Allow auxiliary surface functions to be used for 32bpp surfaces | Matthew Hoops | |
2011-05-18 | GRAPHICS: Update links to info on PICT+JPEG | Matthew Hoops | |
2011-05-18 | GRAPHICS: Add some docs and sanity checks to the YUV to RGB code | Matthew Hoops | |
2011-05-18 | GRAPHICS: Add a YUV to RGB table lookup for use with Theora | Matthew 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-13 | COMMON: Added compilation safeguards for the png decoder | md5 | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-07 | GRAPHICS: use the new interpolate16_5_3 | peres | |
2011-05-07 | GRAPHICS: implement the long awaited interpolate16_5_3 | peres | |
2011-05-05 | GRAPHICS: Add a new MacCursor class for handling CURS/crsr cursors | Matthew Hoops | |
2011-05-02 | GRAPHICS: Turn printf into warning | Max Horn | |
2011-05-01 | Merge 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-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-28 | JANITORIAL: Format forward declarations to follow convention | Ori Avtalion | |
2011-04-27 | PNG: Changed getPalette() to properly return a copy of the image palette | md5 | |
2011-04-27 | PNG: Improved code readability a bit | md5 | |
2011-04-25 | PNG: 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-17 | ALL/GRAPHICS: Remove Surface::bytesPerPixel. | Johannes Schickel | |
2011-04-17 | GRPAHICS: Do not access Surface::bytesPerPixel anymore. | Johannes Schickel | |