Commit Graph

40262 Commits

Author SHA1 Message Date
Matthew Hoops
3677a8a382 SCI: Fix a bug in kFileIOWriteString. The first return statement should go inside the if-statement.
svn-id: r52269
2010-08-22 03:50:42 +00:00
Eugene Sandulenko
c8a9eb9c32 GRAPHICS: Extend Surface::fill() method to support 32bits. Looks ugly
svn-id: r52268
2010-08-21 20:14:46 +00:00
Arnaud Boutonné
5cd3ea41db GOB: Clean up of Fascination code
Move Fascination specific function to appropriate classes, plus some style modifications

svn-id: r52267
2010-08-21 18:16:04 +00:00
Martin Kiewitz
ee6f972247 SCI: improving delaying transitions
should hopefully make them run better on different platforms (some platforms dont update on every updateScreen call, so the transitions worked much faster there (e.g. wii) and some other platforms dont have that much power, so transitions were slower on those)

svn-id: r52266
2010-08-21 17:49:59 +00:00
Johannes Schickel
1a0d7c87d3 Hugo: Some formatting fixes.
svn-id: r52265
2010-08-21 17:27:48 +00:00
Martin Kiewitz
4742b4d728 SCI: now fading color 255 as well in sci1.1
looks better, although sierra didn't do that (examples: qfg3 demo/intro)

