added scr_lvled, a bunch of libraries, and improved framework code
[raydungeon] / src / options.h
diff --git a/src/options.h b/src/options.h
new file mode 100644 (file)
index 0000000..179b35b
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef OPTIONS_H_
+#define OPTIONS_H_
+
+struct gfxoptions {
+       int foo;
+};
+
+struct options {
+       int xres, yres;
+       int vsync;
+       int fullscreen;
+       int vol_master, vol_mus, vol_sfx;
+       int music;
+
+       int inv_mouse_y;
+       int mouse_speed;
+
+       struct gfxoptions gfx;
+};
+
+extern struct options opt;
+
+int parse_options(int argc, char **argv);
+
+int load_options(const char *fname);
+int save_options(const char *fname);
+
+#endif /* OPTIONS_H_ */