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

Commit 61de761

Browse files
author
mathusummut
committed
Updated changelog
1 parent cc2f74f commit 61de761

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

ChangeLog.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ v1.0
1212
- Maximum unit selection cap has been removed
1313
- Size of attack and move icons increased
1414
- Forest tilesets are more animated
15-
- You can leave and re-join network games, even if you experience lag
15+
- You can leave and re-join network games, even if you experience lag (buggy)
16+
- Console now hidden by default on Windows
1617
- [Default command is changed to "attack" instead of "move", which is much more intuitive](https://github.com/ZetaGlest/zetaglest-source/commit/2c4fc340de958f6b94b40ee62eabff015625e62b)
1718
(pressing "a" not needed anymore); ["m" key can be used for "move"](https://github.com/ZetaGlest/zetaglest-source/commit/bf5a04be18f2b16b8a565acff4baabc5fbfed293).
1819
- Updated UI to look more modern

source/glest_game/main/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6267,7 +6267,7 @@ namespace Game {
62676267
LuaScript::setDisableSandbox(true);
62686268
}
62696269
#ifdef _WIN32
6270-
if (config.getBool("ShowConsoleWindows", "false") == false)
6270+
if (config.getBool("ShowConsoleWindows", "false") == false && GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
62716271
ShowWindow(GetConsoleWindow(), SW_HIDE);
62726272
#endif
62736273

source/glest_game/menu/menu_state_options.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ namespace Game {
13021302
#ifdef _WIN32
13031303
if (checkBoxShowDeveloperConsoleOnWindows.getValue())
13041304
ShowWindow(GetConsoleWindow(), SW_SHOW);
1305-
else
1305+
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
13061306
ShowWindow(GetConsoleWindow(), SW_HIDE);
13071307
#endif
13081308
Renderer::getInstance().loadConfig();

source/glest_game/menu/menu_state_options_graphics.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ namespace Game {
10911091
#ifdef _WIN32
10921092
if (config.getBool("ShowConsoleWindows", "false") == true)
10931093
ShowWindow(GetConsoleWindow(), SW_SHOW);
1094-
else
1094+
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
10951095
ShowWindow(GetConsoleWindow(), SW_HIDE);
10961096
#endif
10971097

source/glest_game/menu/menu_state_options_sound.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ namespace Game {
480480
#ifdef _WIN32
481481
if (config.getBool("ShowConsoleWindows", "false") == true)
482482
ShowWindow(GetConsoleWindow(), SW_SHOW);
483-
else
483+
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
484484
ShowWindow(GetConsoleWindow(), SW_HIDE);
485485
#endif
486486

0 commit comments

Comments
 (0)