Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-09 | GRAPHICS: Fix rects handling in ManagedSurface::copyFrom | Le 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-09 | GRAPHICS: Fix ManagedSurface::copyFrom memory handling | Le 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-27 | GRAPHICS: Initialize potentially uninitialized variables | Filippos Karapetis | |
2019-05-01 | COMMON: Replace NEResourceType and PEResourceType with a shared enum | Cameron Cawley | |
2019-05-01 | GRAPHICS: Look for fonts.dat in extrapath | Bastien 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-28 | IMAGE: Allow setting the output pixel format to the JPEG decoder | Bastien Bouclet | |
2019-04-26 | GRAPHICS: Fix ManagedSurface dirty rects when drawing lines | Daniel | |
Fixes an invalidRect assert when drawing lines which don't go from top-left to bottom-right. | |||
2019-04-01 | GRAPHICS: Add a PixelType to ColorMasks. | Johannes Schickel | |
This PixelType is the underlying type (uint16/uint32) of a pixel specified by ColorMasks. | |||
2019-04-01 | GRAPHICS: Return value in dummy functions | Eric Culp | |
2019-04-01 | GRAPHICS: Respect alpha and rgba formats in interpolation and conversion | Eric Culp | |
2019-04-01 | GRAPHICS: Fix braces in two interpolate functions | Eric Culp | |
2019-04-01 | GRAPHICS: 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-01 | GRAPHICS: Change Edge filter to use shared interpolation functions | Eric Culp | |
2019-04-01 | GRAPHICS: Add dummy specializations for some interpolate* functions | Eric 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-01 | GRAPHICS: Fix typo of qlowBits | Eric Culp | |
2019-04-01 | GRAPHICS: Add 32bit versions of interpolate* functions | Eric Culp | |
2019-03-12 | GUI: Fix loading new (not already cached) localized fonts | Thanasis Antoniou | |
2019-03-10 | GUI: 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-03 | GRAPHICS: Fix dstFormat check in Surface::convertTo | Cameron Cawley | |
2019-03-02 | GRAPHICS: Support converting to 3Bpp surfaces | Cameron Cawley | |
2018-12-25 | GRAPHICS: Add a function to load TrueType fonts from fonts.dat | Cameron Cawley | |
2018-12-23 | GRAPHICS: MACGUI: Make use of Common::String::format (#1454) | Cameron Cawley | |
2018-12-09 | GLK: Standardizing uint vs uint32 usage | Paul Gilbert | |
2018-12-08 | GRAPHICS: Add convertToInPlace method to ManagedSurface | Paul Gilbert | |
2018-11-14 | GRAPHICS: Add deltax optional parameter to Font drawString U32String version | Paul Gilbert | |
2018-11-14 | KYRA: implement SJIS features required for EOB II FM-Towns | athrxx | |
- low res font drawing for intro and outro texts - fat print mode for ingame texts | |||
2018-10-24 | SURFACESDL: Respect filtering setting when performing aspect ratio correction | Thierry Crozat | |
2018-09-08 | GRAPHICS: Simplify trig usage in primitives | David 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-18 | COMMON: Move new_strdup to common/str.cpp | Cameron Cawley | |
2018-08-18 | GRAPHICS: Fix incorrect maximum length passed to strlcpy | Colin Snover | |
2018-08-18 | GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/delete | Colin Snover | |
2018-08-17 | JANITORIAL: Removing trailing spaces after int casts | Paul Gilbert | |
2018-08-05 | GRAPHICS: MACGUI: fixed mem leak in MacText | Andrei Prykhodko | |
2018-08-03 | GRAPHICS: Improve check to test if text fits in the target surface | Bastien Bouclet | |
When rendering text, especially truetype fonts, we would use the next character avance metric to check if the character fits in the target surface. This commit changes it to use the bounding box metric. The bounding box represents the actual pixels that will be touched when drawing the character. This fixes an issue noticed on the main menu of Myst ME where the last character of the string "OPTIONEN" would not be rendered despite there being enough room to render it. More precisely, this ensures that calling Font::getBoundingBox for a string, and then passing a surface exactly the size of the returned bounding box to the draw function actually renders all the characters. | |||
2018-08-03 | GRAPHICS: Set thumbnail to nullptr when loading the thumbnail is skipped | David Fioramonti | |
Since Graphics::loadThumbnail can return successfully when a thumbnail is skipped the caller may want to check to the see that the thumbnail is not null before using it. Setting it to null is just defensive in case the caller didn't do so. If the user tries to use the thumbnail in setThumbnail then it will just show a black screen for the thumbnail rather than crashing if they have not set the thumbnail to null. | |||
2018-08-02 | COMMON: Fix kerning issue in wordWrapText. | Ľubomír Remák | |
2018-07-30 | GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow | Andrei Prykhodko | |
2018-07-29 | GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to ↵ | Andrei Prykhodko | |
disable cursor handler | |||
2018-07-29 | GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULL | Andrei Prykhodko | |
2018-07-26 | GRAPHICS: MACGUI: fixed restoring screen | Andrei Prykhodko | |
2018-07-26 | GRAPHICS: MACGUI: added field initialization | Andrei Prykhodko | |
2018-07-26 | GRAPHICS: MACGUI: fixed memory leak | Andrei Prykhodko | |
2018-07-23 | GRAPHICS: MACGUI: Restore screen on exiting from menu | Eugene Sandulenko | |
2018-07-22 | GRAPHICS: MACGUI: fixes for menu parser from win exe | Andrei Prykhodko | |
2018-07-22 | GRAPHICS: MACGUI: added unicode submenu rendering | Andrei Prykhodko | |
2018-07-22 | GRAPHICS: MACGUI: fixed engine unpausing after releasing mouse | Andrei Prykhodko | |
2018-07-22 | GRAPHICS: MACMENU: added missing field initialization | Andrei Prykhodko | |
2018-07-21 | GRAPHICS: MACGUI: Fix color searching | Eugene Sandulenko | |
2018-07-21 | GRAPHICS: MACGUI: Fix compilation | Eugene Sandulenko | |
2018-07-21 | GRAPHICS: MACMENU: added menu parser from Win32 PE executable | Andrei Prykhodko | |