Nicer HUD for beta

This commit is contained in:
Simon Robertshaw 2012-08-27 16:14:13 +01:00
parent 072cfe67aa
commit 2ae37525e3
2 changed files with 4 additions and 0 deletions

View File

@ -32,8 +32,10 @@
#define SNAPSHOT_ID 0
#endif
#ifndef BETA
#define BETA
#define SNAPSHOT
#endif
//VersionInfoEnd
#if defined(SNAPSHOT)

View File

@ -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();