Commit Graph

69 Commits

Author SHA1 Message Date
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
871e278f8b Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
svn-id: r17508
2005-04-10 12:59:17 +00:00
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Paweł Kołodziejski
ac72fcd63d return null if sound is not found
svn-id: r16737
2005-02-06 10:09:37 +00:00
Paweł Kołodziejski
292eaa08b0 added support for *.map files version 2
svn-id: r16709
2005-01-30 20:45:02 +00:00
Nicolas Bacca
83e9ca19df Fix mp3/vorbis detection
svn-id: r16681
2005-01-28 23:30:51 +00:00
Paweł Kołodziejski
6feb7ae90f more proper checks
svn-id: r16667
2005-01-28 15:04:37 +00:00
Torbjörn Andersson
d25ac7c951 Indentation
svn-id: r16666
2005-01-28 14:55:52 +00:00
Paweł Kołodziejski
912c669977 added error message for lack of library support
svn-id: r16663
2005-01-28 14:42:47 +00:00
Paweł Kołodziejski
ad7cc6cef4 add checks for mad and vorbis define
svn-id: r16659
2005-01-28 11:43:25 +00:00
Paweł Kołodziejski
730aad6a86 added support for mp3 compressed bundles
svn-id: r16656
2005-01-28 11:03:34 +00:00
Paweł Kołodziejski
46c2a49e86 fix for shadowed variable
svn-id: r16646
2005-01-27 16:48:30 +00:00
Paweł Kołodziejski
d1713410f2 fix for shadowed variable
svn-id: r16643
2005-01-27 12:08:09 +00:00
Paweł Kołodziejski
55aa56dbdc fix for compressed bun sounds
svn-id: r16641
2005-01-26 14:11:27 +00:00
Paweł Kołodziejski
065a27daab added support for compressed bun files
svn-id: r16639
2005-01-25 22:21:26 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Torbjörn Andersson
dc461ca770 Fixed some other cases where the number of parameters to our message-
printing functions didn't agree with the format strings.

GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.

svn-id: r15081
2004-09-12 18:21:21 +00:00
Max Horn
3e75807fa8 more cleanup
svn-id: r14816
2004-08-28 14:33:34 +00:00
Max Horn
13356dfa17 Reduce code duplication
svn-id: r14815
2004-08-28 14:19:56 +00:00
Paweł Kołodziejski
11d552ff7e added code for bundle script vars
svn-id: r14166
2004-07-04 06:14:18 +00:00
Max Horn
b7f9e2137b Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14088
2004-06-27 22:03:38 +00:00
Paweł Kołodziejski
b6ce351f6d fix for not finding sample
svn-id: r13970
2004-06-20 13:19:22 +00:00
Paweł Kołodziejski
8f1191b379 some optimisations
svn-id: r13969
2004-06-19 17:48:06 +00:00
Paweł Kołodziejski
726ac17b6e experimental fix for expired sounds
svn-id: r13963
2004-06-19 14:41:04 +00:00
Paweł Kołodziejski
3f5c651551 better fix for unloaded sound resources in imuse digi
svn-id: r13918
2004-06-01 20:22:48 +00:00
Paweł Kołodziejski
136c7593d2 fix for imuse digi bug 952775
svn-id: r13917
2004-06-01 19:32:36 +00:00
Paweł Kołodziejski
a6fd5a3fa9 ops
svn-id: r13852
2004-05-23 19:44:10 +00:00
Paweł Kołodziejski
a26cfc8a38 some optimisations in imuse digi
svn-id: r13851
2004-05-23 19:32:11 +00:00
Paweł Kołodziejski
7701fece20 disabled reset state while change bundle disks
svn-id: r13741
2004-05-02 13:06:40 +00:00
Paweł Kołodziejski
319ae4deed cleanup
svn-id: r13659
2004-04-28 05:39:53 +00:00
Torbjörn Andersson
707e9a403b Fixed warning by removing unused variable.
svn-id: r13650
2004-04-27 09:53:44 +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
32d7c8c181 fixed stopping imuse sounds
svn-id: r13635
2004-04-26 07:47:12 +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
Paweł Kołodziejski
bcb5005c31 few corrections, more debug
svn-id: r13618
2004-04-24 20:41:30 +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
Paweł Kołodziejski
def44acc6f implemented 'fade buffers' stuff
svn-id: r13542
2004-04-11 14:48:50 +00:00
Max Horn
a78fb36798 cleanup
svn-id: r13528
2004-04-10 00:17:42 +00:00
Paweł Kołodziejski
95c17148ae fixed 'region' code
svn-id: r13526
2004-04-09 21:44:29 +00:00
Paweł Kołodziejski
5763122a69 back refreshScript only for DIG, add stopping music while changing bundle
svn-id: r13513
2004-04-09 05:43:24 +00:00
Paweł Kołodziejski
83b7d7f84c fix for region code
svn-id: r13501
2004-04-08 21:13:25 +00:00
Paweł Kołodziejski
2b9311aa26 - split imuse digital code,
- cleanup a little,
- added pool method for FT voc sample from resource,
- make struct sync, jump, regions dynamic memory allocation

svn-id: r13486
2004-04-06 19:46:43 +00:00
Paweł Kołodziejski
abdb4fbe87 fixed bug #892426 - improved FT sound loops
svn-id: r12886
2004-02-14 15:14:30 +00:00
Paweł Kołodziejski
b3c00e71ba removed markers
svn-id: r12490
2004-01-18 16:59:54 +00:00
Paweł Kołodziejski
4a0ec9638e cleanup
svn-id: r12471
2004-01-18 11:18:46 +00:00
Paweł Kołodziejski
f27e6a27d6 cleanup
svn-id: r12470
2004-01-18 09:35:05 +00:00
Max Horn
c14e7a0259 pedantic change
svn-id: r12414
2004-01-15 20:37:26 +00:00
Paweł Kołodziejski
5d9c4bfd1e position should be based on data offset
svn-id: r12403
2004-01-15 06:37:00 +00:00
Paweł Kołodziejski
6a85ab6af5 synced with local sources:
- comi music implementation(not finished),
- reorganized comi tables,
- some fixes for handling hookId

svn-id: r12395
2004-01-14 22:07:24 +00:00
Paweł Kołodziejski
4654bab076 removed stackLock and added locking tracks to prevent removed
svn-id: r12290
2004-01-10 07:07:19 +00:00