Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-11 20:30:43 +0000
committerStijn Buys <ingar@osirion.org>2010-11-11 20:30:43 +0000
commit45819c1dc206b173a6a7bf5e00971624bebbe8fb (patch)
tree6e0b9c3352ba77863050636e5d5734034f20ff13 /src
parentc5ecf465005314537ccc6173fc0b3dfd3a7b4a63 (diff)
added localcontrol->radius() to devinfo widget
Diffstat (limited to 'src')
-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';