+const option::Descriptor usage[] =
+ {
+ { UNKNOWN, 0, "", "", option::Arg::None, "USAGE: lugaru [options]\n\n"
+ "Options:" },
+ { VERSION, 0, "v", "version", option::Arg::None, " -v, --version Print version and exit." },
+ { HELP, 0, "h", "help", option::Arg::None, " -h, --help Print usage and exit." },
+ { FULLSCREEN, 1, "f", "fullscreen", option::Arg::None, " -f, --fullscreen Start the game in fullscreen mode." },
+ { FULLSCREEN, 0, "w", "windowed", option::Arg::None, " -w, --windowed Start the game in windowed mode (default)." },
+ { NOMOUSEGRAB, 1, "", "nomousegrab", option::Arg::None, " --nomousegrab Disable mousegrab." },
+ { NOMOUSEGRAB, 0, "", "mousegrab", option::Arg::None, " --mousegrab Enable mousegrab (default)." },
+ { SOUND, 1, "", "nosound", option::Arg::None, " --nosound Disable sound." },
+ { OPENALINFO, 0, "", "openal-info", option::Arg::None, " --openal-info Print info about OpenAL at launch." },
+ { SHOWRESOLUTIONS, 0, "", "showresolutions", option::Arg::None, " --showresolutions List the resolutions found by SDL at launch." },
+ { DEVTOOLS, 0, "d", "devtools", option::Arg::None, " -d, --devtools Enable dev tools: console, level editor and debug info." },
+ { 0, 0, 0, 0, 0, 0 }
+ };
+
+option::Option commandLineOptions[commandLineOptionsNumber];
+option::Option* commandLineOptionsBuffer;
+
+int main(int argc, char** argv)