diff options
| author | Sopár Adrián <adrian.sopar@protonmail.com> | 2024-06-20 09:28:14 +0200 |
|---|---|---|
| committer | Sopár Adrián <adrian.sopar@protonmail.com> | 2024-06-20 09:28:14 +0200 |
| commit | 74ea6dc86646cee9915292d73d8c7afef01ef3e0 (patch) | |
| tree | 9a58866f7765dad8ba56f1f40b1fa031e9d2687d /src/args.h | |
First commit. This is mostly the state of the project as I left it around the end of 2019.HEADmaster
Diffstat (limited to 'src/args.h')
| -rw-r--r-- | src/args.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/args.h b/src/args.h new file mode 100644 index 0000000..31e42f4 --- /dev/null +++ b/src/args.h @@ -0,0 +1,21 @@ +#ifndef MAZE_ARGS_H +#define MAZE_ARGS_H + +#include <stdbool.h> + +#define MS_UNDEFINIED 0 +#define MS_FROM_FILE 1 +#define MS_RANDOM 2 + +struct args +{ + int maze_source; + char input_file_name[256]; + char output_file_name[256]; + bool start; + bool hide_menu; +}; + +void load_args(int argc, char **argv, struct args *args); + +#endif
\ No newline at end of file |
