aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-04-19COMMON: Do not call ReadStream::eos in SubReadStream::read.Johannes Schickel
Instead I moved the call to ReadStream::eos into SubReadStream::eos. fuzzie pointed out that in certain cases this resulted in a lot of eos calls before. Those were rather needlessly, since checking the eos bit of the decorated stream in read does not give any advantage over checking it when the client code really wants to test the eos flag.
2011-04-18COMMON: Cleanup names/handling of some error codesMax Horn
2011-04-18COMMON: Clarify error naming conventionsMax Horn
Not all error codes comply with these yet.
2011-04-18COMMON: Remove kInvalidPathErrorMax Horn
2011-04-18COMMON: Tweak extra text handling in Common::ErrorMax Horn
2011-04-18COMMON: Fix typoMax Horn
2011-04-18COMMON: Cleanup error messagesMax Horn
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-17COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warningsEugene Sandulenko
2011-04-12COMMON: Let MKTAG always return an uint32Max Horn
2011-04-12COMMON: Use correct MKTAG definition, stupidMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-04-12COMMON: Drop totally obsolete & outdated DEC C++ 'support'Max Horn
2011-04-12COMMON: Fix usage of wrong variable when keymapper is activeKlaus Reimer
2011-04-04COMMON: Fix (harmless) int <-> uint mismatchMax Horn
2011-03-29COMMON: Unbreak EventRecorder a littledhewg
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-24COMMON: Add SaveFileManager::copySavefile() and update ↵Littleboy
SaveFileManager::renameSavefile() to use it
2011-03-23COMMON: Remove TODO from struct EventMax Horn
I moved this TODO to the Wiki TODO page and extended it there. Yet while I originally wrote it, I now think that we are probably best off keeping things as they are.
2011-03-19COMMON: Removed custom PI define (M_PI should be used instead)md5
2011-03-19COMMON: Enable math constants under Visual Studiomd5
2011-03-07Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into ↵Matthew Hoops
clone2727-pe_exe
2011-03-07COMMON: Add TODO to make compressed NE EXE handling transparentMatthew Hoops
2011-03-07COMMON: Add a sanity assertMatthew Hoops
2011-03-07COMMON: Fix WinResourceID::getID()Matthew Hoops
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