i should implement some command line switches using GOption to make things more comfortable. disadvantage would be that glib 2.6 is required, i think.
gyözö
Command line switches
Command line switches
Press any key to continue or any other key to quit.
done. Current command line arguments are:
if there are no switches, the argument is taken to be a savefile. to make things easy, you can omit the '.zip' extension and also the full path, if the file is in the default saves dir; you can also call 'bygfoot last_save' to load the last savegame.
suggestions for additional switches are welcome.
gyözö
Code: Select all
-s, --support-dir=DIR Specify additional support directory (takes priority over default ones)
-d, --debug-level=N Debug level to use
-L, --lang=CODE Language to use (a code like 'de')
-l, --last-save Load last savegame (same as calling [b]bygfoot last_save[/b])
suggestions for additional switches are welcome.
gyözö
Press any key to continue or any other key to quit.