- Ingame configurator -> script settings

- fixed local records plugin
- fixed systeminfo command
- FML update
This commit is contained in:
Steffen Schröder
2013-11-28 17:36:39 +01:00
parent fed96b36d0
commit 4951829017
7 changed files with 468 additions and 21 deletions

View File

@ -279,13 +279,13 @@ class LocalRecordsPlugin extends Plugin implements CallbackListener {
$backgroundQuad = new Quad();
$recordFrame->add($backgroundQuad);
$backgroundQuad->setSize($width, $lineHeight);
$backgroundQuad->setSize($width * 1.03, $lineHeight * 1.25);
$backgroundQuad->setStyles($quadStyle, $quadSubstyle);
$rankLabel = new Label();
$recordFrame->add($rankLabel);
$rankLabel->setHAlign(Control::LEFT);
$rankLabel->setPosition($width * -0.47);
$rankLabel->setX($width * -0.47);
$rankLabel->setSize($width * 0.06, $lineHeight);
$rankLabel->setTextSize(1);
$rankLabel->setTextPrefix('$o');
@ -294,7 +294,7 @@ class LocalRecordsPlugin extends Plugin implements CallbackListener {
$nameLabel = new Label();
$recordFrame->add($nameLabel);
$nameLabel->setHAlign(Control::LEFT);
$nameLabel->setPosition($width * -0.4);
$nameLabel->setX($width * -0.4);
$nameLabel->setSize($width * 0.6, $lineHeight);
$nameLabel->setTextSize(1);
$nameLabel->setText($record->nickname);
@ -302,7 +302,7 @@ class LocalRecordsPlugin extends Plugin implements CallbackListener {
$timeLabel = new Label();
$recordFrame->add($timeLabel);
$timeLabel->setHAlign(Control::RIGHT);
$timeLabel->setPosition($width * 0.47);
$timeLabel->setX($width * 0.47);
$timeLabel->setSize($width * 0.25, $lineHeight);
$timeLabel->setTextSize(1);
$timeLabel->setText(Formatter::formatTime($record->time));