Commit Graph

9843 Commits

Author SHA1 Message Date
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
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
Max Horn
ae50adfd31 Fix byte reads
svn-id: r13596
2004-04-17 12:42:40 +00:00
Max Horn
e17a15d96e Introduce ReadStream and WriteStream (as explained in my File class design mails on scummvm-devel)
svn-id: r13595
2004-04-17 09:57:15 +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
Jonathan Gray
1ee83cdead 2nd pass at install/uninstall targets
svn-id: r13592
2004-04-17 03:32:03 +00:00
Max Horn
40afd9b566 Fixed const iterator
svn-id: r13591
2004-04-16 22:04:32 +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
Chris Apers
9c55e7247c Rename this function and associate data with COMMON file
svn-id: r13587
2004-04-16 12:12:37 +00:00
Jonathan Gray
e398103f58 more phony targets
svn-id: r13586
2004-04-16 08:41:57 +00:00
Jonathan Gray
45dd6a4ae6 initial pass at adding install/uninstall support to configure script, also use DIR instead of PFX while here for consistency with autoconf like output
svn-id: r13585
2004-04-16 08:30:57 +00:00