svn-id: r52264
2010-08-21 14:54:57 +00:00
Martin Kiewitz
ff24ae66fb SCI: removing debug output from r52259
svn-id: r52263
2010-08-21 14:53:14 +00:00
Fabio Battaglia
882ed43427 N64: Remove some unused variable and silence some signed/unsigned comparison warnings
svn-id: r52262
2010-08-21 14:36:40 +00:00
Johannes Schickel
ff06f0c9d5 i18n: Changed wording of messages about translations.dat file.
svn-id: r52261
2010-08-21 14:05:38 +00:00
Johannes Schickel
7fd7689370 i18n: Formatting fixes.
svn-id: r52260
2010-08-21 13:38:08 +00:00
Martin Kiewitz
864b067f66 SCI: fixing resourcemgr for pharkas/german
pharkas/german has duplicate resource entries inside the main resource files and we used the first ones. This results in half of the game being english and umlauts missing. We now use the last entries, which will fix all those issues (fixes bug #3039551)

svn-id: r52259
2010-08-21 13:36:09 +00:00
Filippos Karapetis
3faae2a831 Reverted part of r52256, it's not really undefined behavior (the two parts of the bitwise OR aren't reading from the same source)
svn-id: r52258
2010-08-21 13:24:09 +00:00
Johannes Schickel
a53d4dde66 i18n: Style fixes.
svn-id: r52257
2010-08-21 13:21:09 +00:00
Filippos Karapetis
d986a78834 SCI: Fixed potentially undefined behavior
svn-id: r52256
2010-08-21 13:03:35 +00:00
Filippos Karapetis
f9d9fe8f12 SCI: Added support for the DEL key
svn-id: r52255
2010-08-21 11:34:19 +00:00
Filippos Karapetis
2c8946f392 SCI: add support for Control-C in earlier SCI games, too
svn-id: r52254
2010-08-21 11:11:54 +00:00
Filippos Karapetis
c4d58a8d88 SCI added the "init" selector to the list of static selectors of LB2 floppy (which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version
svn-id: r52253
2010-08-21 11:03:09 +00:00
Filippos Karapetis
dcd6c9eaf0 SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by handling synthetic (keyboard repeat) events and adding support for Control-C
svn-id: r52252
2010-08-21 10:46:35 +00:00
Filippos Karapetis
107c39910d SCI: Fixed bug #3050122 - "QFG3: Crash after throwing the spear of death"
svn-id: r52251
2010-08-21 09:19:34 +00:00
Filippos Karapetis
7890bf484f SCI: Added a detection entry for LSL5 (bug report #3049771)
svn-id: r52250
2010-08-21 08:25:36 +00:00
Paul Gilbert
5c30303794 COMMON: Added equality operators to Common::Rect
svn-id: r52249
2010-08-21 08:17:06 +00:00
Arnaud Boutonné
10066443b0 GOB: Add an initGame() for Fascination.
Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment

svn-id: r52247
2010-08-20 22:23:12 +00:00
Martin Kiewitz
3e427b725b SCI: added another comment to kRandom
about hoyle4

svn-id: r52246
2010-08-20 22:14:48 +00:00
Florian Kagerer
74b6fdcae4 FM-TOWNS AUDIO: fix possible crash
(This crash might have occured on very slow machines or when using valgrind)

svn-id: r52245
2010-08-20 22:10:15 +00:00
Martin Kiewitz
1b9d95e43c SCI: kRandom now exactly behaving like sierra sci
hoyle4 and lsl5 door code work now

svn-id: r52244
2010-08-20 21:59:14 +00:00
Thierry Crozat
769ad3109d GUI: fix crash when localized font could not be found
The ThemeEngine had a fallback implemented to use the
non-localized font if the localized one (e.g. for Hungarian) could not
be found. However the fallback was not working. Now it is working. 

svn-id: r52243
2010-08-20 21:50:58 +00:00
Filippos Karapetis
f8957603e6 SCI: Fixed typos in kRandom()
svn-id: r52242
2010-08-20 21:05:56 +00:00
Thierry Crozat
9015a14531 i18n: Fix previous commit when translation support is disabled
Previous commit of translation.cpp introduced a defined but not
implemented operator when the translation support was disabled.
This was probably fine since it was not used, but not very clean.

svn-id: r52241
2010-08-20 21:04:39 +00:00
Filippos Karapetis
29adf97a14 SCI: Reverted kRandom to use unsigned integers again (used e.g. in LSL5) and added a temporary hack for the special case in Hoyle 4 (0x0, 0xFFFF), till we find out how this is handled correctly
svn-id: r52240
2010-08-20 21:02:24 +00:00
Thierry Crozat
d00b8a5753 i18n: Sort the list of available languages alphabetically
svn-id: r52239
2010-08-20 20:42:13 +00:00
Arnaud Boutonné
b6c929a02a Fascination - (SylvainTV) Implement window traces
svn-id: r52238
2010-08-20 20:31:05 +00:00
Filippos Karapetis
8d037cd5af SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"
svn-id: r52237
2010-08-20 18:52:21 +00:00
Filippos Karapetis
45f1a5d450 Fixed bug #3049361 - "Hoyle4: Game is falsely detected as DEMO"
svn-id: r52236
2010-08-20 18:43:00 +00:00
Filippos Karapetis
3d913042c0 SCI: Fixed bug #3049435 - "QFG3: Crash at Simbani warrior challenge"
svn-id: r52235
2010-08-20 18:18:52 +00:00
Florian Kagerer
f7314a1e56 SCUMM/TOWNS: fix minor bugs
svn-id: r52234
2010-08-20 17:37:06 +00:00
Thierry Crozat
5dae3780a4 i18n: Do not use fuzzy matching when updating po files.
When updating the template pot file from source code and then
merging it with existing translations po file, it was trying to translate
automatically new string using a fuzzy matching. I have never seen
it work, so I am disabling the option. I prefer to have an untranslated
string rather than a wrongly translated string. And after discussing
with another translator it seems I am not the only one.

svn-id: r52233
2010-08-20 17:14:46 +00:00
Florian Kagerer
b55a70acb8 KYRA/TOWNS: fix memory leak and some cleanup
svn-id: r52232
2010-08-20 17:04:32 +00:00
Arnaud Boutonné
9d5dada110 Oups - Fix compilation
svn-id: r52231
2010-08-20 16:40:13 +00:00
Arnaud Boutonné
e81eab6133 Hugo : Style - Add parenthesis around condition when conditional operator is used, as mentioned in Code Formatting Conventions
svn-id: r52230
2010-08-20 16:35:20 +00:00
Arnaud Boutonné
53bf93a884 Hugo : Add toggle sound, plus little clean up
svn-id: r52229
2010-08-20 16:25:48 +00:00
Arnaud Boutonné
48c9b4855b Hugo - Fix a problem in the F1 behavior
svn-id: r52228
2010-08-20 16:02:00 +00:00
Arnaud Boutonné
30f1312386 Hugo - Add handling of "turbo" key (F8)
- Modify the score line so it looks like the DOS one

svn-id: r52227
2010-08-20 15:55:56 +00:00
Arnaud Boutonné
0b4fef3aa7 Hugo - Move DOS hardcoded inventory strings to Hugo.dat
svn-id: r52226
2010-08-20 15:30:30 +00:00
Filippos Karapetis
dd1708a1f1 Reverting r52224, as it was incorrect - fanmade games use the same interpreter as normal ones, so this doesn't make sense. Added a FIXME with a description about the graphics glitch in fanmade games
svn-id: r52225
2010-08-20 15:17:19 +00:00
Filippos Karapetis
273a9eb036 SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
svn-id: r52224
2010-08-20 12:24:48 +00:00
Filippos Karapetis
087a15ae0e SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere
svn-id: r52223
2010-08-20 10:49:01 +00:00
Filippos Karapetis
31c889d7ce SCI: Fixed the GM detection introduced in rev #52211 to check the first available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch()
svn-id: r52222
2010-08-20 09:35:20 +00:00
Arnaud Boutonné
588472a8e6 Fascination - Add a delay before entering the lab. This was a script issue only present in the Amiga and Atari ST versions
svn-id: r52221
2010-08-20 07:59:23 +00:00
Filippos Karapetis
849ccc9eab SCI: Changed a warning into a debugC
svn-id: r52220
2010-08-20 07:38:33 +00:00
Fabio Battaglia
4625defaa4 CONFIGURE: force disable seq midi for dingux port
svn-id: r52219
2010-08-20 05:06:07 +00:00