Commit Graph

26528 Commits

Author SHA1 Message Date
Johannes Schickel
9138128f5c - Committed Max' compressed save backseeking support from patch #2050337 "KYRA/SCUMM: Thumbnail support/improvement"
- Extended SCUMM engine to support savegames without thumbnail header. (Increased savegame version to prevent saves to be loaded from older ScummVM versions)
- Fixed KYRA to properly support savegames without thumbnail header.

svn-id: r34054
2008-08-20 14:24:16 +00:00
Johannes Schickel
f4fc8c3e4c Committed patch #2050337 "KYRA/SCUMM: Thumbnail support/improvement". (Without Max' compressed backward seeking support for now)
svn-id: r34053
2008-08-20 14:03:34 +00:00
Max Horn
a79e9385a1 Unified member names in container/storage classes Array, HashMap and String: _storage, _size, _capacity
svn-id: r34052
2008-08-20 11:07:16 +00:00
Max Horn
47429f2197 Extended HashMap debug output
svn-id: r34051
2008-08-20 10:18:59 +00:00
Torbjörn Andersson
35b02acb39 Moved the mutex locking a bit. (Consistent with how the AGOS engine does it.)
svn-id: r34050
2008-08-20 09:15:59 +00:00
Torbjörn Andersson
eb35835f5e I believe the setVolume() function has to be guarded by a mutex. (I added this to
the Tinsel engine a while back to fix mysterious problems, but forgot to add it
elsewhere.) Maybe this will fix the mysterious IHNM crashes, as well?

svn-id: r34048
2008-08-20 09:12:11 +00:00
Nicola Mettifogo
9549cbee7f Engine now returns to the menu when intro is over.
svn-id: r34047
2008-08-20 04:02:12 +00:00
Nicola Mettifogo
d5d4500b64 * Enlarged buffer for frame decoding. Crashes in the introduction were caused by a small buffer and subsequent out-of-bound writes.
* Disabled debug code.

svn-id: r34046
2008-08-20 03:36:49 +00:00
Nicola Mettifogo
86c3ddc23c Deleted debug code that slipped in.
svn-id: r34041
2008-08-19 14:36:05 +00:00
Kari Salminen
44c24e922b Fix for bug #2057619: FW: Glitches in title display of demo (regression).
Removed incorrect transparency data used for logo. Now it's shown correctly.

svn-id: r34039
2008-08-19 14:19:28 +00:00
Nicola Mettifogo
389575b5c1 Fixed bug in low-level parser. Block comments weren't interpreted correctly.
svn-id: r34038
2008-08-19 14:07:48 +00:00
Kari Salminen
b7dce00942 Fix for bug #2057656: FW: Assert during demo (regression).
Future Wars's Amiga demo is trying to load collision data files
'L8_MK.NEO' and 'L23_MK.NEO' that aren't supplied with the demo.
Previous code crashed when a file couldn't be found,
now it gives a warning instead.

svn-id: r34036
2008-08-19 13:05:38 +00:00
Kari Salminen
97463309ba Fix for bug #2057637: FW: Spaceship glitches in demo (regression).
This was caused by assuming in-place decompression is ok, it wasn't,
although AFAIK the original did decompression in-place too.
Changed unpacking to be done not in-place and the glitch vanished.
Also changed the unpacker to also handle uncompressed input data.

