diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-27 15:14:13 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-27 15:14:13 (GMT) |
| commit | 2ae37525e3c8d79cbaee6dd8c511f1172c1cfdc2 (patch) | |
| tree | 4a943f659d068239f01b72b5d4239298aaa14b2d /src | |
| parent | 072cfe67aa69466d8ed9afcca705334e036f24df (diff) | |
| download | powder-2ae37525e3c8d79cbaee6dd8c511f1172c1cfdc2.zip powder-2ae37525e3c8d79cbaee6dd8c511f1172c1cfdc2.tar.gz | |
Nicer HUD for beta
Diffstat (limited to 'src')
| -rw-r--r-- | src/Config.h | 2 | ||||
| -rw-r--r-- | src/game/GameView.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Config.h b/src/Config.h index 02cf1ca..9c716ed 100644 --- a/src/Config.h +++ b/src/Config.h @@ -32,8 +32,10 @@ #define SNAPSHOT_ID 0 #endif +#ifndef BETA #define BETA #define SNAPSHOT +#endif //VersionInfoEnd #if defined(SNAPSHOT) diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 8334f39..7e15e07 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -2055,6 +2055,8 @@ void GameView::OnDraw() fpsInfo.precision(2); #ifdef SNAPSHOT fpsInfo << "Snapshot " << SNAPSHOT_ID << ", "; +#elif defined(BETA) + fpsInfo << "Beta " << SAVE_VERSION << "." << MINOR_VERSION << "." << BUILD_NUM << ", "; #endif fpsInfo << "FPS: " << std::fixed << ui::Engine::Ref().GetFps(); |
