bloboland
diff 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 diff
1.1 --- a/src/opt.h Sat Dec 15 07:52:13 2012 +0200 1.2 +++ b/src/opt.h Sat Dec 15 23:43:03 2012 +0200 1.3 @@ -4,8 +4,14 @@ 1.4 struct Options { 1.5 int xsz, ysz; 1.6 bool stereo; 1.7 + 1.8 + // initial parameters when generating new worlds 1.9 + int world_size[3]; 1.10 + float gen_noise_scale; 1.11 }; 1.12 1.13 +extern Options opt; 1.14 + 1.15 bool parse_opt(int argc, char **argv); 1.16 1.17 #endif // OPT_H_