aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2008-06-26Actually reverted stupid changes in Common::String and Util.cpp regarding ↵Vicent Marti
Regex and the platform function. svn-id: r32797
2008-06-24Common: Vicent Marti
- Added function to get the active host type as a string. XMLParser: - Added support for ignoring keys while parsing (check documentation). Backwards compatible. - parserError() has been revamped. Shows all kinds of detailed information regarding the error ala Python InterfaceManager/ThemeParser: - DrawData keys and their DrawStep subkeys are now successfully parsed and loaded into structs. That's a win. - Bug fixes. svn-id: r32768
2008-05-20Cleaned up engine debug level code.Johannes Schickel
svn-id: r32195
2008-04-04cleanupMax Horn
svn-id: r31391
2008-02-17Tweaks to fmopl; same net effect overall, just faster.Robin Watts
Eliminate divisions, floating point, and mod operation from inner synth loop. svn-id: r30896
2008-02-08Added a simple non-optimized StringTokenizer-class for tokenizing strings. ↵Kari Salminen
Also added a contains(char)-function to the String-class because it was handy in implementing the StringTokenizer. svn-id: r30828
2008-01-28Removed unneeded copy constructor & assignment operator (the compiler will ↵Max Horn
auto-generate them for us) svn-id: r30678
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-21replaced the unsafe tag2str implementation by a safe one, now that it seems ↵Max Horn
to be meant for general use ;) svn-id: r30599
2008-01-21Move tag2str() to common/Eugene Sandulenko
svn-id: r30598
2007-11-01Add Greek to the list of ScummVM supported languages, for FR #1723255 - ↵Filippos Karapetis
"FOTAQ code modifications (mostly for greek translation)" svn-id: r29359
2007-10-04Patch #1805208: move matchString to Common::UtilMax Horn
svn-id: r29154
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
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