From 74ea6dc86646cee9915292d73d8c7afef01ef3e0 Mon Sep 17 00:00:00 2001 From: Sopár Adrián Date: Thu, 20 Jun 2024 09:28:14 +0200 Subject: First commit. This is mostly the state of the project as I left it around the end of 2019. --- src/args.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/args.h (limited to 'src/args.h') 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 + +#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 -- cgit v1.2.3