예제 #1
0
 private void CfgOnSaved(GameConfig config)
 {
     Audio.MasterVolume = config.Settings.MasterVolume;
     Audio.Music.Volume = config.Settings.MusicVolume;
 }
예제 #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;
 }