aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-05COMMON: changed code page constant name from ascii to utf8Andrei Prykhodko
2018-08-05PINK: implemented text drawing in ActionText for English versionAndrei Prykhodko
2018-08-05COMMON: made code pages conversion arrays static and constantAndrei Prykhodko
2018-08-05COMMON: named CodePage enumAndrei Prykhodko
2018-08-05COMMON: added method to convert text from various code pages to UnicodeAndrei Prykhodko
2018-08-04BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuildsBastien Bouclet
2018-08-04BUILD: Check if pkg-config is availableBastien Bouclet
2018-08-04BUILD: Prefer pkg-config over freetype-config if possibleLars Wendler
As of freetype-2.9.1 the freetype-config script no longer gets installed by default.
2018-08-04BUILD: List all used environmental variables in configure helpColin Snover
2018-08-04BUILD: Respect all build tool overrides from environmentColin Snover
Previously, only CXX could be overridden by the environment, which made it impossible to correctly set tools for cross-compiler toolchains which were not compatible with the default system tools.
2018-08-04MOHAWK: RIVEN: Fix crash when clicking on a marble with the mouse movingBastien Bouclet
In some cases a mouse moved event could be handled between the moment the xtakeit script was queued and the moment it is executed (on the same frame), causing the mouse position no longer to be over a marble rectangle. Fixes #10647.
2018-08-03GRAPHICS: Improve check to test if text fits in the target surfaceBastien 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-03I18N: Update translations templatesThierry Crozat
2018-08-03SAGA: Deduplicate kScriptTimeTicksPerSecond constantAdrian Frühwirth
2018-08-03GROOVIE: Allow saving via GMM and increase save slots to 25David Fioramonti
If the user enters in an invalid description for the save then it will be simplified by the saved name cache process in Script::savegame. I checked this with t7g, but not with the 11th guest or any other Groovie game. The original in-game loading/saving can still only access the first 10 save slots (0-9). Its possible to saving via the GMM when the game is interactive. Loading a game saved via the gui using the original in-game load menu works fine. Saving via the GMM with timestamp works, but only only saves the characters up to the first non-alpha non-letter characer.
2018-08-03I18N: Update translations templatesThierry Crozat
2018-08-03TINSEL: Add playTime to saved game and display itDavid Fioramonti
Also bumps the saved game format version to 3. I changed the order of how the data is saved so that the playtime could be read in without skipping as much data. This is because querySaveMetaInfos only needs the metafields where as saveload::DoRestore() needs more of the header. A crash was happening when trying to delete a saved game from the launcher. It is because the engine is not initalized. I assign a dummy value to resolve the issue. Loading saved games from previous versions works. When an old version saved game is loaded it will start with zero playtime. Old saved games are shown as not having playtime data.
2018-08-03VIDEO: Fix Theora playback when building with TremorCameron Cawley
2018-08-03LAB: By default skip thumbnail loading for readSaveGameHeaderDavid Fioramonti
This changes the convention back to skipping the thumbnail loading for readSaveGameHeader. querySaveMetaInfos is the only place it shouldn't be skipped.
2018-08-03GRAPHICS: Set thumbnail to nullptr when loading the thumbnail is skippedDavid 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-03BLADERUNNER: Add cos/sine tableDavid Fioramonti
This uses the one in Common. The engine now contains a 10-bit cosine and sine table. It used mostly for vector math. This also allows two vector functions to be removed from vector.h.
2018-08-03COMMON: Added Ukrainian languagelolbot-iichan
Common::UA_UKR is needed for FoxTail game at WinterMute engine
2018-08-02PINK: fixed bug when in walking state you choose another locationwhiterandrek
2018-08-02COMMON: Fix kerning issue in wordWrapText.Ľubomír Remák
2018-08-02NEWS: Formatting fixesEugene Sandulenko
2018-08-01PARALLACTION: Fix use-after-free on quitColin Snover
Parallaction::_gfx is referenced by objects destroyed when Parallaction::_input is destroyed so it cannot be destroyed first.
2018-08-01PARALLACTION: Fix null pointer dereference on quitColin Snover
2018-08-01PARALLACTION: Fix invalid array access at dialogue selectionColin Snover
Also removes an unnecessary second condition check for oldAnswer by moving that closer to its point of use.
2018-08-01NEWS: Mention new display stretch modeThierry Crozat
2018-08-01NEWS: Formatting fixesEugene Sandulenko
2018-07-31AUDIO: Fix broken physical audio CD playback on non-win32Bastien Bouclet
The play method did not override the base class due to the addition of the soundType parameter.
2018-07-31I18N: Update translations templatesThierry Crozat
2018-07-31MOHAWK: Fix Unused Variable Compiler Warning.D G Turner
This occurs when FreeType2 is not enabled and thus fontHeight variable is unused.
2018-07-31CRUISE: Fix Possible Invalid Thumbnail Pointer Access.D G Turner
2018-07-30I18N: Update translation (German)Lothar Serra Mari
Currently translated at 100.0% (989 of 989 strings)
2018-07-30COMMON: Fix HashMap never reusing erased items storageThierry Crozat
When erasing and inserting many items this caused the hashmap capacity to grow more than it should which resulted in performances issues (and possibly memory issues as well). The issue was reported on IRC today with the wintermute engine.
2018-07-30I18N: Update translations templatesThierry Crozat
2018-07-30MOHAWK: MYST: Add support for the localized 25th gamesBastien Bouclet
2018-07-30DM: Fix Possible Uninitialized Variable Usage Compiler Warnings.D G Turner
2018-07-30AUDIO: Fix Compiler Shadowing Warnings.D G Turner
2018-07-30GRAPHICS: MACGUI: fixed memory leaks in MacTextWindowAndrei Prykhodko
2018-07-30I18N: Regenerate translations data fileThierry Crozat
2018-07-29PINK: force cursor updating when entering to pda pageAndrei Prykhodko
2018-07-29PINK: fixed Coverity warningsAndrei Prykhodko
2018-07-29PINK: add partial implementation of ActionTextAndrei Prykhodko
2018-07-29GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to ↵Andrei Prykhodko
disable cursor handler
2018-07-29GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULLAndrei Prykhodko
2018-07-29I18N: Update translations templatesThierry Crozat
2018-07-29GUI: Fix graphics options visibility depending on supported featuressThierry Crozat
2018-07-29I18N: Update translation (Italian)Paolo Bossi
Currently translated at 100.0% (989 of 989 strings)