Commit Graph

40343 Commits

Author SHA1 Message Date
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
Martin Kiewitz
af46e0fdc0 SCI: disabling EGA mapping after sci1ega
fixes vga conversion games graphic glitches, some views have bad mapping tables

svn-id: r52218
2010-08-19 22:21:03 +00:00
Arnaud Boutonné
67c1997bf4 Fascination - Fix protection screen (and several other glitches like in the very last screen behavior)
svn-id: r52217
2010-08-19 21:32:54 +00:00
Matthew Hoops
5bd2a99717 MOHAWK: Draw in the dome combination in the lab journal
svn-id: r52216
2010-08-19 18:04:11 +00:00
Matthew Hoops
ce9afcfab1 MOHAWK: Draw in the telescope combination in Catherine's journal
svn-id: r52215
2010-08-19 17:33:10 +00:00
Filippos Karapetis
6dcdc72fda SCI: Fixed bug #3038228 - "MOTHERGOOSE: Crash at the castle"
svn-id: r52214
2010-08-19 16:21:31 +00:00
Filippos Karapetis
780dacf48d SCI: Fixed one of the bugs in hoyle3, from bug report #3038837 - "HOYLE3: EGA/VGA Crashes" (that report includes more issues)
svn-id: r52213
2010-08-19 15:58:39 +00:00
Fabio Battaglia
c427ecb7cc DINGUX: disable check for vorbis, because of terrible performance compared to tremor
svn-id: r52212
2010-08-19 15:13:03 +00:00
Filippos Karapetis
37d2f10206 SCI: Added checking for the existence of a GM track, to determine if device ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1
svn-id: r52211
2010-08-19 13:52:21 +00:00
Eugene Sandulenko
26dc4c2425 DINGOO: new port. Patch #3039277
svn-id: r52210
2010-08-19 12:43:37 +00:00
Eugene Sandulenko
6682659da0 i18n: add translations.dat file
svn-id: r52209
2010-08-19 11:48:27 +00:00
Eugene Sandulenko
040dfff8ce i18n: Move translations to standalone file. Patch #3044975
svn-id: r52208
2010-08-19 11:46:55 +00:00
Filippos Karapetis
aa3cefa2c6 SCI: Fixed bug #3039768 - "QFG3: Glitch When Making Thief Sign to Rope Maker", by fixing the implementation of kSetJump, based on Greg's SCI code. kSetJump returned an incorrect result, causing the actor to jump outside the screen
svn-id: r52207
2010-08-19 11:41:13 +00:00
Eugene Sandulenko
2bd5077d2e COMMON: Add caching to ZipArchive. Patch #3048388
Based on patch #3048388: "Hash map for ZipArchive class", though
I made the hashing by default and removed the old code.

It is a really good thing and will speed up any archive operations.

svn-id: r52204
2010-08-19 10:15:12 +00:00
Johannes Schickel
d8d8857276 KYRA: Remove superfluous music fade out on Kyra 3 startup.
svn-id: r52201
2010-08-19 02:39:07 +00:00
Johannes Schickel
2985d27e40 KYRA: Cleanup.
svn-id: r52200
2010-08-19 02:38:42 +00:00
Filippos Karapetis
2b778891ea SCI: Fixed bug #3039679 - "SCI Fanmade - The Gem Scenario: Crash at the start"
svn-id: r52199
2010-08-18 21:58:58 +00:00
Florian Kagerer
29a5c6a45b SCUMM/FM-TOWNS: start rewriting audio code
- Start rewriting audio code for FM-TOWNS versions of Loom, Indy3 and Monkey Island 1 using the recently added code in towns_audio.cpp (Zak should work the same way, but I can't test, since I don't own that one).
- All sound types (pcm, euphony and cd audio) now support volume and balance control (e.g. try walking into/out of the kitchen and opening/closing the door in the Scumm Bar in Monkey Island 1 or walking into/out of the circus tent).
- Pcm sounds now support proper loop start/end and note offsets (e.g. try out the hammer sound in the forge in LOOM for example).
- some other minor improvements
- The FM-Towns versions of Indy 4 and Monkey Island 2 are not affected. I don't have Monkey Island 2, but I presume that it will work like Indy 4. Adding support for these will be a separate task, since they work quite differently.

svn-id: r52198
2010-08-18 21:38:43 +00:00
Filippos Karapetis
c04d3e4689 SCI: Fixed bug #3041232 - "LB2Floppy: Crash at Museum"
svn-id: r52197
2010-08-18 20:41:03 +00:00
Filippos Karapetis
3268238364 SCI: Fixed script bug #3048054 - "LONGBOW: crash when opening hand code" (German version)
svn-id: r52196
2010-08-18 20:28:48 +00:00