bloboland

view 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
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_