aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2010-10-30COMMON: Add SCUMMVM_CURRENT_FUNCTION macro (useful for debugging)Max Horn
svn-id: r53931
2010-08-11Use tabs instead of spaces for indentation.Eugene Sandulenko
svn-id: r51997
2010-08-11GUI: add music devices for c64, amiga and apple II gsFlorian Kagerer
These devices are not able to create appropriate drivers. The only purpose for now is having proper gui options and flags and music types for the device detector. The corresponding GUIO flags for the new devices have been added, too. svn-id: r51995
2010-07-05Fix update of GUI options, which only differ in the language setting.Johannes Schickel
svn-id: r50706
2010-06-25AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)Florian Kagerer
svn-id: r50281
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
2010-06-15GUI: Implement MIDI drivers as GUI options.Eugene Sandulenko
Proper version of patch #2988641: "GSoC: Select drivers in GUI based on output types". So far only SCUMM engine supports this feature. svn-id: r49783
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