Updated version

This commit is contained in:
mathusummut
2019-02-06 21:43:41 +01:00
parent 5c7180b750
commit bd45d7d94e
3 changed files with 8 additions and 6 deletions

View File

@@ -131,7 +131,6 @@ namespace Game {
}
void Gui::init(Game *game) {
this->commander = game->getCommander();
this->gameCamera = game->getGameCameraPtr();
this->console = game->getConsole();
@@ -142,6 +141,8 @@ namespace Game {
world->getThisFactionIndex(),
world->getThisTeamIndex(),
game->isFlagType1BitEnabled(ft1_allow_shared_team_units));
console->addStdMessage("StartMessage", true);
}
void Gui::end() {

View File

@@ -1239,15 +1239,15 @@ namespace Game {
needUpdateFromServer = false;
if (announcementLoaded == false) {
consoleIRC.addLine("This is the network lobby. To start a new network game yourself, click \"Host Game\"");
consoleIRC.addLine("");
// write hint to console:
Config & configKeys =
Config::getInstance(std::pair < ConfigType,
ConfigType >(cfgMainKeys, cfgUserKeys));
consoleIRC.addLine(Lang::getInstance().
getString("ToSwitchOffMusicPress") +
" - \"" +
consoleIRC.addLine(Lang::getInstance().getString("ToSwitchOffMusicPress") + " - \"" +
configKeys.getString("ToggleMusic") + "\"");
consoleIRC.addLine("");
announcementLoaded = true;
}

View File

@@ -1,4 +1,5 @@
#define GAME_VERSION "Glest 2.0"
#define GAME_BUILD_DATE "0602"
#define G3D_VIEWER_VERSION "1.0"
#define MAP_EDITOR_VERSION "1.0"
//Month then Day
#define GAME_BUILD_DATE "0206"