Add floor and ceiling map data

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-09-13 17:24:26 +02:00
parent cafc339ad0
commit 9ace1c97a1
2 changed files with 28 additions and 2 deletions
+26
View File
@@ -945,6 +945,32 @@ abstract class GameMap {
];
// dart format on
// dart format off
static const List<int> floor = [
0,0,0,0,0,0,0,0,
0,0,0,0,1,1,0,0,
0,0,0,0,2,0,0,0,
0,0,0,0,0,0,0,0,
0,0,2,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,1,1,1,1,0,0,0,
0,0,0,0,0,0,0,0,
];
// dart format on
// dart format off
static const List<int> ceiling = [
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1,0,
0,1,3,1,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
];
// dart format on
static const Size dimensions = Size(8, 8);
static const int size = 32;
}
+2 -2
View File
@@ -203,7 +203,7 @@ int mapF[]= //floors
0,0,2,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,1,1,1,1,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
};
int mapC[]= //ceiling
@@ -215,7 +215,7 @@ int mapC[]= //ceiling
0,1,3,1,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
};
// clang-format on