Ejemplo n.º 1
0
 private void CfgOnSaved(GameConfig config)
 {
     Audio.MasterVolume = config.Settings.MasterVolume;
     Audio.Music.Volume = config.Settings.MusicVolume;
 }
Ejemplo n.º 2
0
 public FreelancerGame(GameConfig config) : base(config.BufferWidth, config.BufferHeight, false, config.ForceAngle)
 {
     //DO NOT RUN CODE HERE. IT CAUSES THE STUPIDEST CRASH ON OSX KNOWN TO MAN
     _cfg            = config;
     ScreenshotSave += FreelancerGame_ScreenshotSave;
 }