Offer user quick restart if settings change

Ever been annoyed by those settings in the menu that require a restart? Well I haven't fixed those. But I have added a little dialog to save you some time! That's almost as good right?

![Restart Now?](http://imgur.com/HQJr5fT.png)

Hit the button and the game will be loading again within a second or two.

Doesn't check for mouse-lock in anticipation of #5597 landing.


+1 to doing that rather than communicating through effectively a global.

Even more +1 to making the exit cases an enum rather than loose constants.


On Wed, Jun 11, 2014 at 12:41 PM, Paul Chote <notifications@github.com>
wrote:

> In OpenRA.Game/Game.cs:
>
> > @@ -475,7 +473,10 @@ public static void SetIdealFrameTime(int fps)
> >  			idealFrameTime = 1.0 / fps;
> >  		}
> >
> > -		internal static void Run()
> > +		public const int RestartOnExitCode = 1;
> > +		public static bool RestartOnExit;
>
> You could add a restart argument to Game.Exit and avoid this extra public
> static state.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenRA/OpenRA/pull/5600/files#r13628404>.
>