Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mathusummut committed Jan 26, 2019
1 parent cc2f74f commit 61de761
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ v1.0
- Maximum unit selection cap has been removed
- Size of attack and move icons increased
- Forest tilesets are more animated
- You can leave and re-join network games, even if you experience lag
- You can leave and re-join network games, even if you experience lag (buggy)
- Console now hidden by default on Windows
- [Default command is changed to "attack" instead of "move", which is much more intuitive](https://github.com/ZetaGlest/zetaglest-source/commit/2c4fc340de958f6b94b40ee62eabff015625e62b)
(pressing "a" not needed anymore); ["m" key can be used for "move"](https://github.com/ZetaGlest/zetaglest-source/commit/bf5a04be18f2b16b8a565acff4baabc5fbfed293).
- Updated UI to look more modern
Expand Down
2 changes: 1 addition & 1 deletion source/glest_game/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6267,7 +6267,7 @@ namespace Game {
LuaScript::setDisableSandbox(true);
}
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == false)
if (config.getBool("ShowConsoleWindows", "false") == false && GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif

Expand Down
2 changes: 1 addition & 1 deletion source/glest_game/menu/menu_state_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ namespace Game {
#ifdef _WIN32
if (checkBoxShowDeveloperConsoleOnWindows.getValue())
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif
Renderer::getInstance().loadConfig();
Expand Down
2 changes: 1 addition & 1 deletion source/glest_game/menu/menu_state_options_graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ namespace Game {
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == true)
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif

Expand Down
2 changes: 1 addition & 1 deletion source/glest_game/menu/menu_state_options_sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ namespace Game {
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == true)
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif

Expand Down

0 comments on commit 61de761

Please sign in to comment.