bloboland
annotate src/opt.h @ 5:2f4406cc341e
meh
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 19 Dec 2012 02:37:20 +0200 |
parents | cfe68befb7cc |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef OPT_H_ |
nuclear@0 | 2 #define OPT_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 struct Options { |
nuclear@0 | 5 int xsz, ysz; |
nuclear@0 | 6 bool stereo; |
nuclear@1 | 7 |
nuclear@1 | 8 // initial parameters when generating new worlds |
nuclear@1 | 9 int world_size[3]; |
nuclear@1 | 10 float gen_noise_scale; |
nuclear@4 | 11 int gen_num_blobs; |
nuclear@0 | 12 }; |
nuclear@0 | 13 |
nuclear@1 | 14 extern Options opt; |
nuclear@1 | 15 |
nuclear@0 | 16 bool parse_opt(int argc, char **argv); |
nuclear@0 | 17 |
nuclear@0 | 18 #endif // OPT_H_ |