Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-07-21 | GRAPHICS: MACMENU: added partial unicode support | Andrei Prykhodko | |
It misses renderSubmenu impl and accelerator rendering | |||
2018-07-20 | GRAPHICS: MACGUI: moved engine ptr, pause callback to private section | Andrei Prykhodko | |
2018-07-20 | GRAPHICS: MACGUI: added initialization of engine ptr | Andrei Prykhodko | |
2018-07-18 | GRAPHICS: MACGUI: added WMModalMenuMode | Andrei Prykhodko | |
2018-07-12 | GRAPHICS: MACGUI: Do not use hardcoded colors | Eugene Sandulenko | |
2018-07-11 | GRAPHICS: MACGUI: Added isMenuActive() helper method | Eugene Sandulenko | |
2018-07-11 | GRAPHICS: MACMENU: Calculate menu bounds after adding static items | Eugene Sandulenko | |
2018-07-11 | GRAPHICS: MACGUI: Made autohiding menu reentrable | Eugene Sandulenko | |
2018-07-11 | GRAPHICS: MACGUI: Implemented autohide menus | Eugene Sandulenko | |
2018-07-11 | GRAPHICS: MACGUI: Added possibility to specify WM behaviour | Eugene Sandulenko | |
2018-07-08 | GRAPHICS: fixed creating cursor group from some old executables | Andrei Prykhodko | |
2018-07-03 | GFX: Use degree conversion common math funcs | David Fioramonti | |
2018-06-03 | GRAPHICS: Remove BOM at start of larryscale files | Thierry Crozat | |
Note that larryScale_generated.cpp still contains UTF-8 characters, but they are all in comments, so hopefully they will not cause problems. | |||
2018-06-03 | Merge pull request #1141 from DanielSWolf/larryscale | Thierry Crozat | |
SCI: High-quality "LarryScale" cel scaler for LSL7 | |||
2018-04-22 | JANITORIAL: Fix formatting | Adrian Frühwirth | |
2018-04-19 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2018-04-15 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2018-04-07 | ALL: Load savegame thumbnail only when necessary | Adrian Frühwirth | |
This commit introduces the following changes: 1. Graphics::loadThumbnail() Now returns a boolean and takes a new argument skipThumbnail which defaults to false. In case of true, loadThumbnail() reads past the thumbnail data in the input stream instead of actually loading the thumbnail. This simplifies savegame handling where, up until now, many engines always read the whole savegame metadata (including the thumbnail) and then threw away the thumbnail when not needed (which is in almost all cases, the most common exception being MetaEngine::querySaveMetaInfos() which is responsible for loading savegame metadata for displaying it in the GUI launcher. 2. readSavegameHeader() Engines which already implement such a method (name varies) now take a new argument skipThumbnail (default: true) which is passed through to loadThumbnail(). This means that the default case for readSavegameHeader() is now _not_ loading the thumbnail from a savegame and just reading past it. In those cases, e.g. querySaveMetaInfos(), where we actually are interested in loading the thumbnail readSavegameHeader() needs to explicitely be called with skipThumbnail == false. Engines whose readSavegameHeader() (name varies) already takes an argument loadThumbnail have been adapted to have a similar prototype and semantics. I.e. readSaveHeader(in, loadThumbnail, header) now is readSaveHeader(in, header, skipThumbnail). 3. Error handling Engines which previously did not check the return value of readSavegameHeader() (name varies) now do so ensuring that possibly broken savegames (be it a broken thumbnail or something else) don't make it into the GUI launcher list in the first place. | |||
2018-03-23 | JANITORIAL: Fix formatting | Adrian Frühwirth | |
2018-03-17 | GRAPHICS: Dont clip in the non-clip version of drawRoundedSquareAlg | Bastien Bouclet | |
Fixes missing modern theme GUI dialog borders when using the non-antialiased renderer. |