Julien
55f46a1376
TESTBED: Fix GFXtests::HSVtoRGB() and caller
...
- update passed values and not local variables when s == 0
- initialize r, g, b values in palette rotation test instead of passing unitialized variables
2011-06-07 03:59:12 -04:00
Julien
3e1c4f8e16
TESTBED: Specialize call to enable() in MidiTestSuite constructor
2011-06-07 03:56:57 -04:00
Julien
fe9ee92b25
TESTBED: Cleanup boolean use in enable() function for fs and midi tests
2011-06-07 03:56:56 -04:00
Julien
063814b15c
TESTBED: Update some switch constructs for better control flow handling
2011-06-07 03:56:54 -04:00
Julien
04f4605f53
TESTBED: Rename error variable to err (was hiding error() symbol)
2011-06-07 03:56:52 -04:00
Julien
6362542836
TESTBED: Remove dead code, unused arguments and unreferenced symbols
2011-06-07 03:56:18 -04:00
Julien
08c01d116b
TESTBED: Add const modifiers to some parameters/functions
2011-06-07 03:52:15 -04:00
eriktorbjorn
a826c4422f
JANITORIAL: Unbreak building with --disable-translation
...
I don't know if there is more code that can be removed when
disabling translations, but this is the obvious obstacle.
2011-06-07 06:21:04 +02:00
Sven Hesse
7ea4583d2f
IPHONE: Fix a typo, fix compilation (hopefully)
2011-06-07 01:43:48 +02:00
Walter van Niftrik
12366c91e5
SCI: Use Sound debug channel in AmigaMac sound driver.
2011-06-07 01:39:00 +02:00
Thierry Crozat
4e5907a5e4
I18N: Update translations from template
2011-06-06 23:20:13 +01:00
Thierry Crozat
0a0485a988
I18N: Update template file from source code
2011-06-06 23:20:12 +01:00
Thierry Crozat
014145f240
I18N: Make some OSD messages translatable
2011-06-06 23:20:11 +01:00
Thierry Crozat
226990bb58
I18N: Update translations from template
2011-06-06 23:20:11 +01:00
Thierry Crozat
a605c7fd69
OSYSTEM: displayMessageOnOSD() now accepts non-ASCII strings
...
It should now accept strings encoded using the current
TranslationManaged charset (e.g. translated text).
2011-06-06 23:20:10 +01:00
Thierry Crozat
197ef8f178
GRAPHICS: Add kLocalizedFont in FontManager
...
This makes it easy to get a localized font for the current
TranslationManager charset if one has been loaded. It tries
first to find one for the BigGUI or GUI fonts and then looks
for any acceptable font.
Also only use lower case font name for the FontManager HashMap.
This is to avoid issues with the case when looking for a font by
its name. There was for example an issue for font helvB12 that is
named helvb12 in the scummmodern theme.
2011-06-06 23:20:10 +01:00
Thierry Crozat
6b13782967
GRAPHICS: Move genLocalizedFontFilename() to FontManager class
...
It was defined in ThemeEngine class , but I moved it to make it
possible to use localized font in other places.
2011-06-06 23:20:09 +01:00
Thierry Crozat
592cca5402
GRAPHICS: Get rid of kSODFont (ScummFont)
...
OSD is now using the kGUIFont instead. The main advantage is that
the kGUIFont can be used for translated text while only ASCII
characters were present in ScummFont.
2011-06-06 23:20:08 +01:00
Max Horn
72080d8972
DC: Allow use of all symbols
2011-06-06 23:04:32 +02:00
Littleboy
7d984aa53a
CREATE_PROJECT: Link with the static runtime library in release mode
...
This allows distributing MSVC compiled binaries without the MSVCRT runtime dll.
2011-06-06 13:12:07 -04:00
Max Horn
c1b68a7fd7
COMMON: Clarify & correct OSystem::displayLogFile() docs
2011-06-06 17:56:36 +02:00
athrxx
40422441af
AUDIO: some more text tweaks
2011-06-06 17:26:36 +02:00
Max Horn
18e8e5c91e
SDL: Use #define FORBIDDEN_SYMBOL_ALLOW_ALL (backends can use any symbol)
2011-06-06 17:18:50 +02:00
Max Horn
0403cfc060
COMMON: Attempt to make 'forbidden symbol' error more helpful
2011-06-06 17:10:03 +02:00
Max Horn
0a2fb9a465
COMMON: Make more symbols forbidden
2011-06-06 17:05:35 +02:00
Max Horn
96aed4d057
PS2: Add missing semicolon
2011-06-06 17:01:11 +02:00
Max Horn
8d77d8cf1c
DS: Remove dead code
2011-06-06 16:55:18 +02:00
Max Horn
c5532153c3
PS2: Remove dead code
2011-06-06 16:50:26 +02:00
Max Horn
4f159dba90
PS2: Simplify OSystem_PS2::logMessage
2011-06-06 16:47:20 +02:00
Max Horn
c81e94b252
BACKENDS: Unify EventManager setup
2011-06-06 16:13:57 +02:00
Max Horn
848079b66d
NULL: Fix null backend (untested)
2011-06-06 15:48:40 +02:00
Max Horn
0e20bc0086
COMMON: Remove PS2 / NDS hacks in system.cpp
2011-06-06 15:39:05 +02:00
Max Horn
b0b5a1d802
DS: Add custom logMessage() implementation
2011-06-06 15:36:28 +02:00
Max Horn
4878b2b27b
PS2: Add logMessage() implementation
2011-06-06 15:35:50 +02:00
Max Horn
c847522422
BACKENDS: Add OSystem::getDefaultConfigFileName
...
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.
Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn
afb06b51cc
BACKENDS: Unify AudioCD manager instantiation
2011-06-06 15:02:33 +02:00
Max Horn
338a859591
NULL: cleanup
2011-06-06 14:13:18 +02:00
Alyssa Milburn
4af3045188
I18N: Make MidiDriver detection errors translatable.
2011-06-06 12:44:28 +02:00
Willem Jan Palenstijn
5da1427d0c
AUDIO: Tweak warning text
2011-06-06 12:39:06 +02:00
Alyssa Milburn
b2a1566860
DETECTOR: Change printf calls to use logMessage.
...
Also make the strings translatable.
2011-06-06 12:32:09 +02:00
Alyssa Milburn
6842227ac2
COMMON: Add kInfo LogMessageType.
2011-06-06 12:26:01 +02:00
Alyssa Milburn
a809ac9b7e
I18N: Make some more GUI strings translatable.
2011-06-06 12:00:06 +02:00
Max Horn
7a52d414e9
VKEYBD: Adjust to recent XML parser changes
2011-06-06 11:52:21 +02:00
Alyssa Milburn
0cb269ad78
I18N: Fix missing double quotes.
2011-06-06 11:46:02 +02:00
Alyssa Milburn
6835433a42
GUI: Fix message after changing languages.
2011-06-06 11:43:49 +02:00
Alyssa Milburn
9589e5aa82
I18N: Update POTFILES.
2011-06-06 11:42:16 +02:00
Max Horn
a6e5b97e9f
COMMON: Remove vfprintf call from XML parser
2011-06-06 11:19:09 +02:00
Max Horn
ac1c2124e5
SWORD25: Remove redundant bounds check
2011-06-06 11:19:07 +02:00
Max Horn
9c86e1a0a8
SWORD25: Fix whitespace
2011-06-06 11:19:07 +02:00
Alyssa Milburn
7c4f772e7e
TOON: Tidy up decodeADPCM.
2011-06-06 10:55:36 +02:00