aboutsummaryrefslogtreecommitdiff
path: root/common/util.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03COMMON: Fix spelling of 'Philips'Matthew Hoops
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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-11-01COMMON: Switch hexdump() to debugN instead of printfMax Horn
Rational: hexdump() is used for debug output. An even better alternative might be to change it to return a string, instead of printing anything. This way, it could be used inside e.g. GUI debug consoles. This is left as an exercise to the interested developer :). svn-id: r54010
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
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-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-07-05Fix update of GUI options, which only differ in the language setting.Johannes Schickel
svn-id: r50706
2010-07-05Formatting fixes.Johannes Schickel
svn-id: r50705
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
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-20Remove unused stdarg.h include.Johannes Schickel
svn-id: r48312
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 port specific '#define fputs' from util.cpp to textconsole.cppMax Horn
svn-id: r48280
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-01-04Implemented the same fix for tag2string() as in commit #44920, thereby ↵Filippos Karapetis
fixing an assert in MSVC with the QT player when playing Myst. The parameter passed to isprint() should always be unsigned svn-id: r46989
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-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-11-24COMMON: Remove dependency on engines code (by using the inversion principle).Max Horn
svn-id: r46130
2009-11-23PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use ↵Max Horn
fputs instead of fprintf svn-id: r46107
2009-11-09added support for samsung tvPaweł Kołodziejski
svn-id: r45777
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-07-13Refactor GUI options update into a function in Common: updateGameGUIOptions.Johannes Schickel
svn-id: r42446
2009-07-13Reverted my previous change (fprintf vs fputs),Max Lingua
and properly implemented fputs for stderr case on PS2 ;-) svn-id: r42433
2009-07-12Remove double endlineWillem Jan Palenstijn
svn-id: r42430
2009-07-12On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,Max Lingua
rather than "fputs", which is buggy in the PS2 implementation. svn-id: r42429
2009-06-23Added support for HungarianSven Hesse
svn-id: r41812
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-06-05Make the PlayStation's abbreviation to all lower-case for consistency and ↵Matthew Hoops
change the description from Playstation to Sony PlayStation svn-id: r41200
2009-05-12Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)Filippos Karapetis
svn-id: r40470
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
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
2009-01-29Be paranoid about g_system being setMax Horn
svn-id: r36131
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2008-11-15Little fix for my last commit.Johannes Schickel
svn-id: r35074
2008-11-15Yet another buffer safetyness fix. (strcpy -> strncpy)Johannes Schickel
svn-id: r35073