aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Remove wcsncasecmp() usage from SimpleJSONAlexander Tkachev
Replaced with scumm_strnicmp().
2016-08-24CLOUD: Refactor SimpleJSONAlexander Tkachev
2016-08-24CLOUD: SimpleJSON refactorAlexander Tkachev
Resharper + manual methods & fields renaming.
2016-08-24CLOUD: Add SimpleJSON library (module.mk hotfix)Alexander Tkachev
Forgot to edit those.
2016-08-24CLOUD: Add SimpleJSON library as Common::JSONAlexander Tkachev
This commit also adds CloudThread class, which work() method is called every second by TimerManager. Right now it prints JSON examples on the console, so that's why it's introduced with SimpleJSON library.
2016-08-19COMMON: Added checkers for debug channels.Eugene Sandulenko
Sometimes there is a need to add debug execution and enable it from the command line. Now it is possible, both with debug levels and channels
2016-08-13COMMON: Introduce --debug-channels-only command line flag.Eugene Sandulenko
Many of our systems currently generate significant amount of debug output on deeper levels. Now, when your engine is using Debug Channels, you might want to show that debug information only, which is currently not possible, as the generic output will be mixed in your output. Alternative solution would be to implement possibility to specify per-channel debug levels.
2016-08-13Merge pull request #790 from salty-horse/clang_fixesWillem Jan Palenstijn
ALL: Don't use 'defined' in macro definitions
2016-08-12COMMON: Fix octal for GUIO_GAMEOPTIONS9Paul Gilbert
2016-08-04COMMON: Update GZipWriteStream::pos()Alexander Tkachev
Though it seemed the _wrapped stream should return valid position, it was always 0. That's why I've added a _pos field, which is updated in write() and returned in pos().
2016-08-04COMMON: Add WriteStream::pos()Alexander Tkachev
It returns int32, because some complex streams are derived from both WriteStream and ReadStream, and in ReadStream pos() returns int32, because -1 means an error. I had to change MemoryStream's uint32 to int32, which is probably not so good.
2016-08-01Merge pull request #786 from dreammaster/titanicEugene Sandulenko
TITANIC: Starship Titanic engine
2016-07-28Revert "BUILD: Fix test compilation with event recorder enabled"Bastien Bouclet
This reverts commit 1f8667c5d949070035390531e4f10c0f945d7352.
2016-07-28COMMON: Remove the EventRecorder dependency from OSystemBastien Bouclet
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-23ALL: Don't use 'defined' in macro definitionsOri Avtalion
This is undefined behavior and clang warns about it. See <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html>.
2016-07-10TITANIC: Implement TTparser normalizePaul Gilbert
2016-07-10SCI32: Add support for blacklined videoColin Snover
Ow. My eyeballs.
2016-07-02COMMON: Make MemoryWriteStreamDynamic private members protectedWillem Jan Palenstijn
2016-06-04COMMON: Fixed SortedArray implementationEugene Sandulenko
2016-05-28COMMON: Fix warning about shadowing class membersEugene Sandulenko
2016-05-23COMMON: Fix another warning.Eugene Sandulenko
We're shadowing the class variables with local ones.
2016-05-23COMMON: Remove const qualifiers.Eugene Sandulenko
We have to cast it back to void *, which loses const qualifier
2016-05-23COMMON: Fix warningEugene Sandulenko
2016-05-23COMMON: Fix SortedArray implementation for empty arrayEugene Sandulenko
2016-05-23BUILD: Fix test compilation with event recorder enabledEugene Sandulenko
2016-05-22COMMON: Fix SortedArray implementation.Eugene Sandulenko
Had to use a modified bsearch for finding the nearest element.
2016-05-22COMMON: Implement SortedArrayEugene Sandulenko
2016-05-19Merge pull request #688 from blorente/masterEugene Sandulenko
COMMON:String::replace and Common::replace functionality added.
2016-05-16COMMON: Add replace functions to Common and String.Borja Lorente Escobar
COMMON: Add replacement to common/algorithm.h COMMON: Intermediate commit to show doubts. COMMON: Basic String::replace() methods implemented. COMMON: Fix typo in the algorithm.h documentation. COMMON: Fix documentation of String::replace() COMMON: Fix formatting issues in method signatures. COMMON: Add assert and reformat loops in str and algorithm. COMMON: Fix typo in comment. COMMON: Fix style in string test cases. COMMON: Add Doxygen documentation to algorithm and String. COMMON: Add Doxygen documentation to algorithm and String. COMMON: Add Doxygen documentation to algorithm. COMMON: Fix style in algorithm comments. COMMON: Add Doxygen comments to String. COMMON: Add Doxygen comments to algorithm test function. COMMON: Add String support for substring replace. COMMON: Fix string replace to comply with STL COMMON: Fix documentation on string replace COMMON: Fix style in string replace COMMON: Fix unwanted reference problem in String::replace(). COMMON: Fix indentation in comments for replace COMMON: Fix indentation in replace COMMON: Fix comments in String::replace to match implementation. COMMON: Remove assert to allow for not-null-terminated character arrays COMMON: Add new test for String::replace COMMON: Fix broken comments on String::replace COMMON: Fix sharing bug on ensureCapacity COMMON: Remove superfluous call to makeUnique()
2016-05-16Merge pull request #745 from Cruel/3dsEugene Sandulenko
3DS: New Backend
2016-04-09UPDATES: Fix interval normalizationThierry Crozat
When given a valid value the normalization was returning the next valid value instead of returning the given one. This caused for example the interval to be changed each time we opened the options (and thus check to be automatically activated the first time the options were accessed).
2016-04-09UPDATES: Implemented method getLastUpdateCheckTimeAndDate()Eugene Sandulenko
Currently it uses methods and constants deprecated in 10.10. 10.10+ -specific code will follow
2016-04-063DS: Initial commitThomas Edvalson
2016-04-03UPDATES: Fix endless loopEugene Sandulenko
2016-04-03Merge pull request #735 from sev-/updates-guiEugene Sandulenko
UPDATES: Add GUI. Opt-in dialog and Options
2016-04-02Merge pull request #743 from fuzzie/apple2-platformEugene Sandulenko
COMMON: Add Apple II platform
2016-04-02COMMON: Add Apple II platformAlyssa Milburn
2016-04-01UPDATES: Implement and use method for normalizing interval value to accepted ↵Eugene Sandulenko
values
2016-04-01UPDATES: Added documentation to new methodsEugene Sandulenko
2016-03-31UPDATES: Got rid of hardcoded update intervals listEugene Sandulenko
2016-03-30UPDATES: Made interval set/get functions accept normal integersEugene Sandulenko
2016-03-28COMMON: Use better reallocation strategy in MemoryWriteStreamDynamic.Eugene Sandulenko
Fixes bug #6983: "SWORD25: long saving time"
2016-03-16Merge pull request #682 from lordhoto/savefilemanager-case-insensitiveJohannes Schickel
ALL: Make SaveFileManager case insensitive.
2016-03-01COMMON: Cleanup: Use StringArray instead of custom type.Johannes Schickel
2016-03-01COMMON: Add a method to list files to MacResManager.Johannes Schickel
2016-03-01COMMON: Fix Rect::intersects docWillem Jan Palenstijn
2016-02-25COMMON: Add documentation about savefile names.Johannes Schickel
2016-02-25COMMON: Beautify SaveFileManager documentation.Johannes Schickel
2016-02-18COMMON: Add convenience method to Common::Rational for 1:1 ratiosColin Snover
For SCI engine games, ratios may not be normalised and so to avoid extra scaling, there needs to be a way to simply check whether a ratio is 1:1.
2016-02-18COMMON: Add methods for inserting and erasing with iteratorsColin Snover
This provides improved feature parity to Common::List and is used in SCI32 engine.