mightymandel v16

GPU-based Mandelbrot set explorer

startup.h
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014,2015 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 #ifndef STARTUP_H
6 #define STARTUP_H 1
7 
8 #include <stdbool.h>
9 #include <mpfr.h>
10 
11 #include "logging.h"
12 
13 struct options {
14  bool size;
15  int width;
16  int height;
17  bool geometry;
18  int win_width;
20  int slice;
21  double weight;
22  double max_glitch;
23  int max_blob;
24  double sharpness;
25  double timeout;
26  bool render_de;
30  bool version;
31  bool help;
33  bool oneshot;
34  bool tile;
37  bool zoom;
39  bool overhead;
40  char *file_to_load;
42  mpfr_t centerx;
43  mpfr_t centery;
44  mpfr_t radius;
45 };
46 
47 void print_version(void);
48 void print_banner(void);
49 void print_usage(const char *progname);
50 bool parse_command_line(struct options *options, int argc, char **argv);
51 
52 #endif