bloboland

view src/opt.h @ 1:cfe68befb7cc

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Dec 2012 23:43:03 +0200
parents e4818a3300b9
children 9021a906c5d3
line source
1 #ifndef OPT_H_
2 #define OPT_H_
4 struct Options {
5 int xsz, ysz;
6 bool stereo;
8 // initial parameters when generating new worlds
9 int world_size[3];
10 float gen_noise_scale;
11 };
13 extern Options opt;
15 bool parse_opt(int argc, char **argv);
17 #endif // OPT_H_