Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/src/levels.c
blob: 004d0d980a040e9d8d4bd2a0b8ff7699e305c092 (plain)
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
38
39
40
41
42
#ifndef INCLUDE_LEVELS_C
#define INCLUDE_LEVELS_C

#include "all.c"

typedef struct {
	int grid[GRIDWIDTH * GRIDHEIGHT];
	int goalx, goaly;
} Level;

#define _ EMPTY,
#define B BLACK,
#define O BLUE,
static Level levels[] = {
	{
		.grid = {
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  B  O  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
			_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _
		},
		.goalx = 18,
		.goaly = 7,
	},
};
#undef _
#undef B
#undef O

#endif // INCLUDE_LEVELS_C