26517 Commits

Author SHA1 Message Date
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
Lars Persson
37b149049e Enable CINE
svn-id: r33932
2008-08-16 08:49:36 +00:00
Nicola Mettifogo
5e912f6a90 Enabled interaction with movable zones - mainly NPCs - which are linked to animations.
svn-id: r33930
2008-08-16 07:47:44 +00:00
Nicola Mettifogo
797a5e7035 Fixed label positioning in BRA.
svn-id: r33928
2008-08-16 06:39:58 +00:00
Max Horn
f2111eeb45 SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous
svn-id: r33919
2008-08-15 22:06:15 +00:00
Nicola Mettifogo
7891e5afce Implemented raster operation for masks and postponed blitting of zones after everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items.
svn-id: r33903
2008-08-15 15:08:08 +00:00
Lars Persson
b4a2aee964 UpdUpdated actions and Readme for Symbian OS port!
svn-id: r33902
2008-08-15 14:38:25 +00:00
Nicola Mettifogo
05a021fd95 Added routines to load and handle item masks: animation are now correctly hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground).
svn-id: r33900
2008-08-15 14:25:43 +00:00
Sven Hesse
4e0485197f Fixing a segfault in the Bargon Attack menu
svn-id: r33896
2008-08-15 10:47:42 +00:00
Nicola Mettifogo
22eaffcb34 Updated layer calculation: animations are now hidden properly by background elements (but not items yet).
svn-id: r33894
2008-08-15 08:44:41 +00:00
Nicola Mettifogo
0606fef24e Made coordinates and frame number protected into Zone and Animation, and changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA.
svn-id: r33892
2008-08-15 04:30:45 +00:00
Nicola Mettifogo
c70d09bc26 Made scripts access Animation fields via accessors and mutators, instead of using raw pointers.
svn-id: r33891
2008-08-15 03:59:45 +00:00