Martin Kiewitz
46eb68090c
SCI/newmusic: Added comments about sound resource headers
...
svn-id: r46567
2009-12-25 22:58:45 +00:00
Martin Kiewitz
4dbb9c0806
SCI: implemented command 0x80 (stopnote) for amiga music driver
...
svn-id: r46566
2009-12-25 22:14:41 +00:00
Matthew Hoops
ff00963a8b
Silence a bunch of gcc warnings (and Merry Christmas, if you celebrate).
...
svn-id: r46565
2009-12-25 21:54:31 +00:00
Martin Kiewitz
9255d43a16
SCI/newmusic: Change to channel filtering for sci0early to reflect actual sierra driver behaviour
...
svn-id: r46564
2009-12-25 21:51:02 +00:00
Martin Kiewitz
2f5f625b98
SCI/newmusic: added filter support for kq4early and adlib
...
svn-id: r46563
2009-12-25 18:59:15 +00:00
Eugene Sandulenko
f9754ca68b
Remove extra debug output which sneaked in.
...
svn-id: r46562
2009-12-25 18:37:07 +00:00
Martin Kiewitz
c2f17f9bb9
SCI/newmusic: support for early sound resource format, early kq4 version now gets music, is not filtered yet
...
svn-id: r46561
2009-12-25 18:25:15 +00:00
Filippos Karapetis
113c0941ae
- Introduced a new version in the sound version detection routine, as SCI0 early games had different sound than SCI0 late ones
...
- Changed sound-related debug output from printf's into debugC calls
svn-id: r46560
2009-12-25 18:15:16 +00:00
Martin Kiewitz
16eff8660d
SCI/newmusic: Adlib driver / added comment that sierra adlib driver did not support aftertouch
...
svn-id: r46559
2009-12-25 16:29:16 +00:00
Filippos Karapetis
86701f4019
Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch)
...
svn-id: r46558
2009-12-25 16:20:40 +00:00
Filippos Karapetis
09081ce128
Ignore internal SysEx events in the Adlib player
...
svn-id: r46557
2009-12-25 15:58:18 +00:00
Filippos Karapetis
924c950ed4
Added mutexes in music functions
...
svn-id: r46556
2009-12-25 15:44:25 +00:00
Filippos Karapetis
586ec94df9
Adjusted volume clipping
...
svn-id: r46555
2009-12-25 15:24:35 +00:00
Filippos Karapetis
ec5c42e1f3
Limit volume range to 0 - 255
...
svn-id: r46554
2009-12-25 14:02:28 +00:00
Martin Kiewitz
c03e7c8586
SCI/newmusic: find slot again after destroying it fixes kq6cd, lb2cd, added debug output
...
svn-id: r46553
2009-12-25 13:52:40 +00:00
Filippos Karapetis
f5567d4605
Fixed variable capitalization
...
svn-id: r46552
2009-12-25 13:37:55 +00:00
Johannes Schickel
6223450781
Fix compilation.
...
svn-id: r46551
2009-12-25 13:26:13 +00:00
Filippos Karapetis
a5bb030b6e
Properly initialize the audio stream part of each music slot when loading
...
svn-id: r46550
2009-12-25 13:26:09 +00:00
Filippos Karapetis
809e8c9123
SCI/new music code: Some initial code for saving/loading the sound state
...
svn-id: r46549
2009-12-25 13:18:48 +00:00
Martin Kiewitz
5989195d84
SCI/newmusic: _signalSet, _signalToSet init, debug output added for signals
...
svn-id: r46548
2009-12-25 13:17:30 +00:00
Martin Kiewitz
55f55a1444
SCI/newmusic: ignore vol selector for games prior sci1late, fixes amiga music in sq3
...
svn-id: r46547
2009-12-25 13:13:42 +00:00
Filippos Karapetis
8cd9b3bd76
Another readability change
...
svn-id: r46546
2009-12-25 11:08:12 +00:00
Filippos Karapetis
16e548f67d
Slight code readability cleanup
...
svn-id: r46545
2009-12-25 10:06:59 +00:00
Martin Kiewitz
02f23a6113
SCI/newmusic: Filter was processing one byte too much
...
svn-id: r46544
2009-12-25 08:00:51 +00:00
Johannes Schickel
f642687638
Fix gcc warning (and along with it make the code a little bit easier to read).
...
svn-id: r46542
2009-12-25 03:29:17 +00:00
Martin Kiewitz
4e45107be1
SCI/newmusic: Set signal after waiting for delta and not immediately (fixes iceman intro)
...
svn-id: r46539
2009-12-24 23:53:16 +00:00
Martin Kiewitz
16166de90c
SCI/newmusic: support for 0xF8 delta in parseNextEvent, changes to channel filtering (including temporary debug output)
...
svn-id: r46538
2009-12-24 22:30:49 +00:00
Filippos Karapetis
98053616d1
Silenced some MSVC warnings
...
svn-id: r46536
2009-12-24 20:45:32 +00:00
Matthew Hoops
20c39b05ea
Silence some gcc warnings.
...
svn-id: r46535
2009-12-24 18:43:18 +00:00
Matthew Hoops
996da19fc9
Stub SCI32's kOnMe to give better debugging info (used when clicking in the GK1 menu).
...
svn-id: r46533
2009-12-24 18:37:35 +00:00
Martin Kiewitz
d7cd8345c0
SCI: new music code / signals now almost correctly triggered
...
svn-id: r46532
2009-12-24 17:40:45 +00:00
Filippos Karapetis
7867716b6e
Obtain channel mask from music drivers. Also, added a warning in cmdReverb() to indicate that it's a stub function
...
svn-id: r46531
2009-12-24 16:46:15 +00:00
Filippos Karapetis
f73e9c43c4
Updated comments in kListEachElementDo() to show how it's called, with the help of waltervn
...
svn-id: r46530
2009-12-24 15:24:48 +00:00
Filippos Karapetis
9072b0c26e
SCI32: Added some more stubs for picture manipulation, screen update and animation functions
...
svn-id: r46529
2009-12-24 15:02:06 +00:00
Filippos Karapetis
c8a3d163d1
Added a hack in kAddScreenItem to display the view in question on screen. Some parts of the main menu can be seen now in GK1
...
svn-id: r46528
2009-12-24 14:18:16 +00:00
Filippos Karapetis
69fa167902
SCI32: The view related functions pass a view object as parameter, and the engine should deduce the parameters it needs from that object. Added stub view functions based on that fact. Also, added a sanity check in kCelHigh and kCelWide
...
svn-id: r46527
2009-12-24 13:50:50 +00:00
Martin Kiewitz
f5d8bb1d5e
SCI: new music code / dont filter channel 15 (control) at any time
...
svn-id: r46526
2009-12-24 13:20:23 +00:00
Martin Kiewitz
8e3d34c8a0
SCI: channels are now filtered for sci0 (fixes garbled music)
...
svn-id: r46525
2009-12-24 11:42:37 +00:00
Matthew Hoops
65dcc0b2a3
SCI32:
...
- Fix dup for kArray/kString
- Implement kFileIO::rename (SCI1.1)
- Implement part of the SCI32 additions to kFileIO
- Implement the GetSaveDir part of kSave (SCI2.1)
- Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data!
svn-id: r46521
2009-12-24 02:43:07 +00:00
Filippos Karapetis
51766d83ed
SCI/new music code: Song handles are now unique (as SCI0 relies on them, rather than on nodePtr)
...
svn-id: r46512
2009-12-23 20:13:54 +00:00
Filippos Karapetis
caf1ab2a00
Fixed compilation
...
svn-id: r46511
2009-12-23 18:46:10 +00:00
Filippos Karapetis
77f5bbc4f4
SCI/new music code: Some fixes for SCI0 music, and removed a duplicate enum
...
svn-id: r46510
2009-12-23 18:34:19 +00:00
Max Horn
a526e35d3d
SCI: Fix warning
...
svn-id: r46509
2009-12-23 17:07:01 +00:00
Martin Kiewitz
096b46f1d5
SCI: new music code / wip support for sci0 music
...
svn-id: r46507
2009-12-23 16:51:41 +00:00
Filippos Karapetis
f716942919
SCI/new music code: Added a sanity check to avoid changing some selectors that don't exist in SCI0
...
svn-id: r46505
2009-12-23 16:43:24 +00:00
Filippos Karapetis
9fb61bce13
SCI/new music code: Removed the checks for the nodePtr selector, as we already have equivalent sanity checks (so that it's easier to add SCI0 functionality, which doesn't have a nodePtr selector)
...
svn-id: r46504
2009-12-23 16:33:12 +00:00
Martin Kiewitz
54ec4654e9
SCI: new music code / removed unused sz from Track struct
...
svn-id: r46503
2009-12-23 16:21:32 +00:00
Martin Kiewitz
fd861aaac4
SCI: new music code / variable-names changed to make it more verbose
...
svn-id: r46502
2009-12-23 16:17:42 +00:00
Filippos Karapetis
dfd09bc025
SCI/new music code: Do not cache the signal selector, as it needs to be always updated, so that animations can be synced properly by the game scripts. Fixes KQ6
...
svn-id: r46496
2009-12-23 13:29:06 +00:00
Martin Kiewitz
162b697220
SCI: sound resource added data format comments
...
svn-id: r46495
2009-12-23 12:49:38 +00:00