[Scummvm-cvs-logs] CVS: scummvm init.cpp,1.1,1.2

James Brown ender at users.sourceforge.net
Mon Mar 25 21:23:01 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv28415

Modified Files:
	init.cpp 
Log Message:
Fix sound under VC++ debug. Actor masks, actor animation and talking are still broken. Help. someone? Anyone?



Index: init.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/init.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** init.cpp	25 Mar 2002 17:48:22 -0000	1.1
--- init.cpp	26 Mar 2002 05:22:07 -0000	1.2
***************
*** 108,111 ****
--- 108,113 ----
          _soundParam2 = 0;
          _soundParam3 = 0;
+ 		_soundsPaused = 0;
+ 		_soundsPaused2 = 0;
          current_cd_sound = 0;
          num_sound_effects = 0;
***************
*** 150,154 ****
  
          _insaneFlag = 12;
- 
          _insaneState = 0;
  }
--- 152,174 ----
  
          _insaneFlag = 12;
          _insaneState = 0;
+ 
+ 		for(i=0;i<NUM_MIXER;i++) {
+ 			 _mixer_channel[i]._sfx_sound = 0;
+ 			 _mixer_channel[i].sound_data.standard._sfx_fp_speed = 0;		
+ 			 _mixer_channel[i].sound_data.standard._sfx_fp_pos = 0;
+ 			 _mixer_channel[i].sound_data.standard._sfx_pos = 0;
+ 			 _mixer_channel[i].sound_data.standard._sfx_size = 0;
+ 		}
+ 
+ 		_haveMsg = 0;
+ 		_talkDelay = 0;
+ 		_defaultTalkDelay = 0;
+ 		_useTalkAnims = 0;
+ 		_endOfMouthSync = 0;
+ 		_mouthSyncMode = 0;
+ 
+ 
+ 		for (i=0; i<52; i++)
+ 			_mouthSyncTimes[i] = 0;
  }





More information about the Scummvm-git-logs mailing list