aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2011-11-21ALL: Remove unnecessary forward declarations.Christoph Mallon
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-11-14GRAPHICS: Comment unused variablesEugene Sandulenko
2011-10-27GRAPHICS: Add a Surface wrapper for drawThickLineMatthew Hoops
2011-10-27GRAPHICS: Make drawThickLine take a thickness in both x and y directionsMatthew Hoops
2011-10-07GRAPHICS: Fix PICT buffer overflowMatthew Hoops
2011-10-07GRAPHICS: Add support for true 32bpp DirectBits imagesMatthew Hoops
2011-10-07GRAPHICS: Add support for multiple CompressedQuickTime callsMatthew Hoops
2011-10-07GRAPHICS: Properly parse the CompressQuickTime headerMatthew Hoops
2011-10-07GRAPHICS: Rewrite PictDecoder's opcode handlingMatthew Hoops
In preparation for adding support for multiple CompressedQuickTime opcodes
2011-11-14COMMON: Remove some double-underscore defines (reserved)Willem Jan Palenstijn
2011-10-23GUI: Add support for PNG images in themesEugene Sandulenko
2011-09-06GRAPHICS: Remove dithering code.Johannes Schickel
The code is not used anymore and neither the Mohawk developers, who expressed that they might need dithering for some games, nor DrMcCoy, who wrote it, need this code anymore. In the worst case if anyone needs it again, we can revert this commit.
2011-08-23GRAPHICS: Formatting.Johannes Schickel
2011-08-23GRAPHICS: Display warning in case the SJIS.FNT version does not match.Johannes Schickel
2011-08-22GRAPHICS: Fix indentationSven Hesse
2011-08-21BADA: Fixup indentation using tabs in lieu of space charsChris Warren-Smith
2011-08-21BADA: Code formatting and style changes following reviewChris Warren-Smith
2011-08-21BADA: Prevent assertion failure when allocating zero bytesChris Warren-Smith
2011-08-21BADA: Updated code formatting in assignFontToUsage()Chris Warren-Smith
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
2011-08-16GRAPHICS: Add a default Windows cursorMatthew Hoops
Based on the Mohawk one
2011-08-16GRAPHICS: Add cursor palette start/count functionsMatthew Hoops
2011-08-16GRAPHICS: Create base Cursor class for Mac/Win cursorsMatthew Hoops
2011-08-07GRAPHICS: Slight formatting fix.Johannes Schickel
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06JANITORIAL: Remove SVN keywordsEugene Sandulenko
2011-07-18Merge pull request #50 from clone2727/binkclone2727
Add support for Bink video to SCUMM HE
2011-07-10GRAPHICS: remove char/line spacing handling from sjis codeathrxx
(as discussed with LordHoto this should rather be handled in the engine)
2011-07-09SCUMM: Make use of graphics/sjis code for LOOM PCE sjis drawingathrxx
Also move font rom loader to graphics/sjis and make the necessary changes there.
2011-07-02GRAPHICS: Note that SCUMM now uses the YUV to RGB codeMatthew Hoops
2011-07-01GRAPHICS: Fix possible memory leak in BdfFont code.Johannes Schickel
2011-07-01GRAPHICS: Rename NewFont to BdfFont.Johannes Schickel
2011-07-01GRAPHICS: Format NewFont code with astyle.Johannes Schickel
2011-07-01GRAPHICS: Move NewFont code to a separate file.Johannes Schickel
2011-07-01GRAPHICS: Fix SJIS PCE font loading.Johannes Schickel
2011-07-01GRAPHICS: More default parameter remove in SJIS code.Johannes Schickel
2011-07-01GRAPHICS: 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-01GRAPHICS: Offer support for PCE font data of SJIS.FNT.Johannes Schickel
2011-07-01GRAPHICS: Cleanup SJIS font code a bit.Johannes Schickel
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri 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-26GRAPHICS: Generalized arbitrary bit depth images processing in PNG decoder.Eugene Sandulenko
This fixes 1bpp image rengering.
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
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-23BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings ↵Julien
by initializing the buffers to 0
2011-06-23GRAPHICS: Allocate Common::PEResources on the heap in WinFont::loadFromPE()Julien
2011-06-23AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with mallocJulien
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".