- updated main menu version # to show compile date / time

This commit is contained in:
Mark Vejvoda
2010-12-02 01:04:06 +00:00
parent 8deec8d518
commit 0537903a7d

View File

@@ -59,7 +59,7 @@ MenuStateRoot::MenuStateRoot(Program *program, MainMenu *mainMenu):
buttonExit.registerGraphicComponent(containerName,"buttonExit"); buttonExit.registerGraphicComponent(containerName,"buttonExit");
buttonExit.init(425, i, 150); buttonExit.init(425, i, 150);
labelVersion.registerGraphicComponent(containerName,"labelVersion"); labelVersion.registerGraphicComponent(containerName,"labelVersion");
labelVersion.init(525, 420); labelVersion.init(435, 420);
buttonNewGame.setText(lang.get("NewGame")); buttonNewGame.setText(lang.get("NewGame"));
buttonJoinGame.setText(lang.get("JoinGame")); buttonJoinGame.setText(lang.get("JoinGame"));
@@ -67,7 +67,7 @@ MenuStateRoot::MenuStateRoot(Program *program, MainMenu *mainMenu):
buttonOptions.setText(lang.get("Options")); buttonOptions.setText(lang.get("Options"));
buttonAbout.setText(lang.get("About")); buttonAbout.setText(lang.get("About"));
buttonExit.setText(lang.get("Exit")); buttonExit.setText(lang.get("Exit"));
labelVersion.setText(glestVersionString); labelVersion.setText(glestVersionString + " [" + getCompileDateTime() + "]");
//mesage box //mesage box
mainMessageBox.registerGraphicComponent(containerName,"mainMessageBox"); mainMessageBox.registerGraphicComponent(containerName,"mainMessageBox");