Age | Commit message (Collapse) | Author |
|
Previously, we had a couple of arrays of size N (where N = number of
resource types), one for each attribute of a resource type (such as as
the number of resources of that type.
Now, we have one array of size N, whose elements are a record
aggregating all the attributes of each resource type.
|
|
|
|
|
|
|
|
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
|
|
|
|
svn-id: r55850
|
|
svn-id: r54385
|
|
svn-id: r54148
|
|
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
|
|
svn-id: r53052
|
|
svn-id: r52796
|
|
svn-id: r52287
|
|
- Start rewriting audio code for FM-TOWNS versions of Loom, Indy3 and Monkey Island 1 using the recently added code in towns_audio.cpp (Zak should work the same way, but I can't test, since I don't own that one).
- All sound types (pcm, euphony and cd audio) now support volume and balance control (e.g. try walking into/out of the kitchen and opening/closing the door in the Scumm Bar in Monkey Island 1 or walking into/out of the circus tent).
- Pcm sounds now support proper loop start/end and note offsets (e.g. try out the hammer sound in the forge in LOOM for example).
- some other minor improvements
- The FM-Towns versions of Indy 4 and Monkey Island 2 are not affected. I don't have Monkey Island 2, but I presume that it will work like Indy 4. Adding support for these will be a separate task, since they work quite differently.
svn-id: r52198
|
|
svn-id: r52108
|
|
Apparently, the original interpreter hard-coded the lengths of the
audio tracks on the CD, and in this particular case it makes a
difference that one of the tracks is slightly longer on the disc
than the scripts assume it is. Thanks to hennymcc for doing all the
hard work in figuring this out.
svn-id: r52098
|
|
Apart from adding the necessary detector flags, in cases where we used
to only check for PC Speaker we now also need to check for PCjr. Note
that I have only tested this with the VGA version. And even with that
one, I've only given it the briefest of tests.
svn-id: r51988
|
|
svn-id: r50840
|
|
svn-id: r49678
|
|
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
|
|
given by cppcheck-1.43.
These are incorrect as '/' operator has precedence over >>, but this does improve readability anyway.
This bug in cppcheck has already been corrected: http://sourceforge.net/apps/trac/cppcheck/ticket/1714
svn-id: r49517
|
|
svn-id: r48696
|
|
svn-id: r48637
|
|
svn-id: r48499
|
|
* now takes a SeekableReadStream *pointer* like (almost) all other
audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency
svn-id: r48184
|
|
svn-id: r48158
|
|
svn-id: r47847
|
|
- Rename makeFlacStream to makeFLACStream.
svn-id: r47846
|
|
(Incorrect replacement introduced with r47715, thanks to Max for spotting this).
svn-id: r47722
|
|
svn-id: r47719
|
|
svn-id: r47716
|
|
svn-id: r47715
|
|
svn-id: r47622
|
|
sound/decoders/
svn-id: r47579
|
|
svn-id: r47541
|
|
svn-id: r47530
|
|
svn-id: r47492
|
|
svn-id: r47473
|
|
makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change
svn-id: r47472
|
|
svn-id: r47401
|
|
svn-id: r47395
|
|
svn-id: r47394
|
|
Mixer::playRaw to Mixer::playInputStream
svn-id: r47375
|
|
Also fix several recently introduced new/delete vs. malloc/free mismatches.
svn-id: r47369
|
|
svn-id: r47334
|
|
svn-id: r46497
|
|
svn-id: r46110
|
|
svn-id: r45359
|
|
svn-id: r45356
|
|
svn-id: r45143
|