added scr_lvled, a bunch of libraries, and improved framework code
[raydungeon] / src / options.h
1 #ifndef OPTIONS_H_
2 #define OPTIONS_H_
3
4 struct gfxoptions {
5         int foo;
6 };
7
8 struct options {
9         int xres, yres;
10         int vsync;
11         int fullscreen;
12         int vol_master, vol_mus, vol_sfx;
13         int music;
14
15         int inv_mouse_y;
16         int mouse_speed;
17
18         struct gfxoptions gfx;
19 };
20
21 extern struct options opt;
22
23 int parse_options(int argc, char **argv);
24
25 int load_options(const char *fname);
26 int save_options(const char *fname);
27
28 #endif  /* OPTIONS_H_ */