Commit Graph

93 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
de9e72bc76 Patch #1706179: "GUI: Sort languages list"
svn-id: r26587
2007-04-24 06:31:04 +00:00
Travis Howell
b0fea397ab Allow PC Engine version of Loom to at least start up.
svn-id: r25951
2007-03-03 12:59:48 +00:00
Max Horn
4e9e88ac1c Added Common::getEnabledSpecialDebugLevels
svn-id: r25383
2007-02-04 13:28:17 +00:00
Eugene Sandulenko
adcfd2cc5f Now AdvancedDetector could use single ID per engine. Also it can suggest
more complex game IDs with platform and language specified.

AGI engine benefits most from that.
Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID.

svn-id: r25269
2007-01-29 23:25:51 +00:00
Eugene Sandulenko
4c83151404 Fix typo spotted by clone2727
svn-id: r25236
2007-01-27 23:50:09 +00:00
Stuart George
6c46f3ba26 Added Apple IIgs as machine type for AGI engine
svn-id: r24876
2006-12-19 01:06:45 +00:00
Max Horn
d02e4d7f7c Removed CHECK_HEAP
svn-id: r23979
2006-09-23 11:29:32 +00:00
Eugene Sandulenko
7b1e93b596 Implement CLIP() routine used to put arbitrary value in specified range.
svn-id: r22079
2006-04-22 02:49:27 +00:00
Max Horn
2044ee1c0d Don't hardcode specific values for our language enums, as nothing should depend on them -- any code that is broken by this change was wrong to start with and must be fixed accordingly
svn-id: r21812
2006-04-11 22:31:47 +00:00
Eugene Sandulenko
c09fef73c0 Add comments explaining what does EN_ANY mean
svn-id: r21703
2006-04-08 23:20:15 +00:00
Eugene Sandulenko
5a2ad04a9e Introduced language EN_ANY used for general English game entries. EN_USA and
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.

svn-id: r21702
2006-04-08 23:12:56 +00:00
Max Horn
453e69b6c2 Change check for MIN/MAX macros: Always undef those so that our templates are used (which are safer, consider MIN(a++, b++))
svn-id: r21692
2006-04-08 12:41:02 +00:00
Max Horn
4a8c9c323d AmigaOS4 changes from tracker #1416370
svn-id: r21691
2006-04-08 12:39:27 +00:00
Max Horn
8a8bdcd1f8 Moved all debug functions to from main.cpp to util.cpp
svn-id: r21545
2006-04-02 00:56:53 +00:00
Max Horn
c59ca20ce6 Check format string in calls of debug/error (adapted from patch #1445422)
svn-id: r21139
2006-03-08 10:00:12 +00:00
Travis Howell
fa4f74ab73 Add 3DO platform for HE games
svn-id: r20713
2006-02-16 04:52:10 +00:00
Johannes Schickel
0bea9cf47b Made the kyra debug extensions more generic, i.e. scumm engine could replace
their debugC calls now with the new introduced debugC calls.
(A mail how to use it will follow shortly on -devel)
Also now these special engine debug flags can be specified from the commandline.
Also made the -c & --config parameter check more secure.

svn-id: r20695
2006-02-14 23:31:25 +00:00
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Eugene Sandulenko
052a42f89f Added new debugN() function which doesn't append newline.
svn-id: r20285
2006-01-29 02:44:30 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Travis Howell
ad14c53110 Add SegaCD platform and remove SegaCD specific game Id.
svn-id: r20015
2006-01-14 09:28:38 +00:00
Travis Howell
9cde262192 Add Polish version of Simon the Sorcerer 2 (Windows).
svn-id: r19634
2005-11-18 00:59:47 +00:00
Travis Howell
5307f21742 Add acorn platform.
svn-id: r19564
2005-11-12 06:04:32 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
05457402f5 Added Linux platform. Now it is used by some ITE version and is required
for proper game identification (21 subtle distinct versions of same game
which still require individual flags is not a joke)
cvs: ----------------------------------------------------------------------

svn-id: r19073
2005-10-14 02:50:05 +00:00
Eugene Sandulenko
049dd317d7 Patch #1323715 "OS/2 Patches to ScummVM" and credited the author.
svn-id: r19016
2005-10-11 11:27:18 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Travis Howell
9135c8ddfe Add Norwegian Bokm�l version of Freddi Fish 1.
Set HE70+ games to Windows platform by default.

svn-id: r18213
2005-05-22 02:07:32 +00:00
Eugene Sandulenko
fc87c5821a Initial support of C64 MM & Zak
svn-id: r18146
2005-05-17 23:56:21 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Eugene Sandulenko
249134ede3 Add NES platform
svn-id: r17454
2005-04-08 20:49:13 +00:00
Travis Howell
07aa92063a Add Amiga renderer mode for EGA games.
svn-id: r17019
2005-03-07 00:39:48 +00:00
Eugene Sandulenko
50f6eb740c Distinguish between green and amber hercules. Now specify it via hercGreen
and hercAmber. Updated documentation accordingly.

svn-id: r16975
2005-03-02 21:46:51 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Jonathan Gray
ae73d1a4ee use MAXPATHLEN for path buffer size
svn-id: r15319
2004-09-28 04:14:57 +00:00
Max Horn
af80eef70e fix circular header dependency, by moving StackLock class to common/system.h (it ties closely into OSystem anyway)
svn-id: r13292
2004-03-15 01:52:07 +00:00