예제 #1
0
파일: settings.c 프로젝트: DusteDdk/Wizznic
void applySettings()
{
  //Set sound volume
  Mix_Volume(-1, setting()->soundVol );

  //Set music volume
  soundSetMusVol( setting()->musicVol );

  ///TODO: These should be "Platform_*"
  #if defined (GP2X)
  WIZ_SetVolume( settings.wizVol );
  #endif
  #if defined (WIZ)
  WIZ_SetVolume( settings.wizVol );
  WIZ_SetClock( setting()->wizClock );
  #endif
}
예제 #2
0
파일: settings.c 프로젝트: aapo/Wizznic
void applySettings()
{
  //Set sound volume
  Mix_Volume(-1, setting()->soundVol );

  //Set music volume
  soundSetMusVol( setting()->musicVol );

  //TODO: Rename gp2x functions to GP2X_*
  #if defined (GP2X)
  WIZ_SetVolume( settings.wizVol );
  #endif
  #if defined (WIZ)
  WIZ_SetVolume( settings.wizVol );
  WIZ_SetClock( setting()->wizClock );
  #endif
}