pioneerspacesim/pioneer — pull request #1847 by johnbartholomew (2012-12-21 15:25:14+00:00)
Title: Split FileSelectorDialog and LoadGame/SaveGame out of GameLoaderSaver

Done mostly for #1325.

`Game::LoadGame`, `Game::SaveGame` deal with connecting together FileSystem and the Serializer.

`FileSelectorWidget` now has a wrapper class `FileSelectorDialog` and helper function `ShowFileSelectorDialog`, which can be used to display a modal file selection dialog. When new-ui takes over the settings screen that whole thing can go away.

The settings screen load/save buttons now try to pick a filename first, and only proceed to mess with the current `Pi::game` (saving it or tearing it down and loading a new one) if the file selector dialog is accepted by the user. If cancel is pressed we just drop back to the settings screen and nothing else happens.