aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2007-09-15- added PC-98 platform entryJohannes Schickel
- added Kyrandia 1 PC-98 detection entries svn-id: r28907
2007-07-27Early in the morning, strrev() looks like a more difficult problem than itTorbjörn Andersson
really is. It's actually quite simple. In fact, the only magical thing about Bob's version was the way it swapped variables without using any temporary variable. Rewrote the function to use our SWAP() instead, since that actually makes it readable. Moved it to util.cpp (outside the Common namespace, for consistency with scumm_stricmp()) since Kirben knew of other places where it could be used. svn-id: r28231
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-24Patch #1706179: "GUI: Sort languages list"Eugene Sandulenko
svn-id: r26587
2007-03-03Allow PC Engine version of Loom to at least start up.Travis Howell
svn-id: r25951
2007-02-04Added Common::getEnabledSpecialDebugLevelsMax Horn
svn-id: r25383
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-27Fix typo spotted by clone2727Eugene Sandulenko
svn-id: r25236
2006-12-19Added Apple IIgs as machine type for AGI engineStuart George
svn-id: r24876
2006-09-23Removed CHECK_HEAPMax Horn
svn-id: r23979
2006-04-22Implement CLIP() routine used to put arbitrary value in specified range.Eugene Sandulenko
svn-id: r22079
2006-04-11Don't hardcode specific values for our language enums, as nothing should ↵Max Horn
depend on them -- any code that is broken by this change was wrong to start with and must be fixed accordingly svn-id: r21812
2006-04-08Add comments explaining what does EN_ANY meanEugene Sandulenko
svn-id: r21703
2006-04-08Introduced language EN_ANY used for general English game entries. EN_USA andEugene Sandulenko
EN_GRB should be used for games which have both variants. Currently it is MM NES and BASS. All other are switched to EN_ANY. svn-id: r21702
2006-04-08Change check for MIN/MAX macros: Always undef those so that our templates ↵Max Horn
are used (which are safer, consider MIN(a++, b++)) svn-id: r21692
2006-04-08AmigaOS4 changes from tracker #1416370Max Horn
svn-id: r21691
2006-04-02Moved all debug functions to from main.cpp to util.cppMax Horn
svn-id: r21545
2006-03-08Check format string in calls of debug/error (adapted from patch #1445422)Max Horn
svn-id: r21139
2006-02-16Add 3DO platform for HE gamesTravis Howell
svn-id: r20713
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-29Added new debugN() function which doesn't append newline.Eugene Sandulenko
svn-id: r20285
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-14Add SegaCD platform and remove SegaCD specific game Id.Travis Howell
svn-id: r20015
2005-11-18Add Polish version of Simon the Sorcerer 2 (Windows).Travis Howell
svn-id: r19634
2005-11-12Add acorn platform.Travis Howell
svn-id: r19564
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-14Added Linux platform. Now it is used by some ITE version and is requiredEugene Sandulenko
for proper game identification (21 subtle distinct versions of same game which still require individual flags is not a joke) cvs: ---------------------------------------------------------------------- svn-id: r19073
2005-10-11Patch #1323715 "OS/2 Patches to ScummVM" and credited the author.Eugene Sandulenko
svn-id: r19016
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-22Add Norwegian Bokm�l version of Freddi Fish 1.Travis Howell
Set HE70+ games to Windows platform by default. svn-id: r18213
2005-05-17Initial support of C64 MM & ZakEugene Sandulenko
svn-id: r18146
2005-04-23Simplified debuglevel handling:Max Horn
- it's only honored in the global level of the config file - all checks for it go through gDebugLevel now, which is made global - the '-d' switch is handled in a slightly saner and consistent way - removed 'debuglevel' from the config format documentation; we do not want to encourage the avarage user to use it svn-id: r17769
2005-04-08Add NES platformEugene Sandulenko
svn-id: r17454
2005-03-07Add Amiga renderer mode for EGA games.Travis Howell
svn-id: r17019
2005-03-02Distinguish between green and amber hercules. Now specify it via hercGreenEugene Sandulenko
and hercAmber. Updated documentation accordingly. svn-id: r16975
2005-02-20Patch #1121337 (CGA rendering in early LEC titles).Eugene Sandulenko
Differences against patch: o Updated documentation o Fixed text colors o Implemented Hercules dithering Ditherers are based on loom ega and monkey ega, so for zak and mm they're wrong, i.e. these games look better than with original ditherers. TODO: Proper ditherers for zak & MM EGA ditherers for VGA SCUMM v5 games svn-id: r16816
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-09-28use MAXPATHLEN for path buffer sizeJonathan Gray
svn-id: r15319
2004-03-15fix circular header dependency, by moving StackLock class to common/system.h ↵Max Horn
(it ties closely into OSystem anyway) svn-id: r13292
2004-03-02Introduced new platform GF_WINDOWS. Used for HE games. GF_PC is DOSEugene Sandulenko
svn-id: r13128
2004-02-14const correctness!Max Horn
svn-id: r12874
2004-02-14Add mutex tracking to make it easier to debug imuse deadlocksJames Brown
svn-id: r12870
2004-02-10Correct hberewTravis Howell
svn-id: r12815
2004-02-10NL = NetherLands, NederLanden, NiederLande - NO is NorwayMax Horn
svn-id: r12813
2004-02-10Add languagesTravis Howell
Sync md5 Correct another name svn-id: r12805
2004-02-07Make g_platforms global, so that the alauncher can iterate over the list of ↵Max Horn
supported platforms svn-id: r12765
2004-02-07Added FM-TOWNS to platforms listMax Horn
svn-id: r12763
2004-01-10Start of debug channel support. TODO: Move this to the common Debugger system?James Brown
svn-id: r12289
2004-01-06updated copyright noticeMax Horn
svn-id: r12176