diff options
author | Snap <snapwilliam@gmail.com> | 2015-05-07 13:07:37 -0700 |
---|---|---|
committer | Snap <snapwilliam@gmail.com> | 2015-05-07 13:07:37 -0700 |
commit | c517b645c8723b5f4d20cbb91cbc4b9f45579cbb (patch) | |
tree | f0a2418290cecd15f20c834bb071ffa9f3694b09 /pages | |
parent | 9994868ad9a042e425046e0eedf2de83189f0fe6 (diff) | |
download | pathery-c517b645c8723b5f4d20cbb91cbc4b9f45579cbb.tar.xz |
Minor tweaks to map creation.
- Mapeditor disabled
- Major changes to maps.php incoming...
Diffstat (limited to 'pages')
-rw-r--r-- | pages/mapeditor.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pages/mapeditor.php b/pages/mapeditor.php index ec02bb6..f67cad1 100644 --- a/pages/mapeditor.php +++ b/pages/mapeditor.php @@ -3,6 +3,10 @@ include_once('./includes/maps.php'); include_once('./includes/mapclass.php'); include_once('./includes/mapoftheday.php'); +echo "too broken; will fix soon"; + +exit; + //Self-ajax. if ($_REQUEST['mapByCode']) { $map = new map($_REQUEST['mapByCode']); @@ -27,7 +31,7 @@ if ($_REQUEST['mapByMap']) { } if ($_REQUEST['genMap']) { - +/* $map = GenerateMap( normalizeNumber($_REQUEST['width'], 50, 6), normalizeNumber($_REQUEST['height'], 50, 6), @@ -36,8 +40,8 @@ if ($_REQUEST['genMap']) { normalizeNumber($_REQUEST['checkpoints'], 5, 0), normalizeNumber($_REQUEST['teleports'], 5, 0) ); - - //$map = getRandomSpecialMap(); + */ + $map = getRandomSpecialMap(); $code = GenerateMapCode($map); |