Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/infowidget.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/client/infowidget.cc b/src/client/infowidget.cc
index c4c85a1..9340627 100644
--- a/src/client/infowidget.cc
+++ b/src/client/infowidget.cc
@@ -58,11 +58,13 @@ void DevInfoWidget::draw()
textstream << '\n';
if (core::localcontrol()) {
- textstream << std::fixed << std::setprecision(2)
- << "^Nx ^B" << core::localcontrol()->location().x() << " "
- << "^Ny ^B" << core::localcontrol()->location().y() << " "
- << "^Nz ^B" << core::localcontrol()->location().z() << '\n';
-
+ textstream << "^Nx,y,z ^B" << std::fixed << std::setprecision(2)
+ << core::localcontrol()->location().x() << ", "
+ << core::localcontrol()->location().y() << ", "
+ << core::localcontrol()->location().z() << '\n';
+
+ textstream << "^Nradius ^B" << core::localcontrol()->radius() << '\n';
+
textstream << "^Nthurst ^B" << core::localcontrol()->thrust() << " "
<< "^Nspeed ^B" << core::localcontrol()->speed() << '\n';