aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-03-07COMMON: Make the operator=(String) function be a const reference insteadMatthew Hoops
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-03-04GRAPHICS: Split the NE cursor code from the NEResources classMatthew Hoops
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-02COMMON: Remove newlines from debug()dhewg
They were interfering with my precious debug spew :P
2011-02-22COMMON: Add a key color field to NECursorMatthew Hoops
2011-02-22COMMON: Begin to merge some NE/PE codeMatthew Hoops
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22COMMON: Add a convenience function to ignore the language fieldMatthew Hoops
2011-02-22COMMON: Add default Windows PE typesMatthew Hoops
2011-02-22COMMON: Add basic PE EXE parserMatthew Hoops
Much thanks to fuzzie for her assistance
2011-02-20COMMON: Correct NE Resource Loader for Osystem RGBA->RGB Palette Change.D G Turner
2011-02-14COMMON: Make MacResManager::convertCrsrCursor to return a RGB palette.Johannes Schickel
2011-02-12JANITORIAL: Remove extraneous parenthesesOri Avtalion
svn-id: r55890
2011-02-10CONFIGURE: Add basic support for ICC.Johannes Schickel
svn-id: r55862
2011-02-09COMMON: Reduce overflow risk in Common::Rational += and -= operatorsMax Horn
svn-id: r55839
2011-02-09COMMON: Add comment that explains strange <= checks in gcd()Max Horn
svn-id: r55838
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-04COMMON: Only take the md5 of the resource fork data sectionMatthew Hoops
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code. svn-id: r55764
2011-01-30COMMON: Add an erase method which takes an iterator to HashMap.Johannes Schickel
Currently there is no iterator returned from this method, to have some similarity to associative containers of the STL. I also "added" one unit test for this method, which is basically just a copy of the HashMap::erase(const Key &) test with the required adaptions. svn-id: r55661
2011-01-28COMMON: Fixed memory leakage in unarj readHeader().David Turner
This manifested in Drascula. svn-id: r55582
2011-01-23COMMON: Added some very simple operators to the Point class (+, -, += and ↵Filippos Karapetis
-=), taken from the BS25 Vertex class svn-id: r55476
2011-01-22COMMON: Update documentation of the MacResManagerMatthew Hoops
svn-id: r55403
2011-01-21COMMON: Document which engines use DCLMatthew Hoops
svn-id: r55380
2011-01-21COMMON: Move SCI's DCL decompression code to commonMatthew Hoops
svn-id: r55367
2011-01-18COMMON: Some style fixes in config-manager.cpp.Johannes Schickel
svn-id: r55315
2011-01-13COMMON: Some slight formatting fixes in config-manager.cpp.Johannes Schickel
svn-id: r55228
2011-01-13CONFIGMANAGER: small changes to support old config files with no 'gameId' ↵Yotam Barnoy
keys. As discussed on -devel. svn-id: r55222
2011-01-11COMMON: Fix a few space formatting issues.Jordi Vilalta Prat
svn-id: r55200
2011-01-01COMMON: Fix comment about getButtonState.Alyssa Milburn
svn-id: r55087
2010-12-29CONFIG-MGR: added ability to add other non-game domainsYotam Barnoy
The way we determine if a domain is a game domain or not when loading from the config file is by checking for a 'gameId' key. This required changing the method of loading somewhat. MiscDomains (ie. non-game domains) are saved to the config file before game domains but after the main domains. This change shouldn't mess anything up but it could probably use a look-through just in case. svn-id: r55060
2010-12-20OSYSTEM: Clarify grabPalette documentation after talking with Max about it.Johannes Schickel
svn-id: r54978
2010-12-11COMMON: Handle C++-style comments in config filesAlyssa Milburn
svn-id: r54868
2010-12-08BACKENDS: Fix OSD implementation in ModularBackend.Johannes Schickel
svn-id: r54828
2010-12-05COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie)Matthew Hoops
svn-id: r54775
2010-12-01ALL: Fix a few typosJordi Vilalta Prat
svn-id: r54716
2010-12-01I18N: Improve the fallback language auto-detection.Jordi Vilalta Prat
- Broaden the range of language tags that could be accepted as fallback in auto-detection. For example, for a system with locale 'pt_PT', all of these would be accepted as valid fallbacks: 'pt_PT_*', 'pt', 'pt_*' - Make language codes matching case-insensitive as specified in RFC 4647. - Add support language code blocks longer than 2 characters. svn-id: r54715
2010-11-30I18N: Don't build TranslationManager when translation is disabled.Jordi Vilalta Prat
svn-id: r54684
2010-11-29COMMON: Add a bit more to the doxygen comment for NEResourcesMatthew Hoops
svn-id: r54564
2010-11-28COMMON: Remove unnecessary reference to file.hMax Horn
svn-id: r54561
2010-11-28COMMON: Add support for loading NE resources and cursorsMatthew Hoops
Needed for Mohawk (and Hugo Win eventually). Based on DrMcCoy's excellent Dark Seed II code. svn-id: r54557
2010-11-28AmigaOS: Fixed compilation after the latest GSoC code merging (bug #3121350)Filippos Karapetis
svn-id: r54555
2010-11-28COMMON: Comment out locale <-> Common::Language conversion utils for now.Johannes Schickel
svn-id: r54517
2010-11-28BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.Johannes Schickel
This is done as discussed on -devel. svn-id: r54516
2010-11-26COMMON: Add an isBE() function to get the endianness of a ReadStreamEndianMatthew Hoops
svn-id: r54500
2010-11-25COMMON: Adapt translation manager to use the OSystem for language detection.Johannes Schickel
svn-id: r54480
2010-11-25OSYSTEM: Add API to query the system locale.Johannes Schickel
I also adapted the SDL backend to implement the API. svn-id: r54479
2010-11-23COMMON: Add SeekableReadStreamEndian classMax Horn
svn-id: r54445
2010-11-23COMMON: Remove default value for endianess in ReadStreamEndian subclassesMax Horn
svn-id: r54441
2010-11-23COMMON: Add ReadStreamEndian mixin classMax Horn
svn-id: r54438
2010-11-23COMMON: Remove XOR decoding capability from MemoryReadStreamMax Horn
svn-id: r54436
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385