From 5c76c4160bff16cdd3494736033b427e76d76e73 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 16 Apr 2011 12:54:41 -0700 Subject: Findtiles function added. Now used to; locate start locations and teleport out's. Fixes involving the use of randomly placed start locations. Added tile "q" for blank spaces - for use in oddly shaped maps. --- app.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'app.php') diff --git a/app.php b/app.php index 5b7a77b..9024184 100644 --- a/app.php +++ b/app.php @@ -8,7 +8,49 @@ include "includes/datas.php"; // encode array $json to JSON string //echo "working..."; + +if ($_GET['act'] == "submit") { +header('Content-Type: text/xml'); +echo ' + + + + 5 + 50 + 49 + + +'; + +} + + +$xml = ' + + + + 5 + FiftyToo + 50 + + + + + + + + + 5 + 50 + 49 + + +'; + + + + if ($_GET['act'] == "getmap") { $maptype = $_GET['maptype'] + 0; -- cgit v1.2.3