summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-18 01:32:14 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-03-18 01:32:14 -0700
commitc5175d4a06c993ff7f42c16178b6d4db49b7387e (patch)
treed8629d21c81c27fe2cb52b2e201285c3449d1e7c /globe.php
parentaa2388203ebc2fad01b8280777e5a40de4fcc813 (diff)
downloadpathery-c5175d4a06c993ff7f42c16178b6d4db49b7387e.tar.xz
Wall orientation achievements - huge commit.
Diffstat (limited to 'globe.php')
-rw-r--r--globe.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/globe.php b/globe.php
index 7353e74..7a3d472 100644
--- a/globe.php
+++ b/globe.php
@@ -20,6 +20,12 @@ function LogError($error) {
fclose($fd);
}
+function linkEmblem($emblem, $orientation) {
+ $orientation = $orientation - 0;
+ $url = 'images/marks/';
+ if ($orientation == 0) return $url.$emblem;
+ return $url.'rotate.php?r='.$orientation.'&emblem='.$emblem;
+}
function soundManager1() {
return '