aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
AgeCommit message (Collapse)Author
2017-10-07COMMON: Undefine ABS if it is a macroColin Snover
Fixes iOS7 compilation when common/util.h is included after NSObjCRuntime.h, as happens in ios7_video.mm.
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-07-10TITANIC: Implement TTparser normalizePaul Gilbert
2014-06-21ALL: Remove support for MSVC8 and olderJoel Teichroeb
MSVC8 gives various compile error relating to templates that were changed back in 2008, leading me to belive that no one is using it, and that there is not point adding work arounds for a 9 year old compiler no one uses.
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-30COMMON: Enforce formatting guidelines a bit more in util.h.Johannes Schickel
2012-12-13COMMON: Add wrapper for isprint.Johannes Schickel
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.
2012-04-04COMMON: Fix spelling of lengthJoel Teichroeb
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2012-02-24COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modesathrxx
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-21COMMON: add gui options for rendering modesathrxx
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-12-04GUI: Fix GUIO flags again.Johannes Schickel
The GUIO flags use an escape sequence for octal numbers. Starting with 18e84f9c1138ea4ce66cbbea53e6957bee3e588f GUIO_MIDICMS used "\008" which resulted in the CMS flag adding a zero into the flags and thus terminating the GUIO flag string.
2011-12-04GUI: fix GUIO_NOSPEECH/GUIO_NOSFX settingsathrxx
2011-11-18COMMON: Added Croatian language (for a localized version of BS2.5)Filippos Karapetis
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-10-24GUI: Add GUIO EGA Dithering optionStrangerke
This will be used to disable the EGA dithering option
2011-10-23LAUNCHER: Add GUIO_NOASPECT to SCUMM engineStrangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-08-20COMMON: Restore locale <-> Common::Language conversion utilsEugene Sandulenko
This reverts commit 284b49aabc54590e1444f06561a815c2a3c5de7e.
2011-08-07COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).Christoph Mallon
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-06-21COMMON: Move HerculesDimensions enum to SCUMM.Johannes Schickel
The enum is only used inside the SCUMM engine so it is rather pointless to keep it in common/util.h right now. Also if we really want it in some common place it should probably be better in graphics/ too.
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-11Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: audio/decoders/qdm2.h common/util.cpp engines/groovie/music.cpp engines/groovie/resource.h video/qt_decoder.cpp video/qt_decoder.h
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-07COMMON: Add iOS platform typeMatthew Hoops
2010-11-28COMMON: Comment out locale <-> Common::Language conversion utils for now.Johannes Schickel
svn-id: r54517
2010-11-25OSYSTEM: Add API to query the system locale.Johannes Schickel
I also adapted the SDL backend to implement the API. svn-id: r54479
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