summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-03 11:06:08 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-03 11:06:08 +0200 |
commit | c012ed837e05bbdf69ca0dc418d86291687298af (patch) | |
tree | 28bb19b4bec5de4c465ebff32fedc887f45fe7de /src/map/struct | |
parent | 6869f9a8aaab7618dd49cbb47388838fc883ceb9 (diff) |
Introduces tile families and depths.
Diffstat (limited to 'src/map/struct')
-rw-r--r-- | src/map/struct/map_tile.erl.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/struct/map_tile.erl.m4 b/src/map/struct/map_tile.erl.m4 index 95757e6..78f87fc 100644 --- a/src/map/struct/map_tile.erl.m4 +++ b/src/map/struct/map_tile.erl.m4 @@ -9,7 +9,9 @@ { id :: class_id(), name :: binary(), - cost :: non_neg_integer() + cost :: non_neg_integer(), + family :: non_neg_integer(), + depth :: non_neg_integer() } ). @@ -82,7 +84,10 @@ extract_variant_ix ({_, _, V}) -> -spec from_class_id (class_id()) -> type(). m4_include(__MAKEFILE_DATA_DIR/tile/global.m4.conf)m4_dnl __TILE_CLASS_USE_ERLANG_STYLE +m4_include(__MAKEFILE_DATA_DIR/tile/error.m4d)m4_dnl m4_include(__MAKEFILE_DATA_DIR/tile/grassland.m4d)m4_dnl +m4_include(__MAKEFILE_DATA_DIR/tile/mud.m4d)m4_dnl +m4_include(__MAKEFILE_DATA_DIR/tile/water.m4d)m4_dnl from_class_id(_) -> from_class_id(0). |