[Wormux-cvs] r9677 - /trunk/src/main.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 09:52:52 2011 New Revision: 9677 URL: http://svn.gna.org/viewcvs/warmux?rev=9677&view=rev Log: Synchronize iostream standard stream objects cin, cout, cerr with their C standard counterparts: stdin, stdout and stderr. Modified: trunk/src/main.cpp ___

[Wormux-cvs] r9678 - in /trunk/src: menu/replay_menu.cpp replay/replay.cpp replay/replay_info.cpp replay/replay_info.h

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 10:59:51 2011 New Revision: 9678 URL: http://svn.gna.org/viewcvs/warmux?rev=9678&view=rev Log: MinGW gcc stl doesn't support wchar_t (it's not part of the standard anyway, afaik), so the code was only compiling with MSVC. Change all std::fstream usage in that code

[Wormux-cvs] r9679 - in /trunk/src: menu/results_menu.cpp replay/replay.cpp replay/replay.h tool/ansi_convert.cpp tool/ansi_convert.h

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 16:39:16 2011 New Revision: 9679 URL: http://svn.gna.org/viewcvs/warmux?rev=9679&view=rev Log: [Windows] Rename function, as it was misnamed, and only used under Windows. Modified: trunk/src/menu/results_menu.cpp trunk/src/replay/replay.cpp trunk/src/re

[Wormux-cvs] r9680 - in /trunk/src: menu/results_menu.cpp tool/ansi_convert.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 16:52:58 2011 New Revision: 9680 URL: http://svn.gna.org/viewcvs/warmux?rev=9680&view=rev Log: Fix compilation after previous commit. Modified: trunk/src/menu/results_menu.cpp trunk/src/tool/ansi_convert.cpp ___

[Wormux-cvs] r9681 - /trunk/src/replay/replay_info.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 16:56:15 2011 New Revision: 9681 URL: http://svn.gna.org/viewcvs/warmux?rev=9681&view=rev Log: Avoid potential buffer overflow by specifying the size of the buffer. Modified: trunk/src/replay/replay_info.cpp ___ Wor

[Wormux-cvs] r9682 - in /trunk/lib/warmux: include/WARMUX_file_tools.h tools/file_tools.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 20:23:39 2011 New Revision: 9682 URL: http://svn.gna.org/viewcvs/warmux?rev=9682&view=rev Log: [Windows] TranslateDirectory doesn't make sense for Windows, so transform it into a no-op macro. Modified: trunk/lib/warmux/include/WARMUX_file_tools.h trunk/lib

[Wormux-cvs] r9683 - /trunk/src/game/config.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 20:32:48 2011 New Revision: 9683 URL: http://svn.gna.org/viewcvs/warmux?rev=9683&view=rev Log: [Windows] USe a SFN for WarMUX path: this should allow running it whatever the path (ie, even with non-ANSI characters). Modified: trunk/src/game/config.cpp __

[Wormux-cvs] r9684 - /trunk/src/replay/replay_info.cpp

2011-02-23 Thread Kurosu
Author: kurosu Date: Wed Feb 23 21:20:47 2011 New Revision: 9684 URL: http://svn.gna.org/viewcvs/warmux?rev=9684&view=rev Log: Fix compilation, and use really fixed size for string max length. Modified: trunk/src/replay/replay_info.cpp ___ Wormux-