Add chain tile.
This commit is contained in:
parent
39b96a5aef
commit
1f5f15ed05
|
@ -1 +1 @@
|
|||
Subproject commit 09b5adf91b66e0a35096fcbfd6885938afa118d8
|
||||
Subproject commit 7fe9902c7ede9e848e453b2228c1da439942147c
|
|
@ -1 +1 @@
|
|||
Subproject commit 58c131401c021ac3aaabc23b7387f9143769072c
|
||||
Subproject commit cfb373a12700a07c9d51d1d27e333d36a1ad71a8
|
|
@ -17,6 +17,7 @@ typedef unsigned char Tile_flags; /* the tile properties (bitmask) */
|
|||
|
||||
enum {
|
||||
ID_AIR = TILE_AT(0, 0),
|
||||
ID_CHAIN = TILE_AT(0, 1),
|
||||
ID_BASE_0 = TILE_AT(1, 0),
|
||||
ID_BASE_1 = TILE_AT(2, 0),
|
||||
ID_BASE_2 = TILE_AT(3, 0),
|
||||
|
|
2
levels
2
levels
|
@ -1 +1 @@
|
|||
Subproject commit 2ca487d1a0954668a17ba730f64088cf6caec6b0
|
||||
Subproject commit d71064f5d5638299938a80b473d0976e29428609
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
Tile_flags tile_get_flags(Tile tile) {
|
||||
switch (tile) {
|
||||
case ID_AIR: return P_AIR; break;
|
||||
case ID_AIR:
|
||||
case ID_CHAIN:
|
||||
return P_AIR;
|
||||
break;
|
||||
case ID_BASE_0:
|
||||
case ID_BASE_1:
|
||||
case ID_BASE_2:
|
||||
|
|
Reference in New Issue