From c5175d4a06c993ff7f42c16178b6d4db49b7387e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 18 Mar 2013 01:32:14 -0700 Subject: Wall orientation achievements - huge commit. --- globe.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'globe.php') 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 ' -- cgit v1.2.3