/[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.3 by dheck, Sun Jan 12 19:42:20 2003 UTC revision 1.4 by mhawlisch, Wed Feb 26 14:48:39 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      bool   Nograb          = false;      bool   Nograb          = false;
42        bool   InGameMusic     = false;
43    
44      double SoundVolume      = 1.0;      double SoundVolume      = 1.0;
45      double MusicVolume      = 1.0;      double MusicVolume      = 1.0;
46      double StereoSeparation = 10.0;      double StereoSeparation = 10.0;
47    
48        string MenuMusicFile   = "/sound/menu.s3m";
49        string LevelMusicFile  = "/sound/Emilie.xm";
50  }  }
51    
52  namespace  namespace
# Line 138  options::Save () Line 142  options::Save ()
142          fprintf (fp, "options.UseAlpha = %d\n",         UseAlpha);          fprintf (fp, "options.UseAlpha = %d\n",         UseAlpha);
143          fprintf (fp, "options.SoundVolume = %f\n",      SoundVolume);          fprintf (fp, "options.SoundVolume = %f\n",      SoundVolume);
144          fprintf (fp, "options.MusicVolume = %f\n",      MusicVolume);          fprintf (fp, "options.MusicVolume = %f\n",      MusicVolume);
145            fprintf (fp, "options.InGameMusic = %d\n",      InGameMusic);
146          fprintf (fp, "options.StereoSeparation = %f\n", StereoSeparation);          fprintf (fp, "options.StereoSeparation = %f\n", StereoSeparation);
147            fprintf (fp, "options.MenuMusicFile = \"%s\"\n",  MenuMusicFile.c_str());
148            fprintf (fp, "options.LevelMusicFile = \"%s\"\n", LevelMusicFile.c_str());
149    
150          // Save level information          // Save level information
151          px::Dict<LevelStatus>::iterator i=level_status_dict.begin();          px::Dict<LevelStatus>::iterator i=level_status_dict.begin();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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