summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/map-editor')
-rw-r--r--src/map-editor/src/Comm/SetMap.elm3
-rw-r--r--src/map-editor/src/Struct/Map.elm6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/map-editor/src/Comm/SetMap.elm b/src/map-editor/src/Comm/SetMap.elm
index e43edde..5fceea5 100644
--- a/src/map-editor/src/Comm/SetMap.elm
+++ b/src/map-editor/src/Comm/SetMap.elm
@@ -17,7 +17,8 @@ type alias MapData =
{
w : Int,
h : Int,
- t : (List (List String))
+ t : (List (List String)),
+ m : (Dict.Dict String (List Struct.Location.Type))
}
--------------------------------------------------------------------------------
diff --git a/src/map-editor/src/Struct/Map.elm b/src/map-editor/src/Struct/Map.elm
index a00bba2..f0f0e5b 100644
--- a/src/map-editor/src/Struct/Map.elm
+++ b/src/map-editor/src/Struct/Map.elm
@@ -25,9 +25,9 @@ import Struct.Location
--------------------------------------------------------------------------------
type alias Type =
{
- width: Int,
- height: Int,
- content: (Array.Array Struct.Tile.Instance)
+ width : Int,
+ height : Int,
+ content : (Array.Array Struct.Tile.Instance)
}
--------------------------------------------------------------------------------