vrseasons

view 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
line source
1 #ifndef OPT_H_
2 #define OPT_H_
4 struct Options {
5 int xres, yres;
6 float fov;
7 bool fullscreen;
8 bool use_vr;
9 };
11 void default_opt(Options *opt);
12 bool parse_args(Options *opt, int argc, char **argv);
13 bool parse_cfg(Options *opt, const char *cfgfname);
14 bool write_cfg(const Options *opt, const char *cfgname);
16 #endif /* OPT_H_ */