Commit Graph

40137 Commits

Author SHA1 Message Date
Eugene Sandulenko
06960d33e1 HUGO: Adding engine to the main tree
svn-id: r52137
2010-08-17 09:28:20 +00:00
Arnaud Boutonné
e075f05395 Gob - Clean up: suppress blanks and tabs present at the end of line
svn-id: r52136
2010-08-17 08:33:50 +00:00
Arnaud Boutonné
8ed0a70b06 Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV for identifying the problem
svn-id: r52135
2010-08-17 07:41:15 +00:00
Arnaud Boutonné
0bfb74fd57 Fascination - Suppress a debug warning, and replace several warnings by errors.
svn-id: r52133
2010-08-16 21:18:38 +00:00
Arnaud Boutonné
97943cef45 Fascination - (SylvainTV) Replace DRAW_DRAWLETTER by DRAW_BLITSURF. It makes a difference for Fascination, not for the other games using mult_v2. This fixes the refresh of all the little animations in Fascination.
svn-id: r52132
2010-08-16 21:16:13 +00:00
Max Horn
861e520579 COMMON: Try to clarify and update some Common::Archive docs
svn-id: r52131
2010-08-16 19:58:20 +00:00
Max Horn
8a5705132d SCUMM: More finely differentiate opcode tables between v3, v4 and v5
This has been tested and verified as much as I can, but has a small
risk of leading to (easily fixable) regressions.

svn-id: r52130
2010-08-16 19:58:01 +00:00
Max Horn
5602b2cf81 SCUMM: Move setResult/getResultPos to script_v5.cpp
svn-id: r52129
2010-08-16 19:57:35 +00:00
Eugene Sandulenko
eff2623f10 OSYSTEM: revert r52120 and r52121. Introduced regressions
svn-id: r52127
2010-08-16 18:07:21 +00:00
Matthew Hoops
4c3618e645 SCI: Fix uninit'd temp in longbow. See bug #3046200
svn-id: r52126
2010-08-16 17:02:35 +00:00
Martin Kiewitz
d8726d8058 SCI: sci1.1 pictures w/o cel don't set palette
even if one is present in the picture, fixes some transitions looking weird in eq2 - bug #3037126

svn-id: r52125
2010-08-16 16:50:45 +00:00
Johannes Schickel
7b51537be2 Common: Fix bug in lastPathComponent.
Prior to this change lastPathComponent would not create a correct result,
when the input of lastPathComponent did not contain a single separator.

I also added a test case for this in our unit tests.

svn-id: r52123
2010-08-16 16:01:31 +00:00
Martin Kiewitz
c284e78cc0 SCI: adding patch for eq2 / ecorder
initial title now gets removed

svn-id: r52122
2010-08-16 15:22:43 +00:00
Eugene Sandulenko
535d8e12bd OSYSTEM: Add directories to archive list just as in other variants
svn-id: r52121
2010-08-16 13:19:21 +00:00
Eugene Sandulenko
bfabe2af97 OSYSTEM: Fix file archive for non-flat directories
svn-id: r52120
2010-08-16 13:00:41 +00:00
Arnaud Boutonné
e26da1a634 Fascination - (SylvainTV) Always free anims when initializing the scenary. (Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge.
svn-id: r52109
2010-08-16 00:29:05 +00:00
Arnaud Boutonné
8b649178ce Fascination - Add workaround for script bug: wrong track name is called in storage room
svn-id: r52107
2010-08-15 23:40:24 +00:00
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