svn-id: r34034
2008-08-19 11:55:20 +00:00
Max Horn
e61aec4ca7 Fixed 'make install' when building outside srcdir
svn-id: r34033
2008-08-19 10:58:35 +00:00
Max Horn
05bac1e74e Fixed GCC warning
svn-id: r34032
2008-08-19 10:52:39 +00:00
Filippos Karapetis
8b48de9949 Fix for bug #2057664 - "DRASCULA: No GUI warning when playing from CD"
svn-id: r34030
2008-08-19 10:12:35 +00:00
Filippos Karapetis
148ef16d8b Fixed regression from commit #33576. Fixes bug #2056282 - "DRASCULA: can't use inventory objects"
svn-id: r34028
2008-08-19 10:05:07 +00:00
Lars Persson
983e07ff6e Use the correct and specified datatype int32 instead of only int.
svn-id: r34027
2008-08-19 09:26:41 +00:00
Lars Persson
a045b77b59 Don't Use CEikonEnv::Static, get FS from system class instead
svn-id: r34025
2008-08-19 08:54:28 +00:00
Filippos Karapetis
15722c8ee8 Fix for bug #2057194 - "IHNM: -x option crashes ScummVM, if savegame doesn't exist"
svn-id: r34023
2008-08-19 08:49:53 +00:00
Nicola Mettifogo
c528106b86 Fixed segfault when quitting BRA.
svn-id: r34022
2008-08-19 08:08:32 +00:00
Lars Persson
247ea5d5f4 Remove Deinit when hiding menu! UI infoprints needed the pixelbuffer.
svn-id: r34021
2008-08-19 07:44:35 +00:00
Florian Kagerer
cb5162fad6 fixed warnings
svn-id: r34019
2008-08-19 06:31:57 +00:00
Florian Kagerer
95745179f5 fixed bug that caused a lockup in certain configurations when the music was fading
svn-id: r34015
2008-08-19 01:00:15 +00:00
Lars Persson
106a38efc3 Enable save game action key in Touche for WinCE devices.
svn-id: r34013
2008-08-18 21:19:18 +00:00
Lars Persson
206c849ffa Enable quick F5 save key for Touche!
svn-id: r34011
2008-08-18 21:09:46 +00:00
Bertrand Augereau
0e99719b3a Compile fix for 34006
svn-id: r34009
2008-08-18 20:43:44 +00:00
Robin Watts
90b59af2ba Updates to the scummvm blitting code as discussed on the mailing list.
1) Remove DS version of the ARM blitters in favour of the 'normal' ARM one.
 2) Update normal ARM blitter to use Carlo's clever algorithm.
 3) Update C version with Max Horns patch (slightly tweaked - counting down
on loops is better, M'kay).

svn-id: r34006
2008-08-18 20:04:15 +00:00
Lars Persson
ca3dcdfd4e Do Deinit of pixel buffer when hiding menu.That saves 600KB in VGA games for low memory devices.
svn-id: r34000
2008-08-18 18:16:24 +00:00
Kostas Nakos
f57e600fa5 switching to libTremolo
svn-id: r33999
2008-08-18 18:15:32 +00:00
Florian Kagerer
92f545ba66 KYRA: FM-Towns/PC-98 Audio:
- adpcm decoding for rhythm channel
- cleanup

svn-id: r33993
2008-08-18 17:42:32 +00:00
Kostas Nakos
b809665671 do away with the smush force redraw hack
svn-id: r33991
2008-08-18 17:24:25 +00:00
Nicola Mettifogo
c2089be660 * Split up blt routine (there is room for a ton of improvements)
* Added scaling as a new blt option
* Activated scaling for the main character in BRA

svn-id: r33985
2008-08-18 07:12:05 +00:00
Florian Kagerer
87164b6c05 KYRA: FM-Towns/PC-98 Audio:
- improved accuracy
- complete percussion channel support (does not work atm though, since the instrument data is missing)
- some cleanup

svn-id: r33980
2008-08-17 22:49:34 +00:00
Lars Persson
8d4461d2c9 Improved filehandling for securer and quicker way to get ref to file session
svn-id: r33978
2008-08-17 21:16:07 +00:00
Kari Salminen
95aa2ce56f Added some documentation about how data is unpacked in gfxConvertSpriteToRaw (Learned this from trying to implement convertPI1_2 i.e. gfxConvertSpriteToRaw myself to see if that was the problem with the Operation Stealth's labyrinth arcade sequence).
svn-id: r33976
2008-08-17 20:53:18 +00:00
Eugene Sandulenko
19b6334418 Patch #2045543: Possible fix for Drascula's decodeRLE()
svn-id: r33973
2008-08-17 18:58:23 +00:00
Kari Salminen
a32cae809b Forwardport of branch-0-12-0's r33966: Fix to Future Wars's rendering of type 0 overlays (i.e. color sprites). Objects with negative frame values are supposed to be jumped over (Verified with disassembly).
svn-id: r33967
2008-08-17 10:43:54 +00:00
Johannes Schickel
388b3f0296 Properly close files opened when checking for config file on WIN32.
svn-id: r33953
2008-08-16 22:30:47 +00:00
Kari Salminen
cc82aeb18d Workaround for bug #2054882 (FW: Impossible to survive entering monastery (regression)):
For Future Wars o1_compareGlobalVar now compares global variable 255 to be equal to everything.
The scripts probably tested global variable 255 for equality with some value (Maybe 143?)
to see whether copy protection was properly passed.

svn-id: r33950
2008-08-16 22:15:57 +00:00
Johannes Schickel
08b4cf127b Cleanup.
svn-id: r33948
2008-08-16 21:51:56 +00:00
Florian Kagerer
cc80af1448 KYRA: Fm-Towns Audio: fixed crash
svn-id: r33943
2008-08-16 15:24:52 +00:00
Florian Kagerer
193f52906c KYRA: Fm-Towns Audio: fixed music fading
svn-id: r33942
2008-08-16 14:25:03 +00:00
Nicola Mettifogo
fbc9483ed2 Extended balloon manager to handle color constants and fixed color of text in balloons for BRA.
svn-id: r33940
2008-08-16 13:10:54 +00:00
Nicola Mettifogo
b08a3885a8 Multiple balloons (answers) are now positioned correctly in BRA.
svn-id: r33939
2008-08-16 12:49:27 +00:00
Florian Kagerer
807bfe5079 - KYRA: FM-Towns/PC-98 Audio: fixed several bugs and got rid of some floating point arithmetic (or at least replaced some doubles with floats)
- Improved support for PC-98 music: HOF tracks seem to be fine, KYRA should be okay, too (I can't compare with an emulator since I am missing the floppy boot disk with the executable)
- There are still tempo issues. Some tracks play way too slow, others way too fast
- PC-98 sound effects in Kyra 1 don't work (I would need the floppy disk with the executable for that)

svn-id: r33938
2008-08-16 12:38:37 +00:00
Torbjörn Andersson
49aff727e2 Removed unused variable.
svn-id: r33936
2008-08-16 11:50:36 +00:00
Kari Salminen
f055cf5c3e Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything.
svn-id: r33935
2008-08-16 11:38:43 +00:00
Max Horn
c91bf34039 Replaced ARM_USE_GFX_ASM by USE_ARM_GFX_ASM
svn-id: r33934
2008-08-16 11:37:36 +00:00
Nicola Mettifogo
41a1763fa8 Fixed half-invisible balloons.
svn-id: r33933
2008-08-16 08:57:07 +00:00