aboutsummaryrefslogtreecommitdiff
path: root/src/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.h')
-rw-r--r--src/args.h21
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