vrseasons

annotate src/opt.h @ 0:393ef1143c9c

VR seasons
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 07 Apr 2015 11:16:56 +0300
parents
children
rev   line source
nuclear@0 1 #ifndef OPT_H_
nuclear@0 2 #define OPT_H_
nuclear@0 3
nuclear@0 4 struct Options {
nuclear@0 5 int xres, yres;
nuclear@0 6 float fov;
nuclear@0 7 bool fullscreen;
nuclear@0 8 bool use_vr;
nuclear@0 9 };
nuclear@0 10
nuclear@0 11 void default_opt(Options *opt);
nuclear@0 12 bool parse_args(Options *opt, int argc, char **argv);
nuclear@0 13 bool parse_cfg(Options *opt, const char *cfgfname);
nuclear@0 14 bool write_cfg(const Options *opt, const char *cfgname);
nuclear@0 15
nuclear@0 16 #endif /* OPT_H_ */