added minimum turn option, to discretize turns in VR
[laserbrain_demo] / src / opt.h
1 #ifndef OPT_H_
2 #define OPT_H_
3
4 struct Options {
5         int width, height;
6         bool vr;
7         bool fullscreen;
8         const char *scenefile;
9         bool music;
10         bool reflect;
11         const char *data_url;
12         float min_turn;
13 };
14
15 extern Options opt, def_opt;
16
17 bool init_options(int argc, char **argv, const char *cfgfile);
18
19 #endif  // OPT_H_