vrseasons
view src/opt.h @ 1:65c2e37c48b2
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 12 Apr 2015 03:39:55 +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_ */