aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2019-09-15GRAPHICS: Fix MSVC Warning in Nine PatchD G Turner
2019-09-08GRAPHICS: Fix VectorRenderer's colorFillClip to apply the clipping rectBastien Bouclet
2019-09-07HDB: Remove useless returnsStrangerke
2019-09-03GRAPHICS: Added source transparency parameter to ManagedSurface::transBlitEugene Sandulenko
2019-09-03GRAPHICS: Fix Managed Surface alpha blendingEugene Sandulenko
2019-08-21GRAPHICS: Display Mac monochrome cursor inverted pixelssluicebox
Bug #7050
2019-08-17GUI: Fix GCC Compiler Warnings in GUI Theme Parser CodeD G Turner
This removes the usage of memset to clear complex structures and replaces them with constructor methods for the structures which will be executed when these are instantiated.
2019-08-11GRAPHICS: MACGUI: Allow loading menus from resource forksCameron Cawley
2019-08-10GRAPHICS: MACGUI: Use Common::String for addMenuItem and addMenuSubItemCameron Cawley
2019-08-10GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabledCameron Cawley
2019-08-09GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a ↵Cameron Cawley
Graphics::Cursor
2019-08-02COMMON: Explain new params for wordWrapText()Thanasis Antoniou
2019-08-02COMMON: Support text wrapping with even width line segmentsThanasis Antoniou
The new arguments are optional. The lines segments will be close to the same width. The algorithm is similar to the one we had for Blade Runner but not exactly the same, since that one would wrap a line at a white space after the theoretical split point (quotient of full line text width divided by target lines number)
2019-07-14GRAPHICS: Fix ManagedSurface transBlitFrom ignoring flipped parameterSupSuper
2019-07-14GRAPHICS: Fix wrong rect size when blitting subsurface to ManagedSurfaceSupSuper
We want the srcRect size and not the original surface size
2019-06-30JANITORIAL: Avoid C4121 warnings in MSVC by reordering fieldsLe Philousophe
C4121 is about 'symbol': alignment of a member was sensitive to packing
2019-06-24GRAPHICS: Fix fully transparent pixel blitlolbot-iichan
In BLEND_NORMAL mode with color != 0xffffffff, blending fully transparent pixel was resulted in slightly modifying some background colors, because old value X was a bit different from new value (X*255>>8). This fixes defect #10686 WME: Sprite background is not fully transparent if AlphaColor is set
2019-06-09GRAPHICS: Fix rects handling in ManagedSurface::copyFromLe Philousophe
Like in create(), when using copyFrom the whole surface gets new data and is now completely dirty so let's use markAllDirty.
2019-06-09GRAPHICS: Fix ManagedSurface::copyFrom memory handlingLe Philousophe
When calling ManagedSurface::copyFrom, _disposeAfterUse should be set to YES because inner surface frees up old pixels array and creates a new one.
2019-05-27GRAPHICS: Initialize potentially uninitialized variablesFilippos Karapetis
2019-05-01COMMON: Replace NEResourceType and PEResourceType with a shared enumCameron Cawley
2019-05-01GRAPHICS: Look for fonts.dat in extrapathBastien Bouclet
When running from the source tree, it is convenient to have extrapath set to dists/engine-data, where fonts.dat is located.
2019-04-28IMAGE: Allow setting the output pixel format to the JPEG decoderBastien Bouclet
2019-04-26GRAPHICS: Fix ManagedSurface dirty rects when drawing linesDaniel
Fixes an invalidRect assert when drawing lines which don't go from top-left to bottom-right.
2019-04-01GRAPHICS: Add a PixelType to ColorMasks.Johannes Schickel
This PixelType is the underlying type (uint16/uint32) of a pixel specified by ColorMasks.
2019-04-01GRAPHICS: Return value in dummy functionsEric Culp
2019-04-01GRAPHICS: Respect alpha and rgba formats in interpolation and conversionEric Culp
2019-04-01GRAPHICS: Fix braces in two interpolate functionsEric Culp
2019-04-01GRAPHICS: Change another interpolation function in Edge filter.Eric Culp
A 2 to 1 interpolation was causing errors. It is fixed, renamed, and moved to the common interpolation file.
2019-04-01GRAPHICS: Change Edge filter to use shared interpolation functionsEric Culp
2019-04-01GRAPHICS: Add dummy specializations for some interpolate* functionsEric Culp
They use ColorMask values not present in 2-byte ColorMasks. Since they should never be used on 2-byte pixel data, the dummy implementations assert(0) and should be removed by any optimizing compiler since no code path can ever reach them.
2019-04-01GRAPHICS: Fix typo of qlowBitsEric Culp
2019-04-01GRAPHICS: Add 32bit versions of interpolate* functionsEric Culp
2019-03-12GUI: Fix loading new (not already cached) localized fontsThanasis Antoniou
2019-03-10GUI: Allow GUI background colors other than black in Classic Theme (#1526)Lothar Serra Mari
GUI: Allow GUI background colors other than black in Classic Theme
2019-03-03GRAPHICS: Fix dstFormat check in Surface::convertToCameron Cawley
2019-03-02GRAPHICS: Support converting to 3Bpp surfacesCameron Cawley
2018-12-25GRAPHICS: Add a function to load TrueType fonts from fonts.datCameron Cawley
2018-12-23GRAPHICS: MACGUI: Make use of Common::String::format (#1454)Cameron Cawley
2018-12-09GLK: Standardizing uint vs uint32 usagePaul Gilbert
2018-12-08GRAPHICS: Add convertToInPlace method to ManagedSurfacePaul Gilbert
2018-11-14GRAPHICS: Add deltax optional parameter to Font drawString U32String versionPaul Gilbert
2018-11-14KYRA: implement SJIS features required for EOB II FM-Townsathrxx
- low res font drawing for intro and outro texts - fat print mode for ingame texts
2018-10-24SURFACESDL: Respect filtering setting when performing aspect ratio correctionThierry Crozat
2018-09-08GRAPHICS: Simplify trig usage in primitivesDavid Fioramonti
Combined if statements and simplified trig. cos(atan2(y,x)) = x / sqrt(x^2 + y^2) and sin(atan2(y,x)) = y / sqrt(x^2 + y^2).
2018-08-18COMMON: Move new_strdup to common/str.cppCameron Cawley
2018-08-18GRAPHICS: Fix incorrect maximum length passed to strlcpyColin Snover
2018-08-18GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/deleteColin Snover
2018-08-17JANITORIAL: Removing trailing spaces after int castsPaul Gilbert
2018-08-05GRAPHICS: MACGUI: fixed mem leak in MacTextAndrei Prykhodko