aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2aeec2d44..fca9c5e68 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -4421,17 +4421,17 @@ void Game::updateGui(const RunStats &stats, f32 dtime, const CameraOrientation &
std::ostringstream os(std::ios_base::binary);
os << std::fixed
<< PROJECT_NAME_C " " << g_version_hash
- << ", FPS " << fps
+ << ", FPS: " << fps
<< std::setprecision(0)
- << ", Drawtime " << drawtime_avg << "ms"
+ << ", drawtime: " << drawtime_avg << "ms"
<< std::setprecision(1)
- << ", Dtime jitter "
+ << ", dtime jitter: "
<< (stats.dtime_jitter.max_fraction * 100.0) << "%"
<< std::setprecision(1)
- << ", View range "
+ << ", view range: "
<< (draw_control->range_all ? "All" : itos(draw_control->wanted_range))
<< std::setprecision(3)
- << ", RTT " << client->getRTT() << "s";
+ << ", RTT: " << client->getRTT() << "s";
setStaticText(guitext, utf8_to_wide(os.str()).c_str());
guitext->setVisible(true);
} else {
@@ -4449,12 +4449,12 @@ void Game::updateGui(const RunStats &stats, f32 dtime, const CameraOrientation &
if (flags.show_debug) {
std::ostringstream os(std::ios_base::binary);
os << std::setprecision(1) << std::fixed
- << "Pos (" << (player_position.X / BS)
+ << "pos: (" << (player_position.X / BS)
<< ", " << (player_position.Y / BS)
<< ", " << (player_position.Z / BS)
- << "), Yaw " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
+ << "), yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
<< yawToDirectionString(cam.camera_yaw)
- << ", Seed " << ((u64)client->getMapSeed());
+ << ", seed: " << ((u64)client->getMapSeed());
if (runData.pointed_old.type == POINTEDTHING_NODE) {
ClientMap &map = client->getEnv().getClientMap();
@@ -4462,8 +4462,8 @@ void Game::updateGui(const RunStats &stats, f32 dtime, const CameraOrientation &
MapNode n = map.getNodeNoEx(runData.pointed_old.node_undersurface);
if (n.getContent() != CONTENT_IGNORE && nodedef->get(n).name != "unknown") {
- os << ", Pointed " << nodedef->get(n).name
- << ", Param2 " << (u64) n.getParam2();
+ os << ", pointed: " << nodedef->get(n).name
+ << ", param2: " << (u64) n.getParam2();
}
}