-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainopt.h
32 lines (27 loc) · 1.18 KB
/
mainopt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//********************************************************************************************************
// Public defines
//********************************************************************************************************
// structure retuned by mainopt_parse
struct mainopt_struct
{
bool full_screen;
int number_of_elements;
int envelopes_in_phase;
int element_freq_max;
int base_resolution;
int window_width;
int window_height;
float envelope_speed;
float amplitude;
bool finished;
bool error;
};
//********************************************************************************************************
// Public variables
//********************************************************************************************************
//********************************************************************************************************
// Public prototypes
//********************************************************************************************************
// Process command line options.
// Small tasks, such as displaying help or version are handled internally.
struct mainopt_struct mainopt_parse(int argc, char *argv[]);