mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
#1470 minor bugfixes with app rendering; added Tieable interface
This commit is contained in:
parent
945b3d695e
commit
c0778e9fd9
4 changed files with 24 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class AchCategory extends AchList {
|
class AchCategory extends AchList implements Tieable {
|
||||||
private $id = false;
|
private $id = false;
|
||||||
private $ties_cult;
|
private $ties_cult;
|
||||||
private $ties_civ;
|
private $ties_civ;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class AchSummary extends AchList {
|
class AchSummary extends AchList implements Tieable {
|
||||||
private $menu;
|
private $menu;
|
||||||
private $stats;
|
private $stats;
|
||||||
|
|
||||||
|
@ -65,5 +65,21 @@
|
||||||
return array($done,$total);
|
return array($done,$total);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isTiedCult() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function isTiedCiv() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getCurrentCiv() {
|
||||||
|
return "c_neutral";
|
||||||
|
}
|
||||||
|
|
||||||
|
function getCurrentCult() {
|
||||||
|
return "c_neutral";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
|
@ -234,9 +234,11 @@
|
||||||
|
|
||||||
$perk = $ach->getChild($perk_list[0]);
|
$perk = $ach->getChild($perk_list[0]);
|
||||||
|
|
||||||
$html .= "<span style='color:#999999;font-weight:bold;'>".$perk->getName()."</span>";
|
if($perk->getName() != null) {
|
||||||
|
$html .= "<span style='color:#999999;font-weight:bold;display:block;'>".$perk->getName()."</span>";
|
||||||
|
}
|
||||||
if($perk->objDrawable()) {
|
if($perk->objDrawable()) {
|
||||||
$html .= "<br>".ach_render_obj_list($perk->getChildren());
|
$html .= ach_render_obj_list($perk->getChildren());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
|
|
|
@ -34,6 +34,7 @@ require_once("include/ach_render_common.php");
|
||||||
|
|
||||||
require_once("class/RenderNodeIteraor_abstract.php");
|
require_once("class/RenderNodeIteraor_abstract.php");
|
||||||
require_once("class/AchList_abstract.php");
|
require_once("class/AchList_abstract.php");
|
||||||
|
require_once("class/Tieable_inter.php");
|
||||||
|
|
||||||
require_once("class/AchMenu_class.php");
|
require_once("class/AchMenu_class.php");
|
||||||
require_once("class/AchSummary_class.php");
|
require_once("class/AchSummary_class.php");
|
||||||
|
|
Loading…
Reference in a new issue