aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2009-07-13Refactor GUI options update into a function in Common: updateGameGUIOptions.Johannes Schickel
svn-id: r42446
2009-06-23Added support for HungarianSven Hesse
svn-id: r41812
2009-06-08Spacing.Travis Howell
svn-id: r41375
2009-06-06Added CoCo3 version of SQ1Eugene Sandulenko
svn-id: r41284
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-05-12Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)Filippos Karapetis
svn-id: r40470
2009-03-19COMMON: Added a new IS_ALIGNED macro (for now using size_t, we can change it ↵Max Horn
if this turns out to be not portable enough. Also added a doxygen comment to the ARRAYSIZE macro svn-id: r39542
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
2009-02-18Fix documentation, warning prints to stderr not stdout.Johannes Schickel
svn-id: r38490
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-30Moved debug() etc. and special debug flag handling code to common/debug.*; ↵Max Horn
also some tweaks to the code svn-id: r36134
2008-11-13Fixed compilation with DISABLE_TEXT_CONSOLE.Johannes Schickel
svn-id: r35041
2008-11-13* got rid of CDECLMax Horn
* got rid of scumm_strrev * added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error) svn-id: r35038
2008-09-22Fix comments for random() funcs (thanks to salty-horse for pointing this out)Max Horn
svn-id: r34628
2008-09-05Moved matchString from util.* to str.*; added new String::matchString ↵Max Horn
method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString svn-id: r34364
2008-09-03Add Nintendo Wii versions of Freddi Fish 1 and Pajama Sam 1.Travis Howell
svn-id: r34290
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