bloboland
view src/opt.h @ 4:9021a906c5d3
lots of stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 18 Dec 2012 06:13:09 +0200 |
parents | cfe68befb7cc |
children |
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 int gen_num_blobs;
12 };
14 extern Options opt;
16 bool parse_opt(int argc, char **argv);
18 #endif // OPT_H_