-
Notifications
You must be signed in to change notification settings - Fork 0
/
stages.h
69 lines (63 loc) · 1.77 KB
/
stages.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#ifndef PUSHBOX_STAGES_H
#define PUSHBOX_STAGES_H
const int STAGEN = 5;
const int heights[STAGEN] = {7, 9, 6, 8, 8};
const int widths[STAGEN] = {6, 7, 8, 7, 10};
const int init_curr[STAGEN][2] = {
{5, 2},
{2, 2},
{2, 6},
{6, 3},
{4, 6}
};
const int boxn[STAGEN] = {3, 3, 3, 6, 3};
int stage1[7][6] = {
{1, 1, 1, 1, 1, 4},
{1, 0, 0, 0, 1, 4},
{1, 3, 3, 3, 1, 4},
{1, 2, 2, 2, 1, 1},
{1, 0, 0, 0, 0, 1},
{1, 0, 0, 0, 0, 1},
{1, 1, 1, 1, 1, 1}
};
int stage2[9][7] = {
{1, 1, 1, 1, 4, 4, 4},
{1, 3, 0, 1, 1, 4, 4},
{1, 3, 0, 0, 1, 4, 4},
{1, 3, 0, 2, 1, 4, 4},
{1, 1, 2, 0, 1, 1, 1},
{4, 1, 0, 2, 0, 0, 1},
{4, 1, 0, 0, 0, 0, 1},
{4, 1, 0, 0, 1, 1, 1},
{4, 1, 1, 1, 1, 4, 4}
};
int stage3[6][8] = {
{1, 1, 1, 1, 1, 1, 1, 1},
{1, 3, 0, 0 ,0, 0, 0, 1},
{1, 0, 3, 2, 2, 2, 0, 1},
{1, 3, 0, 0, 0, 0, 0, 1},
{1, 1, 1, 1, 1, 0, 0, 1},
{4, 4, 4, 4, 1, 1, 1, 1}
};
int stage4[8][7] = {
{1, 1, 1, 1, 1, 1, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 0, 3, 2, 3, 0, 1},
{1, 0, 2, 3, 2, 0, 1},
{1, 0, 3, 2, 3, 0, 1},
{1, 0, 2, 3, 2, 0, 1},
{1, 0, 0, 0, 0, 0, 1},
{1, 1, 1, 1, 1, 1, 1}
};
int stage5[8][10] = {
{4, 1, 1, 1, 1, 4, 4, 4, 4, 4},
{4, 1, 0, 0, 1, 1, 1, 1, 4, 4},
{4, 1, 0, 0, 0, 0, 0, 1, 1, 4},
{1, 1, 0, 1, 1, 0, 0, 0, 1, 4},
{1, 3, 0, 3, 1, 0, 0, 2, 1, 1},
{1, 0, 0, 0, 1, 0, 2, 2, 0, 1},
{1, 0, 0, 3, 1, 0, 0, 0, 0, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
};
int* stagep[STAGEN] = {(int*)stage1, (int*)stage2, (int*)stage3, (int*)stage4, (int*)stage5};
#endif //PUSHBOX_STAGES_H