/[enigma]/enigma/src/options.cc
ViewVC logotype

Diff of /enigma/src/options.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dheck, Sun Jan 5 19:56:39 2003 UTC revision 1.2 by dheck, Thu Jan 9 18:27:33 2003 UTC
# Line 39  namespace options Line 39  namespace options
39      bool   ShowFPS         = false;      bool   ShowFPS         = false;
40      bool   UseAlpha        = true;      bool   UseAlpha        = true;
41    
42      double SoundVolume = 1.0;      double SoundVolume      = 1.0;
43      double MusicVolume = 1.0;      double MusicVolume      = 1.0;
44        double StereoSeparation = 10.0;
45  }  }
46    
47  namespace  namespace
# Line 104  options::SetLevelFinished(const string & Line 105  options::SetLevelFinished(const string &
105          SetLevelStatus(pack, level, LevelStatus(-1, -1, difficulty));          SetLevelStatus(pack, level, LevelStatus(-1, -1, difficulty));
106  }  }
107    
   
   
 void  
 options::SetVolume(double vol)  
 {  
 }  
   
108  /* Determine name of the user's personal configuration file. */  /* Determine name of the user's personal configuration file. */
109  static string  static string
110  Personal_ConfigurationFileName()  Personal_ConfigurationFileName()
# Line 143  options::Save () Line 137  options::Save ()
137          fprintf (fp, "options.UseAlpha = %d\n",         UseAlpha);          fprintf (fp, "options.UseAlpha = %d\n",         UseAlpha);
138          fprintf (fp, "options.SoundVolume = %f\n",      SoundVolume);          fprintf (fp, "options.SoundVolume = %f\n",      SoundVolume);
139          fprintf (fp, "options.MusicVolume = %f\n",      MusicVolume);          fprintf (fp, "options.MusicVolume = %f\n",      MusicVolume);
140            fprintf (fp, "options.StereoSeparation = %f\n", StereoSeparation);
141    
142          // Save level information          // Save level information
143          px::Dict<LevelStatus>::iterator i=level_status_dict.begin();          px::Dict<LevelStatus>::iterator i=level_status_dict.begin();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26