From 2ae37525e3c8d79cbaee6dd8c511f1172c1cfdc2 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 27 Aug 2012 16:14:13 +0100 Subject: Nicer HUD for beta 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(); -- cgit v0.9.2-21-gd62e