aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-02-28Add a comment to document my removal of stream delete in previous commitFabio Battaglia
svn-id: r48155
2010-02-28do not delete the stream twice in makeZipArchive as it's already deleted by ↵Fabio Battaglia
unzOpen if a problem is encountered svn-id: r48154
2010-02-23Update Common::KeyState commentsMax Horn
svn-id: r48120
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-13cleanupMax Horn
svn-id: r48041
2010-02-13Hide ZipArchive implementation, only expose it via factory functions: ↵Max Horn
makeZipArchive() svn-id: r48040
2010-02-09Remove last traces of File::addDefaultDirectoryMax Horn
svn-id: r48027
2010-02-09Merged _headers and _filemap.Nicola Mettifogo
svn-id: r48012
2010-02-08Reduce header interdependenciesMax Horn
svn-id: r48010
2010-02-08Introduce factory function makeArjArchive, hide ArjArchive class implementationMax Horn
svn-id: r48009
2010-02-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
2010-02-08Moved ArjFile to drascula.Nicola Mettifogo
svn-id: r47999
2010-02-08Fix trunk after fscking up.Nicola Mettifogo
svn-id: r47998
2010-02-08Made ArjFile use a new ArjArchive class.Nicola Mettifogo
svn-id: r47997
2010-02-08Objectified CRC32 calculator.Nicola Mettifogo
svn-id: r47996
2010-02-08Shuffled code around a bit.Nicola Mettifogo
svn-id: r47995
2010-02-08Let ArjFile return a SeekableReadStream instead of implementingNicola Mettifogo
the same interface itself. The caller is now responsible for deleting the returned streams. svn-id: r47994
2010-01-31Slight formatting fixes to comply to our coding guidelines.Johannes Schickel
svn-id: r47744
2010-01-30- Call the special debug channels "channels" consistently. (Formerly ↵Johannes Schickel
sometimes they were refered to as "levels"). - Along with it add some more descriptive commentary about what is the intention behind debug channels. svn-id: r47727
2010-01-25Fix virtual-keyboard not changing size, when the user changes the scaler ↵Johannes Schickel
while it is not visible. svn-id: r47544
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Fix indentationJordi Vilalta Prat
svn-id: r47499
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Fix documentation for setMouseCursor's format paramenter.Johannes Schickel
svn-id: r47173
2010-01-07- Adapt documentation, that keycolor in setMouseCursor may not exceed the ↵Johannes Schickel
maximum color value of the specified format. - Change SDL backend to assert out on invalid keycolor values In case we really need a way to specify "no keycolor" we need to discuss on how to do it *properly*. svn-id: r47123
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2010-01-04Implemented the same fix for tag2string() as in commit #44920, thereby ↵Filippos Karapetis
fixing an assert in MSVC with the QT player when playing Myst. The parameter passed to isprint() should always be unsigned svn-id: r46989
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2010-01-03Sort language list (and showing that Lure is really broken).Eugene Sandulenko
svn-id: r46932
2009-12-31Add support for Chinese translated games.Eugene Sandulenko
svn-id: r46805
2009-12-31Remove the getBeginOffset() hack from Common::SeekableReadStream and ↵Matthew Hoops
introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use. svn-id: r46786
2009-12-30Get rid of Common::String::emptyString, and also of some port specific ↵Max Horn
hackery (getting rid of certain global C++ objs) svn-id: r46781
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30spellingMax Horn
svn-id: r46778
2009-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-12-30Update comments to reflect the changes used for Mohawk.Matthew Hoops
svn-id: r46746
2009-12-29Add Mohawk engine code. Part 2/3: common code changes.Eugene Sandulenko
svn-id: r46728
2009-12-29Typo.Johannes Schickel
svn-id: r46717
2009-12-28Spelling: Par*r*titionMax Horn
svn-id: r46688
2009-12-27allowed list to be sorted with default comparatorVladimir Menshakov
svn-id: r46644
2009-12-27Some more code format fixes.Johannes Schickel
svn-id: r46641
2009-12-27more code convention fixesVladimir Menshakov
svn-id: r46640
2009-12-27added whitespace to conform code conventionVladimir Menshakov
svn-id: r46639
2009-12-27replaced bubble sort with quick sortVladimir Menshakov
added distance(a, b) functions svn-id: r46638
2009-12-15Got rid of ReadStream::ioFailed()Max Horn
svn-id: r46379
2009-12-09Slightly modified commit of patch #2911414 "MSVC: conversions warnings in ↵Johannes Schickel
common code". svn-id: r46308