options/config
[demo_prior] / src / opt.h
diff --git a/src/opt.h b/src/opt.h
new file mode 100644 (file)
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_ */