Commit Graph

3887 Commits

Author SHA1 Message Date
Paweł Kołodziejski
7da4eccb1d enabled save/load code for imuse digital
svn-id: r13746
2004-05-02 14:03:21 +00:00
Paweł Kołodziejski
f6b8830158 forgot it
svn-id: r13745
2004-05-02 13:58:57 +00:00
Paweł Kołodziejski
ffb842c026 this too
svn-id: r13743
2004-05-02 13:17:02 +00:00
Paweł Kołodziejski
8c6f3ddc0a changed from int to int32 to be sure
svn-id: r13742
2004-05-02 13:15:33 +00:00
Paweł Kołodziejski
7701fece20 disabled reset state while change bundle disks
svn-id: r13741
2004-05-02 13:06:40 +00:00
Paweł Kołodziejski
6c682fcfba fixed two arrays
svn-id: r13740
2004-05-02 12:52:19 +00:00
Paweł Kołodziejski
351eaff329 start only used tracks
svn-id: r13739
2004-05-02 12:46:01 +00:00
Paweł Kołodziejski
8bdab25b7a ops
svn-id: r13738
2004-05-02 12:23:51 +00:00
Paweł Kołodziejski
054acfbbd3 added rest of save/load code
svn-id: r13737
2004-05-02 12:20:55 +00:00
Paweł Kołodziejski
24ccdb85e9 ops
svn-id: r13736
2004-05-02 11:53:10 +00:00
Paweł Kołodziejski
b877df6da4 added some save/load code (in progress)
svn-id: r13735
2004-05-02 11:49:08 +00:00
Paweł Kołodziejski
cdc7324951 stub for digital imuse save/load
svn-id: r13734
2004-05-02 10:07:59 +00:00
Paweł Kołodziejski
78f2d34825 remove useless mutex
svn-id: r13722
2004-05-01 18:53:03 +00:00
Paweł Kołodziejski
0b86e3e69c - update names
- remove nonused access to atributes sequence in comi

svn-id: r13721
2004-05-01 18:36:13 +00:00
Paweł Kołodziejski
319ae4deed cleanup
svn-id: r13659
2004-04-28 05:39:53 +00:00
Paweł Kołodziejski
1e83b30b98 that is not need anymore
svn-id: r13656
2004-04-27 17:31:28 +00:00
Torbjörn Andersson
707e9a403b Fixed warning by removing unused variable.
svn-id: r13650
2004-04-27 09:53:44 +00:00
Paweł Kołodziejski
88643e3363 imuse audio stream are use dynamic append size now
svn-id: r13647
2004-04-26 21:29:49 +00:00
Jamieson Christian
4ee0365a23 Tweaked a few things to accommodate
MSVC6's idiosyncracies.

svn-id: r13644
2004-04-26 20:28:34 +00:00
Paweł Kołodziejski
e256a54205 fixed logic code bug. it should not try start sound if not free slot
svn-id: r13641
2004-04-26 19:30:12 +00:00
Paweł Kołodziejski
f90a2a30c2 locking resource sounds while using them to prevent expire
svn-id: r13640
2004-04-26 19:22:27 +00:00
Paweł Kołodziejski
17332e393e added mutex into smush player
svn-id: r13639
2004-04-26 09:04:08 +00:00
Paweł Kołodziejski
883fdfdb7c rename
svn-id: r13638
2004-04-26 08:58:03 +00:00
Paweł Kołodziejski
2ee813b7c2 forgot it
svn-id: r13637
2004-04-26 08:17:19 +00:00
Paweł Kołodziejski
6ca5f9a38e mixer buffer size depend on format of sound, it's 1 second timed buffer
svn-id: r13636
2004-04-26 08:06:53 +00:00
Paweł Kołodziejski
32d7c8c181 fixed stopping imuse sounds
svn-id: r13635
2004-04-26 07:47:12 +00:00
Paweł Kołodziejski
d2aa9b91b5 fixed cue music in FT
svn-id: r13633
2004-04-26 06:26:18 +00:00
Paweł Kołodziejski
bdf9867041 added some indexed comments
svn-id: r13632
2004-04-26 05:18:45 +00:00
Paweł Kołodziejski
7251d5324e - added workaround for strange regions length in some FT voc samples
- increased regions up to 70

