Commit Graph

130 Commits

Author SHA1 Message Date
Eugene Sandulenko
ff8b296c29 Use tabs instead of spaces for indentation.
svn-id: r51997
2010-08-11 19:32:07 +00:00
Florian Kagerer
4a159bcb1e GUI: add music devices for c64, amiga and apple II gs
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-08-11 18:54:56 +00:00
Johannes Schickel
1443a2721c Fix update of GUI options, which only differ in the language setting.
svn-id: r50706
2010-07-05 20:10:56 +00:00
Florian Kagerer
3962f8ba59 AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
svn-id: r50281
2010-06-25 18:47:52 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Eugene Sandulenko
01bc5dda94 GUI: Implemented Languages as GUI options.
SCUMM and AdvancedDetector support this feature.

svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
67bc711580 GUI: Implement MIDI drivers as GUI options.
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-06-15 10:56:12 +00:00
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
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
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +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
Filippos Karapetis
6f45ecff1a Renamed common/console.* to common/textconsole.* to fix compilation under 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-26 10:59:46 +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
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
Max Horn
3399c3aeb6 Change doxygen inline comments from "//!" to "///" as proposed on -devel
svn-id: r44802
2009-10-08 21:28:57 +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
Sven Hesse
1491c67691 Added support for Hungarian
svn-id: r41812
2009-06-23 17:55:09 +00:00
Travis Howell
628e876a46 Spacing.
svn-id: r41375
2009-06-08 14:55:11 +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
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
Max Horn
e59b4587b7 COMMON: Added a new IS_ALIGNED macro (for now using size_t, we can change it if this turns out to be not portable enough. Also added a doxygen comment to the ARRAYSIZE macro
svn-id: r39542
2009-03-19 21:43:27 +00:00
Eugene Sandulenko
5aa50ec889 Patch #2638336: Broken Sword PSX Support
svn-id: r38956
2009-02-28 10:46:33 +00:00
Johannes Schickel
1cb39726e5 Fix documentation, warning prints to stderr not stdout.
svn-id: r38490
2009-02-18 16:35:24 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +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
Johannes Schickel
b11af14335 Fixed compilation with DISABLE_TEXT_CONSOLE.
svn-id: r35041
2008-11-13 11:46:17 +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
939ba5294f Fix comments for random() funcs (thanks to salty-horse for pointing this out)
svn-id: r34628
2008-09-22 20:55:27 +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
Johannes Schickel
cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Max Horn
595be54083 cleanup
svn-id: r31391
2008-04-04 21:00:58 +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
Max Horn
25d92a602e Removed unneeded copy constructor & assignment operator (the compiler will auto-generate them for us)
svn-id: r30678
2008-01-28 15:20:25 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
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
Max Horn
51f082dcde Patch #1805208: move matchString to Common::Util
svn-id: r29154
2007-10-04 08:04:18 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Johannes Schickel
fd6ca3b7ac - added PC-98 platform entry
- added Kyrandia 1 PC-98 detection entries

svn-id: r28907
2007-09-15 14:53:21 +00:00
Torbjörn Andersson
c2516db9ac Early in the morning, strrev() looks like a more difficult problem than it
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-07-27 05:15:24 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00