nuclear@0: #ifndef OPT_H_ nuclear@0: #define OPT_H_ nuclear@0: nuclear@0: struct Options { nuclear@0: int xsz, ysz; nuclear@0: bool stereo; nuclear@1: nuclear@1: // initial parameters when generating new worlds nuclear@1: int world_size[3]; nuclear@1: float gen_noise_scale; nuclear@4: int gen_num_blobs; nuclear@0: }; nuclear@0: nuclear@1: extern Options opt; nuclear@1: nuclear@0: bool parse_opt(int argc, char **argv); nuclear@0: nuclear@0: #endif // OPT_H_