-
Notifications
You must be signed in to change notification settings - Fork 1
/
map.h
39 lines (36 loc) · 2.84 KB
/
map.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef MAP_H
#define MAP_H
//30x20
const uint8_t map[30][20] = {
{ WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL },
{ WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, WALL, WALL, 0, 0, 0, 0, 0, 0, WALL, WALL, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, WALL, WALL, 0, 0, 0, 0, 0, 0, WALL, WALL, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, WALL, WALL, 0, 0, 0, 0, 0, 0, WALL, WALL, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, WALL, WALL, 0, 0, 0, 0, 0, 0, WALL, WALL, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, WALL, WALL, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WALL, WALL },
{ WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL },
{ WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL, WALL }
};
#endif