From 677b7454a37a0152f50d40993460d8f5a071e181 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 5 Mar 2013 14:17:08 -0800 Subject: Map editor 0.1! --- pages/mapeditor.php | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 283 insertions(+) create mode 100644 pages/mapeditor.php (limited to 'pages') diff --git a/pages/mapeditor.php b/pages/mapeditor.php new file mode 100644 index 0000000..402f2d6 --- /dev/null +++ b/pages/mapeditor.php @@ -0,0 +1,283 @@ + $value) { + $map->$key = $value; + } + //Store the code in the object + $map->getCode(); + echo json_encode($map); + exit; +} + + +htmlHeader(array('stats', 'mapeditor'), 'Map Editor', + 'Map Editor', + array('dateformat')); + + +?> + + + + + +
+ +

Map Editor Beta

+ + +
+
+
+ Load Map: +
+ Load map by ID: + +
+ +
+ Load map by code: + +
+ +
+ +
+
+ +
+
+ +
+ Settings: +
+ Height: + +
+
+ Width: + +
+
+ Walls: + +
+ +
+ +
'; + continue; + } + + echo " +
+
+
"; + } + + ?> + + +
+
+ Edit Map: +
+ Loading... +
+
+
+
+ +
+
+
+ +
+
+ Returned map goes here. +
+
+ + + \ No newline at end of file -- cgit v1.2.3