svn-id: r13631
2004-04-25 19:51:46 +00:00
Paweł Kołodziejski
cc5fb7fc58 dropped pull method for imuse
svn-id: r13628
2004-04-25 17:24:17 +00:00
Max Horn
0773177bba Fix regression in DIG demo
svn-id: r13627
2004-04-25 16:54:59 +00:00
Max Horn
f9cd78cedd Workaround for bug #864030 (COMI: ASCII 0xb (11) not handled)
svn-id: r13621
2004-04-25 13:34:19 +00:00
Max Horn
e39cfbd864 Updated the 'report to fingolfin' message
svn-id: r13620
2004-04-25 13:22:09 +00:00
Max Horn
a0647bd6b4 Patch #937443 (Monkey Island SegaCD Sound Fix), and some changes by me
svn-id: r13619
2004-04-24 20:57:42 +00:00
Paweł Kołodziejski
bcb5005c31 few corrections, more debug
svn-id: r13618
2004-04-24 20:41:30 +00:00
Paweł Kołodziejski
be28bc0403 add check if track is meanwhile stoped
svn-id: r13617
2004-04-24 20:02:17 +00:00
Paweł Kołodziejski
5241ae7368 forgot removed hack
svn-id: r13616
2004-04-24 20:00:15 +00:00
Paweł Kołodziejski
24e49664e4 in pull method code also
svn-id: r13615
2004-04-24 16:17:10 +00:00
Paweł Kołodziejski
415a0f6880 c&p bug, it should not break loop but continue
svn-id: r13614
2004-04-24 16:15:01 +00:00
Paweł Kołodziejski
443d7ec553 fixed bug related to regions. sound of status for remove should not processed anymore
svn-id: r13613
2004-04-24 15:58:51 +00:00
Paweł Kołodziejski
e369538e34 free slot and return NULL when it can't open bundle file
svn-id: r13612
2004-04-24 15:33:36 +00:00
Torbjörn Andersson
14f74bb568 Increased _numNewNames to 150. Judging by bug #941275 it wasn't enough to
increase it to 100, like we did recently.

svn-id: r13611
2004-04-24 12:54:02 +00:00
Jonathan Gray
d044393235 remove old zak256 target, if you're still using this its time to start using the zakTowns target
svn-id: r13604
2004-04-23 09:23:17 +00:00
Torbjörn Andersson
dfe25fbfd8 Added note that the previous commit probably fixed bug #933610 as well.
svn-id: r13599
2004-04-20 07:21:25 +00:00
Torbjörn Andersson
ac967bde63 Increased _numNewNames from 50 to 100 to prevent overflow in MI2 endgame.
This should fix bug #936323. (There are still some game versions that use
50, but that can be fixed later, if the need arises.)

svn-id: r13598
2004-04-20 07:10:13 +00:00
Max Horn
9defe4fc18 Removed XOR encoding stuff from File class; instead the new Scumm::XORFile class provides this functionality now
svn-id: r13597
2004-04-17 16:29:03 +00:00
Travis Howell
9b904682b1 Amiga Monkey Island 1 sound update from Quietust:
Allows MP3 music support in demo and full game.

svn-id: r13593
2004-04-17 07:22:02 +00:00
Max Horn
f8d9bc6bcd Revert debug levels
svn-id: r13590
2004-04-16 21:05:09 +00:00
Max Horn
bcb7878f10 Unify some code
svn-id: r13589
2004-04-16 20:49:14 +00:00
Chris Apers
5af7979f0b Fixed illegal access to protected/private member on PalmOS (??)
svn-id: r13588
2004-04-16 12:47:55 +00:00
Jonathan Gray
0a1cefb04e Fix regression introduced with the mac loom copy protection changes in rev 1.155, afaik all non mac versions of loom should be using that check not just pc. Fixes bug #934913
svn-id: r13581
2004-04-16 05:48:31 +00:00
Torbjörn Andersson
2de9cbf9fd Changed the type of value from char to int8. Otherwise, if char happens to
be unsigned, the test for if value == -31 will always fail.

