- added config file and commandline parsing
[dosdemo] / src / cfgopt.h
diff --git a/src/cfgopt.h b/src/cfgopt.h
new file mode 100644 (file)
index 0000000..7051501
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef CFGOPT_H_
+#define CFGOPT_H_
+
+struct options {
+       const char *start_scr;
+       int music;
+};
+
+extern struct options opt;
+
+int parse_args(int argc, char **argv);
+int load_config(const char *fname);
+
+#endif /* CFGOPT_H_ */