aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2019-04-09COMMON: fixed reading ini files with section containing more than one wordAndrei Prykhodko
2019-03-09JANITORIAL: Update all scummvm.org URLS to use httpsCameron Cawley
2019-03-03COMMON: Allow '\#' to match '#' in matchStringsluicebox
matchString patterns couldn't be used to find files with the # character as it was only treated as a digit wildcard. SCI expected that to work as it looks for files that start with the # character.
2019-03-02COMMON: Add WRITE_UINT24Cameron Cawley
2019-01-30COMMON: Include hidden files in directory listings by defaultBastien Bouclet
Hidden files are now only ignored in the GUI file browser when the user has not checked 'show hidden files'. Myst III has the hidden flag set for one of the directories containing datafiles on the CD-ROM. When users copy the files to their hard drives the hidden flag is kept. Detection worked previously because hidden files were explicitly requested in the AD code. The engine would fail to open the datafiles because SearchMan.addSubDirectoryMatching ignored hidden directories.
2019-01-05COMMON: Remove usage of ScopedPtr in OutSaveFileBastien Bouclet
It's not very useful. However this is mostly to test the theory that the build failure we've been experiencing in engines/scumm/he/logic/football.cpp with the osx builder on buildbot is related to the size of the intermediary assembly source file.
2019-01-01COMMON: Suport String in U32String assignment & equality operatorsPaul Gilbert
2018-12-26JANITORIAL: Fix comment style for kFeatureSystemBrowserDialogMatan Bareket
2018-12-17COMMON: Rename enum variable for native browser featureThierry Crozat
There was a typo in the name (missing 'r' in browser).
2018-12-17WIN32: Move all ARRAYSIZE undefs to util.hSupSuper
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-16BACKENDS: Add kFeatureNativeFileBowserDialogThierry Crozat
2018-12-16JANITORIAL: Fix typo in commentThierry Crozat
2018-12-16BACKENDS: Hook GUI browser to DialogManagerSupSuper
2018-12-16BACKENDS: Add base support for system dialogsSupSuper
2018-11-27CREATE_PROJECT: Support building with Tremor instead of VorbisCameron Cawley
2018-11-04BACKENDS: Remove references to the GP32 backendCameron Cawley
2018-11-04VIDEO: Use liba52 to decode audio. This is still laughably brokenTorbjörn Andersson
At the moment, this produces nothing but misery in the form of Valgrind warnings and horrible noise.
2018-11-03COMMON: Add Portuguese (Portugal) Language.D G Turner
The current Portuguese entry is Brazilian dialect, so modifying the description and adding an entry for European Portuguese. This is required to deal with bug Trac #10791.
2018-10-26COMMON: Add Danish Language.D G Turner
This is required in PINK engine for danish localization as per Trac bug #10708.
2018-10-14COMMON: Add mutex to protect access to the String memory poolThierry Crozat
This fixes a crash due to concurrent access to the global MemoryPool used by the String class when String objects are used simultaneously from several threads (as is for example the case when enabling the cloud features). See bug #10524: Thread safety issue with MemoryPool
2018-10-14OSYSTEM: Add backendInitialized() functionThierry Crozat
Some feature, such as mutexes, are only available once the backend has been initialized. This new function can be used to avoid using those feature too early or too late.
2018-09-01SCI32: Add a game option to double the videos in KQ7 by defaultFilippos Karapetis
Scaling works correctly with the Windows variant, which uses AVI files, but the DOS variant uses Robot videos, and the way scaling is done there is different, and is not working yet with KQ7 DOS. Nonetheless, both versions are included in the game, so it's not a major issue.
2018-08-25COMMON: Cos/Sin Table switch internal structure so at() is fasterDavid Fioramonti
A new internal table has been added so that no if checks need to be performed for the at() lookup. The old table can still be accessed using getTable or atLegacy(). at() and atLegacy() return the same values, but at() is faster.
2018-08-25COMMON: Update RDFT and DCT cos/sin table constructor usageDavid Fioramonti
When the constructor for the cos/sin table was changed from number of bits to number of points all usages thoughout the code should of been changed, but this was missed in RDFT and DCT. Fixes Trac#10683.
2018-08-25MUTATIONOFJB: Use advanced detector.Ľubomír Remák
2018-08-18COMMON: FFT update cos/sin table constructor changeDavid Fioramonti
They now take in the size rather than the power of 2 exponent.
2018-08-18COMMON: allow cos/sin number of points to be more flexibleDavid Fioramonti
Previously, the cos/sin table had to be a power of 2, but there are many use cases where the number of points is not necessarily a power of 2 so this change the constructor so it now takes in the number of points rather than the number of points as the exponent of a power of 2. The restriction is that the size must be divisible by 4.
2018-08-18COMMON: Make strdup a forbidden symbolCameron Cawley
2018-08-18COMMON: Move new_strdup to common/str.cppCameron Cawley
2018-08-05COMMON: changed code page constant name from ascii to utf8Andrei 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-03COMMON: Added Ukrainian languagelolbot-iichan
Common::UA_UKR is needed for FoxTail game at WinterMute engine
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-25COMMON: Add at() index function to cosine/sine tableDavid Fioramonti
The cos/sin table class now has an at() function for indexing safely into its internal array. This allows the checking and computing of the correct indexes to be done internally. The indexing in allows cos/sine of 0 to 2pi to be obtained. The values returned by getTable are the same as before. Comments that describe the values that the table contains has been modified to line up with what the code is doing.
2018-07-08GUI: Add Stretch Mode selection in Options dialogThierry Crozat
2018-07-08OSYSTEM: Add Stretch Mode APIThierry Crozat
2018-06-28COMMON: Added Finnish language constantsEugene Sandulenko
2018-06-18COMMON: Add simplistic UTF8->UTF32 converterEugene Sandulenko
2018-06-07MOHAWK: Display a GUI error message when no audio devices are availableBastien Bouclet
2018-06-04COMMON: More nullptr usage in common/ptrDavid Fioramonti
Replaces some more ptr=0 with ptr=nullptr.
2018-06-03Merge pull request #1141 from DanielSWolf/larryscaleThierry Crozat
SCI: High-quality "LarryScale" cel scaler for LSL7
2018-05-28COMMON: coding convention improvements for degree conversion funcsDavid Fioramonti
Removed whitespace before template keyword. Made template types camel case starting with lowercase.
2018-05-25COMMON: fix wrong size assignment in HashMapwhiterandrek
2018-05-24JANITORIAL: Fix trailing whitespaceAdrian Frühwirth
2018-05-20COMMON: Template deg2rad and rad2deg in Common/mathDavid Fioramonti
The input and output type can be different. Currently, rad2deg is only being used by sci (float to int) and deg2rad in wintermute.
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2018-04-30GUI: Make the tab completion case insensitive in the debug consoleBastien Bouclet
It made little sense for the tab-completion to be case sensitive while command execution itself is case insensitive.
2018-04-29COMMON: Add hasInstance() bool to singleton classLothar Serra Mari