Commit Graph

150 Commits

Author SHA1 Message Date
Ori Avtalion
2fc9d6845b Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
svn-id: r48645
2010-04-12 21:21:06 +00:00
Max Horn
7c510f2dfa COMMON: Add Common::parseBool
svn-id: r48566
2010-04-06 09:27:13 +00:00
Johannes Schickel
5c1a63026e Remove unused stdarg.h include.
svn-id: r48312
2010-03-20 13:00:23 +00:00
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
30c84d2cff COMMON: Move tag2str from util.h to str.h
svn-id: r48281
2010-03-18 15:07:48 +00:00
Max Horn
3e63df5415 COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cpp
svn-id: r48280
2010-03-18 15:07:30 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Filippos Karapetis
f7855e1c07 Implemented the same fix for tag2string() as in commit #44920, thereby 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-04 20:57:38 +00:00
Eugene Sandulenko
eed7635297 Sort language list (and showing that Lure is really broken).
svn-id: r46932
2010-01-03 16:33:03 +00:00
Eugene Sandulenko
d10fc79836 Add support for Chinese translated games.
svn-id: r46805
2009-12-31 18:52:42 +00:00
Fabio Battaglia
3a418c13a7 remove bad hackery caused by n64 port and avoid polluting StdioStream using a custom Stream subclass
svn-id: r46777
2009-12-30 22:56:19 +00:00
Fabio Battaglia
a108df30a7 Add Nintendo 64 port to trunk.
svn-id: r46773
2009-12-30 21:11:38 +00:00
Max Horn
1a313a7eca COMMON: Remove dependency on engines code (by using the inversion principle).
svn-id: r46130
2009-11-24 22:11:07 +00:00
Max Horn
3d342bec3c PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
svn-id: r46107
2009-11-23 22:29:39 +00:00
Paweł Kołodziejski
4c2491df3b added support for samsung tv
svn-id: r45777
2009-11-09 14:43:05 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Matthew Hoops
6edf387418 Give Gob1 CD-i its own platform.
svn-id: r45135
2009-10-15 22:05:52 +00:00
Johannes Schickel
51a9bfc9e2 Refactor GUI options update into a function in Common: updateGameGUIOptions.
svn-id: r42446
2009-07-13 18:47:32 +00:00
Max Lingua
93c9194504 Reverted my previous change (fprintf vs fputs),
and properly implemented fputs for stderr case
on PS2 ;-)

svn-id: r42433
2009-07-13 00:55:30 +00:00
Willem Jan Palenstijn
3427fb3100 Remove double endline
svn-id: r42430
2009-07-12 22:08:10 +00:00
Max Lingua
973adc2772 On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,
rather than "fputs", which is buggy in the PS2 implementation.

svn-id: r42429
2009-07-12 22:00:47 +00:00
Sven Hesse
1491c67691 Added support for Hungarian
svn-id: r41812
2009-06-23 17:55:09 +00:00
Eugene Sandulenko
a0fa307fc5 Added CoCo3 version of SQ1
svn-id: r41284
2009-06-06 18:22:43 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Matthew Hoops
7e52694025 Make the PlayStation's abbreviation to all lower-case for consistency and change the description from Playstation to Sony PlayStation
svn-id: r41200
2009-06-05 22:35:13 +00:00
Filippos Karapetis
36c832d455 Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)
svn-id: r40470
2009-05-12 07:07:17 +00:00
Eugene Sandulenko
5aa50ec889 Patch #2638336: Broken Sword PSX Support
svn-id: r38956
2009-02-28 10:46:33 +00:00
Max Horn
1d097d9791 Moved debug() etc. and special debug flag handling code to common/debug.*; also some tweaks to the code
svn-id: r36134
2009-01-30 01:17:12 +00:00
Max Horn
7eaafd933f Be paranoid about g_system being set
svn-id: r36131
2009-01-29 22:09:06 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
2009-01-23 03:30:40 +00:00
Johannes Schickel
78e85a00f2 Little fix for my last commit.
svn-id: r35074
2008-11-15 03:34:08 +00:00
Johannes Schickel
f57bf13819 Yet another buffer safetyness fix. (strcpy -> strncpy)
svn-id: r35073
2008-11-15 03:22:00 +00:00
Johannes Schickel
478ee06fb8 Paranoia: Add destination buffer size to Engine::errorString to help avoiding buffer overflows.
svn-id: r35072
2008-11-15 03:16:41 +00:00
Max Horn
a6502da9ac * got rid of CDECL
* got rid of scumm_strrev
* added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error)

svn-id: r35038
2008-11-13 11:26:47 +00:00
Max Horn
9bf7aa308e Moved matchString from util.* to str.*; added new String::matchString method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString
svn-id: r34364
2008-09-05 20:07:34 +00:00
Travis Howell
b0a4658038 Add Nintendo Wii versions of Freddi Fish 1 and Pajama Sam 1.
svn-id: r34290
2008-09-03 01:47:01 +00:00
Max Horn
e5f58ef5bf Removed various uses of scumm_stricmp by the more readable String::equalsIgnoreCase and String:: compareToIgnoreCase
svn-id: r34198
2008-08-27 20:41:28 +00:00
Johannes Schickel
cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Max Horn
ecf9d72ab4 Removed some more obsolete GP32 code
svn-id: r32179
2008-05-19 13:15:32 +00:00
Robin Watts
890bca8f7e Tweaks to fmopl; same net effect overall, just faster.
Eliminate divisions, floating point, and mod operation from inner synth loop.

svn-id: r30896
2008-02-17 16:12:54 +00:00
Kari Salminen
b6cad0f0ce Added a simple non-optimized StringTokenizer-class for tokenizing strings. Also added a contains(char)-function to the String-class because it was handy in implementing the StringTokenizer.
svn-id: r30828
2008-02-08 04:11:20 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Max Horn
daf2bc9579 replaced the unsafe tag2str implementation by a safe one, now that it seems to be meant for general use ;)
svn-id: r30599
2008-01-21 13:01:32 +00:00
Eugene Sandulenko
86456702f9 Move tag2str() to common/
svn-id: r30598
2008-01-21 12:44:39 +00:00
Max Horn
4ba2df8792 Use explicit path in #include statement (DS port specific)
svn-id: r30552
2008-01-18 17:24:34 +00:00
Gregory Montoir
65779599de reverted commit #29736 with a proper fix (I think) to fmopl code
svn-id: r29741
2007-12-06 21:11:26 +00:00
Filippos Karapetis
d3a9cfc2cb Reverted commit #29733, as RandomSource() is called before g_system is initialized (e.g. from sound/fmopl.cpp)
svn-id: r29736
2007-12-06 18:48:44 +00:00
Max Horn
6cf6b9d89b Do not use time() needlessly
svn-id: r29733
2007-12-06 11:47:38 +00:00
Filippos Karapetis
a20ad01075 Add Greek to the list of ScummVM supported languages, for FR #1723255 - "FOTAQ code modifications (mostly for greek translation)"
svn-id: r29359
2007-11-01 17:02:28 +00:00