X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Foptions.h;fp=src%2Foptions.h;h=179b35bbd20183c110297740daaf6b1e7d356e29;hb=d5f45e3128c537f272615cf76242e1dfebccdee7;hp=0000000000000000000000000000000000000000;hpb=dd7ce87b0ad2b8a1b4758bcc9354e993b71c8599;p=raydungeon diff --git a/src/options.h b/src/options.h new file mode 100644 index 0000000..179b35b --- /dev/null +++ b/src/options.h @@ -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_ */