bloboland

annotate src/opt.h @ 3:a39c301cdcce

terrain raytracing pretty much done
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 16 Dec 2012 14:24:16 +0200
parents e4818a3300b9
children 9021a906c5d3
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@0 11 };
nuclear@0 12
nuclear@1 13 extern Options opt;
nuclear@1 14
nuclear@0 15 bool parse_opt(int argc, char **argv);
nuclear@0 16
nuclear@0 17 #endif // OPT_H_