summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-09 15:37:46 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-09 15:37:46 -0800
commitb40457114a6f5796229357555c80dfef74937a40 (patch)
tree21669b29bba7c64a0a030cf50aaabad92cc11a27 /includes/maps.php
parent519b360a15bfdeb1aa5cc560281f97def797050a (diff)
downloadpathery-b40457114a6f5796229357555c80dfef74937a40.tar.xz
Code cleanup / deletions.
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 9ee6984..efe17b8 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -1,5 +1,6 @@
<?PHP
//Displays the map
+//TODO: SOON TO DEPRECIATE!! YAY!
function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL) {
//Iterate through $mapMatrix and generate the html
$maptable = ""; //The string to return to the database.
@@ -287,6 +288,7 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
//This requires the map as an object.
+//TODO: SOON TO DEPRECIATE!
function DisplayMapThumbnail($map, $link = false) {
$r = ''; //Prepare our return value:
@@ -609,7 +611,7 @@ function insertPoint($array, $new, $target = '?') {
//Somehow an invalid target got into our list of valid targets...
echo "<br/>";
echo "Error in selecting $indexTarget ($x,$y). Replacement stopped on $new[0].<br/>";
- echo "indexTarget = $indextarget<br/>";
+ echo "indexTarget = $indexTarget<br/>";
echo "indexReplace = $indexReplace<br/>";
echo "array = ";