[Commits] [wesnoth/wesnoth] 8d2609: Add --wconsole for allocating a Windows console on...
GitHub
noreply at github.com
Sat Apr 25 08:56:04 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 8d2609ff4c59b9c4713d5b2e182eab463d4bd15f
https://github.com/wesnoth/wesnoth/commit/8d2609ff4c59b9c4713d5b2e182eab463d4bd15f
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-25 (Sat, 25 Apr 2015)
Changed paths:
A cwesnoth.cmd
M projectfiles/CodeBlocks/wesnoth.cbp
M src/CMakeLists.txt
M src/SConscript
M src/commandline_options.cpp
A src/desktop/windows_console.cpp
A src/desktop/windows_console.hpp
M src/wesnoth.cpp
Log Message:
-----------
Add --wconsole for allocating a Windows console on startup
This is only recognized by the game client at the moment. The
implementation is a bit hacky but it seems to work. Thanks, SDLmain.
The cwesnoth.cmd Windows batch file passes --wconsole to Wesnoth in the
command line, along with any other arguments passed to it. This is
intended to be *the* use case for --wconsole, since otherwise the fact
that Windows won't allocate a console for us on process initialization
(due to Wesnoth being compiled with the GUI application flag) causes
issues with the Command Prompt shell -- namely, the shell returns
before Wesnoth allocates its console, allowing shell input to happen
concurrently with Wesnoth's output to console.
cwesnoth.cmd should be used in shortcuts and given Wesnoth's install
path as its initial working directory.
Commit: c1fad7357ddecdf42d2f8e395ea8963bbb3da17c
https://github.com/wesnoth/wesnoth/commit/c1fad7357ddecdf42d2f8e395ea8963bbb3da17c
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-25 (Sat, 25 Apr 2015)
Changed paths:
M cwesnoth.cmd
Log Message:
-----------
cwesnoth: Disable SDL stdio redirection
We can do this using an environment variable. Too bad doing so doesn't
give us a console, otherwise this whole hack wouldn't be necessary in the
first place.
Commit: e32d9009ddc58527d7c0f58ef95ca283998230f4
https://github.com/wesnoth/wesnoth/commit/e32d9009ddc58527d7c0f58ef95ca283998230f4
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-25 (Sat, 25 Apr 2015)
Changed paths:
M cwesnoth.cmd
Log Message:
-----------
cwesnoth: Add some documentation
Commit: 149d375a2b98553f60440c890b85e8f1714195f3
https://github.com/wesnoth/wesnoth/commit/149d375a2b98553f60440c890b85e8f1714195f3
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-25 (Sat, 25 Apr 2015)
Changed paths:
M changelog
Log Message:
-----------
Update changelog
Commit: 077503456339e519864d4b33b918e9bc4dcff8f3
https://github.com/wesnoth/wesnoth/commit/077503456339e519864d4b33b918e9bc4dcff8f3
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-25 (Sat, 25 Apr 2015)
Changed paths:
M changelog
A cwesnoth.cmd
M projectfiles/CodeBlocks/wesnoth.cbp
M src/CMakeLists.txt
M src/SConscript
M src/commandline_options.cpp
A src/desktop/windows_console.cpp
A src/desktop/windows_console.hpp
M src/wesnoth.cpp
Log Message:
-----------
Merge branch 'feature/w32console'
Compare: https://github.com/wesnoth/wesnoth/compare/30617a4c5b8c...077503456339
More information about the Commits
mailing list