svn-id: r13580
2004-04-15 15:56:21 +00:00
Paweł Kołodziejski
fae6675c5b forgot that
svn-id: r13578
2004-04-14 06:37:00 +00:00
Paweł Kołodziejski
6ea29bc7f8 added support for compressed FOBJ chunks in smush movie files.
the *.san files from 'data' dir in FT can NOT be compressed !

svn-id: r13577
2004-04-13 19:20:16 +00:00
Paweł Kołodziejski
6c94b42f90 added experimental and buggy pull method to imuse, it's disabled by default, to enable uncoment in dimuse.h define #ENABLE_PULLMETHOD
svn-id: r13571
2004-04-13 06:29:34 +00:00
Paweł Kołodziejski
8d6a1c1245 disabled wait in stopAllSounds in imuse digital, it can cause deadlock
svn-id: r13562
2004-04-12 13:34:34 +00:00
Max Horn
fd3ff5b58a Workaround for bug #847827 (FOA: Wrong sprite z-order at specific place)
svn-id: r13553
2004-04-11 23:19:19 +00:00
Max Horn
8fc35a9a84 Fixing up the mess I made out of the branches <sigh>
svn-id: r13551
2004-04-11 22:20:41 +00:00
Max Horn
560ab5384c oops
svn-id: r13550
2004-04-11 22:13:20 +00:00
Max Horn
e4942c4b69 Oops! Accidentally copied the HEAD sound.cpp into the 0.6.0 branch
svn-id: r13548
2004-04-11 20:55:46 +00:00
Paweł Kołodziejski
f41e7a1e81 pull not pool
svn-id: r13547
2004-04-11 18:58:50 +00:00
Paweł Kołodziejski
f489a2ae75 pull not pool
svn-id: r13546
2004-04-11 18:57:44 +00:00
Paweł Kołodziejski
b05cc19d0d add initial code for pull procedure
svn-id: r13545
2004-04-11 18:56:32 +00:00
Paweł Kołodziejski
908e80060d forgot that
svn-id: r13544
2004-04-11 18:07:03 +00:00
Paweł Kołodziejski
3a04ee24cd exclude for FT sound loops
svn-id: r13543
2004-04-11 14:56:11 +00:00
Paweł Kołodziejski
def44acc6f implemented 'fade buffers' stuff
svn-id: r13542
2004-04-11 14:48:50 +00:00
Max Horn
26c8f9340d Fix for bug #907266 (MI Mac Music Bug)
svn-id: r13540
2004-04-11 12:31:46 +00:00
Travis Howell
25df782332 Allow copy protection in FOA (Disk) to be enabled.
svn-id: r13536
2004-04-11 04:20:09 +00:00
Paweł Kołodziejski
a3aead899e special case for 384x242 smush resolution for ft pc demo, it use additional buffer
svn-id: r13532
2004-04-10 09:17:36 +00:00
Max Horn
2bc99154fb oops
svn-id: r13530
2004-04-10 01:45:00 +00:00
Max Horn
d78e9bb0ac cleanup
svn-id: r13529
2004-04-10 00:51:12 +00:00
Max Horn
a78fb36798 cleanup
svn-id: r13528
2004-04-10 00:17:42 +00:00
Max Horn
3b7af85adf Cleanup Sound constructor; change search order of SFX files
svn-id: r13527
2004-04-10 00:07:58 +00:00
Paweł Kołodziejski
95c17148ae fixed 'region' code
svn-id: r13526
2004-04-09 21:44:29 +00:00
Paweł Kołodziejski
6d4839d376 it seems to be needed for comi too, hmm
svn-id: r13525
2004-04-09 21:42:37 +00:00
Paweł Kołodziejski
e795a7ce65 revert
svn-id: r13523
2004-04-09 18:19:22 +00:00
Paweł Kołodziejski
c4383474cf refreshScripts only for full game dig, and cmi demo
svn-id: r13522
2004-04-09 18:18:42 +00:00
Paweł Kołodziejski
c2e0647f6a -fix for dig demo
-handle some music opcodes without filename

