9857 Commits

Author SHA1 Message Date
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
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
Torbjörn Andersson
a575576890 fetchObjectName() no longer assumes that the resource will still be in the
cache after it's been closed. (Currently it always is, but ideally I'd like
for BS to work even if resource caching is disabled.)

svn-id: r13610
2004-04-24 12:29:35 +00:00
Jonathan Gray
94962f6655 mention zak256 removal
svn-id: r13609
2004-04-23 11:45:28 +00:00
Torbjörn Andersson
8675bcfc6c Fixed a crash regression in setLuggage() that was caused by a change I
didn't make. :-)

(That is, I made the change and then thought better of it, but I forgot to
change one line back to its original form.)

svn-id: r13608
2004-04-23 11:43:20 +00:00
Jonathan Gray
8f8d1967c9 convert the file routines to use the File class
svn-id: r13607
2004-04-23 11:40:51 +00:00
Torbjörn Andersson
0ac8c4bd3f I forgot to clear the reference counter when a resource is forcibly removed
and I may as well clear it when a resource is read from disk as well.

svn-id: r13606
2004-04-23 11:36:06 +00:00
Paweł Kołodziejski
729ccc0ac7 update
svn-id: r13605
2004-04-23 09:31: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
8f8185f035 Major revamping of the BS2 memory manager and, some small changes to the
resource manager. All new code! All new bugs!

svn-id: r13603
2004-04-23 07:02:11 +00:00
Michael Pearce
fd38da7f13 Might as well update this stuff too
svn-id: r13602
2004-04-22 18:44:17 +00:00
Michael Pearce
b1cca1ed94 Couple of discrepancies
svn-id: r13601
2004-04-22 18:35:08 +00:00