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
;
19
int
win_height
;
20
int
slice
;
21
double
weight
;
22
double
max_glitch
;
23
int
max_blob
;
24
double
sharpness
;
25
double
timeout
;
26
bool
render_de
;
27
bool
series_approx
;
28
bool
show_glitches
;
29
enum
log_level_t
log_level
;
30
bool
version
;
31
bool
help
;
32
bool
interactive
;
33
bool
oneshot
;
34
bool
tile
;
35
int
tile_width
;
36
int
tile_height
;
37
bool
zoom
;
38
int
zoom_frames
;
39
bool
overhead
;
40
char
*
file_to_load
;
41
bool
view_supplied
;
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
src
startup.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2