X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fopt.h;fp=src%2Fopt.h;h=176dd61f3202a5f2c20c18e6f976faf3f17f0745;hb=c5c29f4044110dd153ee5ca3b018c812d518a053;hp=0000000000000000000000000000000000000000;hpb=458f4c5972fc6b0ba43ea42c3b8d5c211d8f3f3d;p=laserbrain_demo diff --git a/src/opt.h b/src/opt.h new file mode 100644 index 0000000..176dd61 --- /dev/null +++ b/src/opt.h @@ -0,0 +1,14 @@ +#ifndef OPT_H_ +#define OPT_H_ + +struct Options { + int width, height; + bool vr; + bool fullscreen; +}; + +extern Options opt, def_opt; + +bool init_options(int argc, char **argv, const char *cfgfile); + +#endif // OPT_H_