quadra-game / quadra

An addictive action puzzle game with single player and multiplayer capabilities (Internet or LAN).
GNU Lesser General Public License v2.1
28 stars 18 forks source link

remember fullscreen status #53

Open pphaneuf opened 10 years ago

pphaneuf commented 10 years ago

We should save the fullscreen status in the configuration file, so that restarting the game would put it back in the same state. We should do that on exiting cleanly, so that if we crash when going in fullscreen mode, we don't crash on startup.

pphaneuf commented 10 years ago

Maybe we should add this field to configuration file on the 1.2 branch, without necessarily using it? This way, the configuration file wouldn't be reset when someone upgrades...

On the other hand, we might add other things, and we've already established that this binary configuration file business was insane, so it might be useless (we could stay this way, but add an option, and it'll reset the config)...

pphaneuf commented 10 years ago

Yep this was something I had in mind as a todo for future version (SDL): Convert config file to text format We could make it compatible with previous binary version so it would convert the config on-the-fly and then overwrite it with text, or change the name of the text one so it doesn't conflict when working on old and new Quadra on the same machine (might be useful for dev'ing).