Commit Graph

9878 Commits

Author SHA1 Message Date
Eugene Sandulenko
e344d4e1b0 Forgot to commit header file
svn-id: r13671
2004-04-29 03:54:03 +00:00
Eugene Sandulenko
bb8ee598c9 Music.cpp objectizing.
Initial MIDI checkin, doesn't work

svn-id: r13670
2004-04-29 03:52:59 +00:00
Eugene Sandulenko
b03304c870 Rename sysmusic.cpp to music.cpp
svn-id: r13669
2004-04-29 01:47:51 +00:00
Eugene Sandulenko
d7835da8c7 Voices are played
svn-id: r13668
2004-04-29 01:24:18 +00:00
Eugene Sandulenko
4c889000f2 Objectizing sound.cpp
svn-id: r13667
2004-04-28 23:54:40 +00:00
Eugene Sandulenko
c3171841aa Rename syssound.cpp to sound.cpp
svn-id: r13666
2004-04-28 23:24:56 +00:00
Eugene Sandulenko
4f25dbb45b Rename Snd object to SndRes
svn-id: r13665
2004-04-28 23:19:45 +00:00
Eugene Sandulenko
1ad6498bd5 Objectize sndres.cpp
svn-id: r13664
2004-04-28 23:10:59 +00:00
Eugene Sandulenko
b59c8004a5 code formatting insanity
svn-id: r13663
2004-04-28 22:21:51 +00:00
Max Horn
6e75100d61 Small potential TODO
svn-id: r13662
2004-04-28 14:29:23 +00:00
Torbjörn Andersson
6a432d10b5 Cleanup. I plan to take a closer look at the sound effects handling later.
svn-id: r13661
2004-04-28 11:47:19 +00:00
Paweł Kołodziejski
20a6c89068 update
svn-id: r13660
2004-04-28 05:47:32 +00:00
Paweł Kołodziejski
319ae4deed cleanup
svn-id: r13659
2004-04-28 05:39:53 +00:00
Eugene Sandulenko
d6e78803db Fixed crash. Original clip routine was more sane.
Some code formatting.

svn-id: r13658
2004-04-28 02:11:09 +00:00
Max Horn
56e25a8f7f Removing more files from SAGA. Justification: we already have XMIDI/SMF code; SDL already gets inited by OSystem (which this code should use, too, of course...); no need to have a simple poly hit test in a separate file
svn-id: r13657
2004-04-28 00:30:16 +00:00
Paweł Kołodziejski
1e83b30b98 that is not need anymore
svn-id: r13656
2004-04-27 17:31:28 +00:00
Max Horn
54d27c12d9 more dead code gone
svn-id: r13655
2004-04-27 11:47:36 +00:00
Max Horn
38ef0d081b Remove yet another file
svn-id: r13654
2004-04-27 11:44:17 +00:00
Max Horn
1e293d409d Remove some more unused code
svn-id: r13653
2004-04-27 11:39:12 +00:00
Max Horn
9ae54838b9 cleanup
svn-id: r13652
2004-04-27 11:22:13 +00:00
Torbjörn Andersson
b2b9317dad Fixed warnings. At the time of writing, only xmidi.cpp causes warnings for
me now, but I'm not sure how to fix those.

svn-id: r13651
2004-04-27 10:01:15 +00:00
Torbjörn Andersson
707e9a403b Fixed warning by removing unused variable.
svn-id: r13650
2004-04-27 09:53:44 +00:00
Torbjörn Andersson
49fc62b4d0 Cleanup
svn-id: r13649
2004-04-27 08:59:58 +00:00
Torbjörn Andersson
aaf508d4da Don't use uninitialized variable, lang_path, in debugging messages. It
caused ScummVM to hang on my Linux box.

Fixed - correctly, I hope - compiler warning.

svn-id: r13648
2004-04-27 08:54:03 +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
Paweł Kołodziejski
d2fa7bbcc7 synced code free space with buffer changes
svn-id: r13646
2004-04-26 20:48:09 +00:00
Jamieson Christian
f7084c20e9 MIDI control change 18 is no longer transmitted.
It is not a valid MIDI control change message.
It is used internally in the SCUMM MIDI tracks
to indicate part priority.
The only MidiDriver that needs it is Adlib.
It should be noted that the priority values are
out of bounds for a regular MIDI message anyway.
Valid control change values are 0-127, but the
priority value ranges from 0-255.

This fixes a crash with a certain software MT-32
emulator running under Linux. Thanks to olki for
bringing up this issue.

svn-id: r13645
2004-04-26 20:34:59 +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
Jamieson Christian
eba215d9a8 Cleaned up and updated MSVC6 projects.
svn-id: r13643
2004-04-26 20:24:17 +00:00
Jamieson Christian
ba93058885 MSVC6 projects for the new engines
svn-id: r13642
2004-04-26 20:22:18 +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
Torbjörn Andersson
0fcd887dcd Cleanup. Mostly removal of redundant comments.
I've also made the SaveGameHeader struct packed, which may break savegame
compatibility on some architectures (though not on the Linux and Windows
boxes I've tried it on). But I'm hoping it will guarantee, or at least make
it more likely, that savegames will be portable across architectures.

svn-id: r13634
2004-04-26 07:37:25 +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
Eugene Sandulenko
c5c1a83d35 Add FreeBSD plugins building
svn-id: r13630
2004-04-25 19:33:46 +00:00
Paweł Kołodziejski
43979c9012 delete CustomProcInputStream and add getFreeSpace for appendable audiostream
svn-id: r13629
2004-04-25 18:43: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
795a735a31 Comment about how our Rect class works. Note: the SAGA engine currently does use the alternate approach to rects! Hence we can't currently use all those nice and nifty helper methods from Common::Rect in SAGA.
svn-id: r13626
2004-04-25 16:16:21 +00:00
Max Horn
abc8dca073 more cleanup
svn-id: r13625
2004-04-25 16:06:22 +00:00
Max Horn
ae1b03a1f5 More ScummVMification
svn-id: r13624
2004-04-25 15:14:46 +00:00
Max Horn
f6a4ed1cff Fix yet another const warning
svn-id: r13623
2004-04-25 14:45:08 +00:00
Max Horn
d4f876b37d Fix many warnings; use C++ type system instead of C style typedefs; removed various unused stuff; const correctness; etc.
svn-id: r13622
2004-04-25 14:42:14 +00:00