This commit is contained in:
Pawel Kolodziejski 2005-01-14 09:17:29 +00:00
parent a090347de4
commit a74f93bf81
3 changed files with 3 additions and 13 deletions

View File

@ -108,16 +108,7 @@ bool Imuse::startSound(const char *soundName, int volGroupId, int hookId, int vo
bits = _sound->getBits(track->soundHandle);
channels = _sound->getChannels(track->soundHandle);
freq = _sound->getFreq(track->soundHandle);
/*
if (soundId == kTalkSoundID) {
if (_vm->_actorToPrintStrFor != 0xFF && _vm->_actorToPrintStrFor != 0) {
Actor *a = _vm->derefActor(_vm->_actorToPrintStrFor, "Imuse::startSound");
freq = (freq * a->talkFrequency) / 256;
track->pan = a->talkPan;
track->vol = a->talkVolume * 1000;
}
}
*/
assert(bits == 8 || bits == 12 || bits == 16);
assert(channels == 1 || channels == 2);
assert(0 < freq && freq <= 65535);

View File

@ -5,4 +5,4 @@ The major changes made from the original version of Lua 3.1 are:
* Revamped the way function calls and returns are handled in order to
facilitate implementing Residual/GrimE's cooperative multithreading model.
* Added several internal functions which implement this multithreading.
* Added save/reastore whole Lua state.
* Added save/reastore Lua state.

View File

@ -4,6 +4,5 @@ The changes made from the original version of TinyGL 0.4 are:
* Changed files extensions from *.c to *.cpp to compile as C++.
* Included only files needed by Residual.
* Changed includes paths in source files.
* Added needed type cast after malloc funcs and one fix for proper
compile.
* Added needed type cast and fixes for proper compile.
* Added 't/T' prefix to prevent OpenGl names duplication.