bobbi228 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

remember fullscreen status #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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.

Original issue reported on code.google.com by pphaneuf on 20 Apr 2008 at 2:33

GoogleCodeExporter commented 8 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)...

Original comment by pphaneuf on 25 Apr 2008 at 4:28

GoogleCodeExporter commented 8 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). 

Original comment by rveill...@gmail.com on 25 Apr 2008 at 12:32