aboutsummaryrefslogtreecommitdiff
path: root/src/args.h
blob: 31e42f46d040e06826651901b504b1ab7f3da5f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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