aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-06COMMON: Add Common::parseBoolMax Horn
svn-id: r48566
2010-03-20Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).Johannes Schickel
svn-id: r48310
2010-03-18COMMON: Move tag2str from util.h to str.hMax Horn
svn-id: r48281
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
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-11-26Renamed common/console.* to common/textconsole.* to fix compilation under ↵Filippos Karapetis
MSVC again (broken with commit #46130). MSVC places all object files for each engine in the same folder (even if they're in subfolders), which resulted in clashing between gui/console.* and common/console.*. There's no easy way around this, other than turning the resulting MSVC files into a big mess, so a simple file rename is more feasible svn-id: r46151
2009-11-24COMMON: Remove dependency on engines code (by using the inversion principle).Max Horn
svn-id: r46130
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-15Give Gob1 CD-i its own platform.Matthew Hoops
svn-id: r45135
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
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