commit bf356e2c450cd4f86e90c1a56959130168219bfd parent 0c2ea8bfc0618e7697fa34f82e59840974eea7f7 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat May 20 18:50:07 +0300 Show game- in medfall status bar Diffstat:
hm.cc | | | 4 | ++-- |
diff --git a/hm.cc b/hm.cc @@ -352,9 +352,9 @@ extern "C" GAME_FRAME( game_frame ) { } { - const str< 128 > status( "Frame time: {.1}ms FPS: {.1} {}", + const str< 128 > status( "Frame time: {.1}ms FPS: {.1} {} {.1}", dt * 1000.0f, 1.0f / dt, - connected ? "connected!" : "connecting" ); + connected ? "connected!" : "connecting", game->pos ); draw_text( status.c_str(), 2.0f, 2.0f, 16.0f ); } }