[Scummvm-cvs-logs] CVS: residual scene.cpp,1.33,1.34
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Jan 9 10:07:01 CET 2005
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31331
Modified Files:
scene.cpp
Log Message:
update
Index: scene.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/scene.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- scene.cpp 5 Jan 2005 22:13:56 -0000 1.33
+++ scene.cpp 9 Jan 2005 18:05:57 -0000 1.34
@@ -238,16 +238,8 @@
newVolume += _minVolume;
g_imuse->setVolume(soundName, newVolume);
- vector.set(_currSetup->_interest.x() - cameraPos.x(), _currSetup->_interest.y() - cameraPos.y(),
- _currSetup->_interest.z() - cameraPos.z());
- vector2.set(pos.x() - cameraPos.x(), pos.y() - cameraPos.y(), pos.z() - cameraPos.z());
-// printf("a pos (%2.2f, %2.2f, %2.2f) i pos (%2.2f, %2.2f, %2.2f) c pos (%2.2f, %2.2f, %2.2f)\n", pos.x(), pos.y(), pos.z(),
-// _currSetup->_interest.x(), _currSetup->_interest.y(), _currSetup->_interest.z(),
-// cameraPos.x(), cameraPos.y(), cameraPos.z());
- float a = angle(vector, vector2);
- int pan = a * 127 * 1.5;
- pan = (pan / 2) + 64;
-// g_imuse->setPan(soundName, pan);
+ //TODO
+ //g_imuse->setPan(soundName, pan);
}
void Scene::setSoundParameters(int minVolume, int maxVolume) {
More information about the Scummvm-git-logs
mailing list