svn-id: r13514
2004-04-09 06:17:20 +00:00
Paweł Kołodziejski
5763122a69 back refreshScript only for DIG, add stopping music while changing bundle
svn-id: r13513
2004-04-09 05:43:24 +00:00
Paweł Kołodziejski
d368d2e7fa refreshScript was wrong used
svn-id: r13512
2004-04-09 04:56:18 +00:00
Paweł Kołodziejski
5f89f5b2b7 correction for stoping sequence
svn-id: r13511
2004-04-09 04:20:17 +00:00
Paweł Kołodziejski
6a175f294c rename to _nextSeqToPlay
svn-id: r13510
2004-04-09 03:57:18 +00:00
Max Horn
333a2aaea8 Fix for bugs #929722 (MI2: Difficulty selection screen regression) and #930385 (Subtitles are not shown correctly) by changing restoreCharsetBg() to only restore the screen area which is actually masked by text
svn-id: r13508
2004-04-08 23:43:30 +00:00
Max Horn
3dcd7bbfa8 Record on which virtual screen we last drew masked text
svn-id: r13507
2004-04-08 23:41:10 +00:00
Max Horn
2b94290c97 cleanup
svn-id: r13506
2004-04-08 23:38:09 +00:00
Max Horn
650dc2117c seems it is 'endianness' and not 'endianess'
svn-id: r13504
2004-04-08 22:46:46 +00:00
Paweł Kołodziejski
263bd0d0e7 another fix
svn-id: r13503
2004-04-08 22:46:22 +00:00
Paweł Kołodziejski
6da153dc12 fix for music code
svn-id: r13502
2004-04-08 21:59:40 +00:00
Paweł Kołodziejski
83b7d7f84c fix for region code
svn-id: r13501
2004-04-08 21:13:25 +00:00
Chris Apers
5ab0ba430b Can't do that on PalmOS, exit is event based
svn-id: r13499
2004-04-08 11:48:35 +00:00
Max Horn
bf0e879aa1 Semi-experimental change: revised _hasMask handling -> simpler code (after removing those FIXME's that is :-), which should still produce identical results (let's wait for the regressions rolling in :-)
svn-id: r13498
2004-04-08 01:38:07 +00:00
Paweł Kołodziejski
c210064420 ops and forgot :)
svn-id: r13496
2004-04-07 17:49:22 +00:00
Paweł Kołodziejski
ad65c8e6b2 corections to music code
svn-id: r13492
2004-04-07 07:17:16 +00:00
Max Horn
fa87f49784 cleanup
svn-id: r13490
2004-04-06 22:02:02 +00:00
Paweł Kołodziejski
2b9311aa26 - split imuse digital code,
- cleanup a little,
- added pool method for FT voc sample from resource,
- make struct sync, jump, regions dynamic memory allocation

svn-id: r13486
2004-04-06 19:46:43 +00:00
Max Horn
86dd5c56f6 voice_volume is now speech_volume
svn-id: r13485
2004-04-06 18:42:53 +00:00
Torbjörn Andersson
349f63ebfc Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)

svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
b973869456 that is not needed anymore
svn-id: r13481
2004-04-06 06:20:51 +00:00
Paweł Kołodziejski
1470818bc0 that is not needed anymore
svn-id: r13480
2004-04-06 06:19:52 +00:00
Max Horn
cc954a70ae Fix for bug #929724 (MI2: Intro regression) -> since _outheight can be negative, negative y values aren't filtered out automatically anymore, so we have to explicitly check for them
svn-id: r13478
2004-04-06 01:06:54 +00:00