X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fopt.h;fp=src%2Fopt.h;h=bad79973ccec276a5d06f15e9a835b2a658ba118;hp=0000000000000000000000000000000000000000;hb=44a7a61d2bec54ed741930572e63e5015326daca;hpb=ec776ad8bf37d25b9308e2c770d66247135b46ea diff --git a/src/opt.h b/src/opt.h new file mode 100644 index 0000000..bad7997 --- /dev/null +++ b/src/opt.h @@ -0,0 +1,16 @@ +#ifndef OPT_H_ +#define OPT_H_ + +struct options { + int width, height; + int fullscr; + int music; + int srgb, msaa; +}; + +extern struct options opt; + +int parse_args(int argc, char **argv); +int read_cfg(const char *fname); + +#endif /* OPT_H_ */