148 Commits

Author SHA1 Message Date
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
7d5f3e1714 Turned some static tables into static const tables; added some FIXME comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
2009-05-26 11:30:21 +00:00
Max Horn
432e7917a5 SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)
svn-id: r39956
2009-04-16 09:26:37 +00:00
Paweł Kołodziejski
5062401423 fixed 'if' statement as should be/was.
svn-id: r39745
2009-03-29 19:09:23 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Paweł Kołodziejski
cffe7b8379 fixed radio chatter sfx
svn-id: r35804
2009-01-10 17:08:29 +00:00
Paweł Kołodziejski
5fc53e262e - added initial radio chatter sfx, still not fully correct
- remove obsolete mixerStreamRunning track variable

svn-id: r35801
2009-01-10 13:04:33 +00:00
Max Horn
6837416556 Made Engine::_timer protected
svn-id: r35543
2008-12-25 20:53:59 +00:00
Paweł Kołodziejski
b422f0ba73 shutup valgrind warning
svn-id: r33206
2008-07-22 15:24:39 +00:00
Max Horn
a49a3c6aaa cleanup
svn-id: r33135
2008-07-20 16:27:12 +00:00
Max Horn
dadb771cdc Remove reference to kPlainSoundType
svn-id: r32960
2008-07-08 10:29:35 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Paweł Kołodziejski
e640155089 revert stateId == 4 part of code to previous ignore action to fix bug #1881415
svn-id: r30868
2008-02-15 14:14:04 +00:00
Paweł Kołodziejski
f8fe01b9fd silency ignored, we handle it differently
svn-id: r30793
2008-02-05 08:16:52 +00:00
Torbjörn Andersson
7aac83007d Fixed typo in debug message.
svn-id: r30691
2008-01-28 21:54:44 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paweł Kołodziejski
4204371c19 fix for wrong imuse table entry fixes #1879940
svn-id: r30634
2008-01-25 20:16:55 +00:00
Paweł Kołodziejski
2204661dd6 moved debug log
svn-id: r30605
2008-01-21 23:24:11 +00:00
Paweł Kołodziejski
fec313a1ac final fix for bug #1757010
svn-id: r30604
2008-01-21 22:06:14 +00:00
Paweł Kołodziejski
5084530348 disabled force restore state music, it seems fix bug #1757010, at least i see/hear difference :)
svn-id: r30596
2008-01-21 00:42:05 +00:00
Paweł Kołodziejski
41e478d142 fix debug output
svn-id: r30595
2008-01-21 00:39:44 +00:00
Paweł Kołodziejski
fe8c2b89b1 for debug logs for dimuse
svn-id: r30594
2008-01-21 00:10:14 +00:00
Paweł Kołodziejski
ec66f6765c added experimental hack to code to prevent the same start music again if old one didn't have chance finish. it's fix bug #1861704, it may fix other similiar things when seq is to null. added few changes to debug logs.
svn-id: r30590
2008-01-20 19:30:48 +00:00
Paweł Kołodziejski
77838d91e6 fix/workaround for bug #1624464, as we do not support game playing on two different CDs
svn-id: r30588
2008-01-20 17:02:28 +00:00
Paweł Kołodziejski
eafc9f58f2 rename to prevent confusion
svn-id: r30587
2008-01-20 13:19:05 +00:00
Paweł Kołodziejski
703667b606 allow force flush fade track, it happen while very fast switching rooms
svn-id: r30570
2008-01-19 19:32:40 +00:00
Paweł Kołodziejski
78166fb40b changed warning into error, to be know for sure if it still trigger
svn-id: r30568
2008-01-19 17:35:06 +00:00
Paweł Kołodziejski
35fb2055b0 moved fadeDelay
svn-id: r30567
2008-01-19 17:30:49 +00:00
Paweł Kołodziejski
62d4b44502 revert code to fade out first region if jump hit
svn-id: r30566
2008-01-19 17:13:53 +00:00
Paweł Kołodziejski
72d59da6cb missed setting trackId while starSound,
added more debug output,
verification of jump code, it might have regressions

svn-id: r30565
2008-01-19 16:06:20 +00:00
Paweł Kołodziejski
00de511335 fixed support for compressed streams in dimuse
svn-id: r30564
2008-01-19 13:26:53 +00:00
Paweł Kołodziejski
2671e5083c malloc -> new, free -> delete, added few asserts
svn-id: r30561
2008-01-19 11:14:28 +00:00
Paweł Kołodziejski
f0e131c9c3 fixed, it might overflow int32
svn-id: r30560
2008-01-19 10:58:43 +00:00
Max Horn
eb03de63bc iMuse Digital: Moved track & table definition from dimuse.h into separate header files
svn-id: r30550
2008-01-18 17:08:53 +00:00
Max Horn
c2d1554c7d Don't hardcode value for which we have wonderful and nice constants defined ;)
svn-id: r30549
2008-01-18 16:38:11 +00:00
Paweł Kołodziejski
d85e148f4f restore TrackId meaning
svn-id: r30541
2008-01-17 22:55:22 +00:00
Paweł Kołodziejski
9a699c9705 reduction a bit of code
svn-id: r30538
2008-01-17 21:46:17 +00:00
Paweł Kołodziejski
51ad8e29be fixed regression in allocSlot in dimuse, that fix bug #1874045
svn-id: r30536
2008-01-17 21:06:29 +00:00
Paweł Kołodziejski
0db783608b forgot disable that too
svn-id: r30522
2008-01-16 22:24:23 +00:00
Paweł Kołodziejski
bd32e7a6b0 experimental seek in compressed streams in dimuse in time ms resolution
svn-id: r30521
2008-01-16 22:20:34 +00:00
Paweł Kołodziejski
6b33041172 ops
svn-id: r30519
2008-01-16 20:03:54 +00:00
Paweł Kołodziejski
bb2c102cbb clarify warning
svn-id: r30518
2008-01-16 20:01:35 +00:00
Torbjörn Andersson
fe12cf8096 Fixed bad memory access. (Wrong index variable when reading sound->marker[].)
svn-id: r30506
2008-01-15 21:56:53 +00:00
Torbjörn Andersson
08f1357451 Use scumm_stricmp() instead of plain stricmp().
svn-id: r30505
2008-01-15 21:46:12 +00:00
Paweł Kołodziejski
552353663d ops
svn-id: r30504
2008-01-15 21:38:06 +00:00
Paweł Kołodziejski
6bb2f44472 implement dimuse transition 12, not tested yet
svn-id: r30503
2008-01-15 21:35:03 +00:00
Torbjörn Andersson
8935c574d5 Fixed warnings.
svn-id: r30502
2008-01-15 20:36:54 +00:00
Torbjörn Andersson
5dc2caa307 Since the mixer uses 'delete' to free memory, we should allocate it with 'new'.
I don't know if I got all cases, but I no longer get any Valgrind warnings at
the beginning of CoMI when using the original sound/music files.

svn-id: r30501
2008-01-15 20:30:48 +00:00
Paweł Kołodziejski
d0e5df5bfa ops
svn-id: r30500
2008-01-15 20:11:28 +00:00
Paweł Kołodziejski
c3d4abe4b7 fix last commit to release, and add version 2 fallback for compressed files
svn-id: r30499
2008-01-15 20:09:56 +00:00