40120 Commits

Author SHA1 Message Date
Arnaud Boutonné
58987824c2 Gob - Follow cppcheck advices
svn-id: r52106
2010-08-15 23:37:56 +00:00
Torbjörn Andersson
b49761b6ea SCI: Change abs() to ABS()
I'm not sure why we define our own ABS(), but I assume we have some
compelling reason for it.

svn-id: r52105
2010-08-15 19:01:18 +00:00
Arnaud Boutonné
4b1d78694e Suppress some debugging warnings
svn-id: r52104
2010-08-15 18:46:28 +00:00
Arnaud Boutonné
3fd7468cbc Fascination - Add handling for window funcLeave on close. This fixes (at least) the picture problem in the lab, and the game is now completable (VGA floppy). Thanks SylvainTV for the debugging help
svn-id: r52103
2010-08-15 18:46:00 +00:00
Martin Kiewitz
f078363c7e SCI: adding workaround for island dr. brain
fixes bug #3045225

svn-id: r52102
2010-08-15 16:24:43 +00:00
Yotam Barnoy
023ca7962a PSP: slight fix to ME MP3 player
A bad function call during initialization of a stream was causing rare instances where the ME failed to decode some MP3 data.

svn-id: r52101
2010-08-15 15:31:24 +00:00
Torbjörn Andersson
6ff151b9ef SCUMM: Fix bug #3024173 - LOOM-PCE: Music stops prematurely
Apparently, the original interpreter hard-coded the lengths of the
audio tracks on the CD, and in this particular case it makes a
difference that one of the tracks is slightly longer on the disc
than the scripts assume it is. Thanks to hennymcc for doing all the
hard work in figuring this out.

svn-id: r52098
2010-08-15 11:37:57 +00:00
Andre Heider
af3dd70938 WII: Fix compilation of the GameCube port.
svn-id: r52089
2010-08-14 11:01:00 +00:00
Andre Heider
5731bce2e3 NEWS: Fix typo.
svn-id: r52088
2010-08-14 10:45:36 +00:00
Andre Heider
cb8a7a3430 NEWS: Mention new Wii and GameCube port features.
svn-id: r52087
2010-08-14 10:36:13 +00:00
Johannes Schickel
b7ab1d41bf SCI: Silence shadowed variable warning of g++.
svn-id: r52082
2010-08-14 08:44:29 +00:00
Martin Kiewitz
f8697e20b5 SCI: now reusing window ids on kNewWindow
sq4cd recreates the inventory window several times, but also reuses old window ids, causing kernelSetActive errors. fixes bug #3044757

svn-id: r52079
2010-08-14 08:03:32 +00:00
Martin Kiewitz
512bf22af6 SCI: adding workaround for camelot during ending
fixes bug #3044734
also fixing heap corruption during the ending

svn-id: r52077
2010-08-14 06:05:54 +00:00
Matthew Hoops
f252c0b67e SCI: Add support for Mac 'crsr' cursors used in SCI2+ games
svn-id: r52076
2010-08-14 04:21:09 +00:00
Matthew Hoops
d882661aec COMMON: Cleanup MacResManager::convertCrsrCursor a bit
It's now a static function since it doesn't require any local variables and is really separate from the resource fork code. Also, actually assigning the keycolor (which was just being ignored).

svn-id: r52075
2010-08-14 04:03:36 +00:00
Andre Heider
c58e2707ff WII: Update port for the current versions of the base libraries. Enable DVD access for the GameCube port.
svn-id: r52074
2010-08-14 00:56:12 +00:00
Matthew Hoops
185da18926 SCI: Add the detection entry for GK1 mac
svn-id: r52072
2010-08-14 00:25:10 +00:00
Martin Kiewitz
c09a968fc0 SCI: adding switch to sci1mid for lsl1/spanish
makes it work, bug #3043270, added FIXME

svn-id: r52071
2010-08-13 21:09:10 +00:00
Martin Kiewitz
da543ce36c SCI: adding workaround for sq4/floppy
bug #3044046

svn-id: r52070
2010-08-13 20:08:57 +00:00
Martin Kiewitz
6181241f57 SCI: extending life of port for sq4 gum wrapper
fixes bug #3044507

svn-id: r52068
2010-08-13 18:25:16 +00:00
Martin Kiewitz
56c4fc7a70 SCI: commenting out sq5 beta detection entry
svn-id: r52067
2010-08-13 13:33:29 +00:00
Martin Kiewitz
c6337c4e6e SCI: adding bugid to pharkas workaround
svn-id: r52066
2010-08-13 12:46:40 +00:00
Martin Kiewitz
ae32b8b3e5 SCI: adding pharkas workaround room 540
bug #3044218

svn-id: r52065
2010-08-13 12:44:20 +00:00
Martin Kiewitz
aab9fcae45 SCI: adding workaround for sq4/floppy room 397
bug #3044044, didn't occur for me, needs testing

svn-id: r52064
2010-08-13 12:32:14 +00:00
Martin Kiewitz
b62d3bdd0a SCI: adding workaround for sci1.1 mother goose
bug #3043955

