Project

General

Profile

Statistics
| Revision:

root / proj / maps / map1.h @ 302

History | View | Annotate | Download (475 Bytes)

1 216 up20180642
#ifndef MAP1_H_INCLUDED
2
#define MAP1_H_INCLUDED
3
4
#include "map1.xpm"
5
#include "map1_collide.xpm"
6 286 up20180642
#include "graph.h"
7 216 up20180642
8 217 up20180642
#include "xpm_utils.h"
9
10 216 up20180642
map_t* get_map1(void){
11 217 up20180642
    char **map1         = xpm_load_xpm2("maps/map1.xpm2");
12
    char **map1_collide = xpm_load_xpm2("maps/map1_collide.xpm2");
13 216 up20180642
    return map_ctor((const char **)map1_xpm, (const char **)map1_collide_xpm);
14 217 up20180642
    free(map1); free(map1_collide);
15 216 up20180642
}
16
17
#endif /* end of include guard: MAP_H_INCLUDED */