Update of /cvsroot/epfl/tgengine-0.1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8982
Modified Files:
soundmanager.cc
Log Message:
Parsage du fichier sons termine.
Index: soundmanager.cc
===================================================================
RCS file: /cvsroot/epfl/tgengine-0.1/soundmanager.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** soundmanager.cc 22 Oct 2004 19:39:04 -0000 1.12
--- soundmanager.cc 22 Oct 2004 20:31:08 -0000 1.13
***************
*** 626,630 ****
{
ifstream file;
! char buffer [1024];
file.open (filename, ios::in);
--- 626,633 ----
{
ifstream file;
! char name [1024];
!
! bool relative;
! bool looping;
file.open (filename, ios::in);
***************
*** 638,643 ****
while (!file.eof())
{
! file.getline(buffer, 1024);
! AddSound(buffer,false,false);
}
}
--- 641,646 ----
while (!file.eof())
{
! file >> name >> relative >> looping ;
! AddSound(name,relative,looping);
}
}
|