summaryrefslogtreecommitdiffstats
path: root/includes/datas.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 /includes/datas.php
parentaa2388203ebc2fad01b8280777e5a40de4fcc813 (diff)
downloadpathery-c5175d4a06c993ff7f42c16178b6d4db49b7387e.tar.xz
Wall orientation achievements - huge commit.
Diffstat (limited to 'includes/datas.php')
-rw-r--r--includes/datas.php18
1 files changed, 16 insertions, 2 deletions
diff --git a/includes/datas.php b/includes/datas.php
index f599533..af10cd2 100644
--- a/includes/datas.php
+++ b/includes/datas.php
@@ -110,11 +110,19 @@ function displayUnlock($uType, $uValue, $uName) {
case UNLOCK_DISPLAY_COLOR:
$r .= "<br /><span style='color:$uValue;font-weight:bold;font-size:110%;background-color:#222;'>$uName Username color!</span>";
+ break;
+
+ case UNLOCK_WALL_ORIENTATION:
+ $r .= "Emblem Rotation $uName!";
break;
case UNLOCK_EXTRAS:
$r .= "Extras: $uName";
break;
+
+ default:
+ $r .= "$uName";
+ break;
}
return $r;
}
@@ -684,9 +692,13 @@ function getPerfectDayArray() {
//($required, $unlockType, $unlockValue, $unlockName, $unlockSubtype)
//$cp[0] = array(requiredpoints, type, 'value', 'name');
$r[1] = array(1, UNLOCK_EXTRAS, '5', 'Insane Speed', MISC_UNLOCK_INSANE_SPEED);
+ //Give 0* at the same time
+ $r[2] = array(5, UNLOCK_WALL_ORIENTATION, '1', '90*', 0);
+ $r[3] = array(50, UNLOCK_WALL_ORIENTATION, '2', '180*', 0);
+ $r[4] = array(100, UNLOCK_WALL_ORIENTATION, '3', '270*', 0);
//These numbers temporarly unreasonable
- $r[2] = array(9275, UNLOCK_WALL_EMBLEM, 'CircleSmall_W_I.png', 'Inverted Bright Small Circle', 0);
- $r[3] = array(10000, UNLOCK_WALL_EMBLEM, 'DiamondLarge_W_I.png', 'Inverted Light Large Diamond', 0);
+ $r[5] = array(9275, UNLOCK_WALL_EMBLEM, 'CircleSmall_W_I.png', 'Inverted Bright Small Circle', 0);
+ $r[6] = array(10000, UNLOCK_WALL_EMBLEM, 'DiamondLarge_W_I.png', 'Inverted Light Large Diamond', 0);
return $r;
}
@@ -748,6 +760,7 @@ function getMembers($pageNumber = 1, $pageDivide = 50, $order = 'DESC', $orderBy
users.wallColor,
users.displayColor,
users.wallEmblem,
+ users.wallOrientation,
users.datejoined as dateJoined,
users.dateLogin as dateLogin
FROM `users`
@@ -844,6 +857,7 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) {
users.displayColor,
users.wallColor,
users.wallEmblem,
+ users.wallOrientation,
$requestSolutions
solutions.dateModified as cdate,
solutions.ID as solutionID