svn-id: r52063
2010-08-13 12:14:53 +00:00
Eugene Sandulenko
05e139dd02 i18n: Update Russian translation
svn-id: r52062
2010-08-13 09:56:07 +00:00
Thierry Crozat
797012eb5c i18n: Fix link error when localization is disabled
This fix a regression introduced in revision 50448 ("Add support for
locale-dependant font'). When disabling localization a function was
declared, called but not implemented.

svn-id: r52048
2010-08-12 23:09:38 +00:00
Martin Kiewitz
df04f81466 SCI: adding bug id to sq4 patch
svn-id: r52047
2010-08-12 22:27:28 +00:00
Martin Kiewitz
4309d8c00c SCI: adding patch for sq4/floppy
fixing endless flight, is actually a script data bug - there is an additional property, which is not included in property count. It's used. We return 0 in that case, because we don't know about that property, resulting in nest::x never get changed and the scripts check that for advancing

svn-id: r52046
2010-08-12 22:25:15 +00:00
Martin Kiewitz
f1ad1f1738 SCI: "version" now shows cantBeHere selector
svn-id: r52045
2010-08-12 21:33:23 +00:00
Martin Kiewitz
49c7ebf72f SCI: adding pq2 workaround
we had this workaround before, this is for a different pq2 version - bug #3043904

svn-id: r52044
2010-08-12 21:20:01 +00:00
Martin Kiewitz
4be0eb985e SCI: queuing signal, if signal not passed to scripts
fixes laura bow 1 when knocking at the door in the attic, scripts wait for 0xb in that case, sound resource sets 0xb and then immediately ends. This resulted in the scripts only getting the termination signal, so they waited endlessly. (bug #3042981)

svn-id: r52043
2010-08-12 15:45:53 +00:00
Martin Kiewitz
bb932595d8 SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless

svn-id: r52040
2010-08-12 14:01:28 +00:00
Martin Kiewitz
e5a8c8c544 SCI: laurabow2 patch is lb2cd exclusive
svn-id: r52039
2010-08-12 13:52:03 +00:00
Martin Kiewitz
91cfd04438 SCI: adding patch for laurabow2
painting closing immediately
(fixed properly here, the NRS patch just nukes the whole routine)

svn-id: r52038
2010-08-12 13:45:39 +00:00
Martin Kiewitz
91c2c7f401 SCI: fixing text color support
fixes some words not being red in pepper (part of bug #3040039)

svn-id: r52031
2010-08-12 09:52:00 +00:00
Thierry Crozat
629042a07c i18n: Update German translation
svn-id: r52014
2010-08-11 23:21:53 +00:00
Florian Kagerer
75117d7875 FMTOWNS AUDIO: fix cda volume and balance control
svn-id: r52013
2010-08-11 22:50:13 +00:00
Thierry Crozat
53f11373d4 i18n: Update all translations.
Template and all translations were updated from source code. The
German and French translations contain additional changes.

svn-id: r52008
2010-08-11 21:51:34 +00:00
Martin Kiewitz
06139e2be7 SCI: properly doing kAnimate loop/cel fixing
really weird, but it works now. Bug #3037578 (kq5 trunk), bug #3043286 (lb1 knight)

svn-id: r52007
2010-08-11 21:47:44 +00:00
Martin Kiewitz
7e3b2bedb6 SCI: revert r51969
broke laura bow 1, need to figure out whats exactly wrong

svn-id: r52004
2010-08-11 21:16:45 +00:00
Martin Kiewitz
60b2750209 SCI: adding patch for kq5 harpy volume
fixes actual game bug #3042277 - sierra switched in that case to highest volume possible

svn-id: r51999
2010-08-11 20:39:13 +00:00
Eugene Sandulenko
ff8b296c29 Use tabs instead of spaces for indentation.
svn-id: r51997
2010-08-11 19:32:07 +00:00
Florian Kagerer
581935dda4 KYRA: add new GUIO_MIDIAMIGA flag to amiga targets
svn-id: r51996
2010-08-11 18:56:50 +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
Martin Kiewitz
0c7932cc7c SCI: fixing kGraphFillBoxAny implementation
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185
cleanup of GfxPaint16::fillRect

svn-id: r51994
2010-08-11 18:19:58 +00:00
Martin Kiewitz
38f34465b7 SCI: workaround change kq5
svn-id: r51991
2010-08-11 16:58:44 +00:00
Torbjörn Andersson
d781c4bbaa SCUMM: Re-enabled PCjr music for some more games
At this point, there's little point in doing them one game at a time.
Re-enable PCjr music for old Monkey Island, and for the Passport to
Adventure demo. Again, I don't have all the relevant versions to test
myself, so keep an eye out for regressions.

At this point, only the Apple II and C64 versions of Maniac Mansion
have the MDT_PCSPK flag, but not the MDT_PCJR flag. I don't know a
thing about these versions, so I'm leaving them well enough alone.

svn-id: r51990
2010-08-11 15:52:49 +00:00
Torbjörn Andersson
5c8e23f772 SCUMM: Re-enable PCjr music for EGA Loom.
svn-id: r51989
2010-08-11 15:41:32 +00:00
Torbjörn Andersson
416b568744 SCUMM: Re-enable PCjr music for Indy 3
Apart from adding the necessary detector flags, in cases where we used
to only check for PC Speaker we now also need to check for PCjr. Note
that I have only tested this with the VGA version. And even with that
one, I've only given it the briefest of tests.

svn-id: r51988
2010-08-11 15:36:29 +00:00