1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
int map0[25] = {
0, 0, 0, 0, 0,
0, 1, 1, 1, 0,
0, 1, 1, 1, 0,
0, 1, 1, 1, 0,
0, 0, 1, 0, 0};
int map1[25] = {
0, 0, 1, 0, 0,
0, 1, 1, 1, 0,
1, 1, 0, 1, 1,
0, 1, 1, 1, 0,
0, 0, 1, 0, 0};
int * world[25] = {
0, 0, &map0[0], 0, 0, //not sure if this is correct
0, 0, &map1[0], 0, 0, //not sure if this is correct
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0};
|