|
From: Seb <whi...@us...> - 2004-10-13 23:46:23
|
Update of /cvsroot/epfl/tggame In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14742 Modified Files: config.cfg game.cc Log Message: Ajout de -set sound 1 dans le fichier de config. Pour le moment, mettre -set sound 0 ne fonctionne pas tout a fait, a cause du moment ou est parse le fichier de config. Index: config.cfg =================================================================== RCS file: /cvsroot/epfl/tggame/config.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** config.cfg 27 Sep 2004 21:41:34 -0000 1.4 --- config.cfg 13 Oct 2004 23:46:13 -0000 1.5 *************** *** 5,6 **** --- 5,7 ---- -set lightpos.y 0 -set bump 0 + -set sound 1 Index: game.cc =================================================================== RCS file: /cvsroot/epfl/tggame/game.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** game.cc 13 Oct 2004 18:59:55 -0000 1.11 --- game.cc 13 Oct 2004 23:46:13 -0000 1.12 *************** *** 52,56 **** pSoundManager->SetSoundProperties("fire",soundtestpos.x,soundtestpos.y,soundtestpos.z,0.0,0.0,0.0); ! //On ajoute le son wind a la position 0,70,0 pSoundManager->SetSoundProperties("thunder",0,70,0,0,0,0); --- 52,56 ---- pSoundManager->SetSoundProperties("fire",soundtestpos.x,soundtestpos.y,soundtestpos.z,0.0,0.0,0.0); ! //On ajoute le son thunder a la position 0,70,0 pSoundManager->SetSoundProperties("thunder",0,70,0,0,0,0); |