feat: indicator for fields under construction

Also, all line separators are now Linux-style :-P

Closes #321
This commit is contained in:
Martin Ambrus
2017-11-22 15:32:31 +01:00
parent 63fadba36e
commit 2f9d134ec9
53 changed files with 227 additions and 128 deletions
+6 -6
View File
@@ -106,7 +106,7 @@ if(isset($_GET['o'])) {
echo GP_LOCATE;
?>lang/en/compact.css?f4b7g" rel="stylesheet" type="text/css" />
?>lang/en/compact.css?f4b7h" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
@@ -180,10 +180,10 @@ if(isset($_GET['o'])) {
$p_ander = $database->getCoor($prisoner['from']);
$p_to = array('x'=>$p_ander['x'], 'y'=>$p_ander['y']);
$p_tribe = $database->getUserField($p_owner,"tribe",0);
$p_speeds = array();
//find slowest unit.
//find slowest unit.
for($i=1;$i<=10;$i++){
if ($prisoner['t'.$i]){
if($prisoner['t'.$i] != '' && $prisoner['t'.$i] > 0){
@@ -193,7 +193,7 @@ if(isset($_GET['o'])) {
}
}
}
if ($prisoner['t11']>0){
$p_qh = "SELECT unit FROM ".TB_PREFIX."hero WHERE uid = ".(int) $p_owner." AND dead = 0";
$p_resulth = mysqli_query($GLOBALS['link'],$p_qh);
@@ -201,7 +201,7 @@ if(isset($_GET['o'])) {
$p_hero_unit=$p_hero_f['unit'];
$p_speeds[] = $GLOBALS['u'.$p_hero_unit]['speed'];
}
$p_artefact = count($database->getOwnUniqueArtefactInfo2($p_owner,2,3,0));
$p_artefact1 = count($database->getOwnUniqueArtefactInfo2($prisoner['from'],2,1,1));
$p_artefact2 = count($database->getOwnUniqueArtefactInfo2($p_owner,2,2,0));