tWin32 support for high-score-convert command line option - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit b60ede18a023484b718a3eb509d999cba892589c (DIR) parent ec9e4a2f2b66a29d198832dec6e18b590e7691b7 (HTM) Author: Ben Webb <ben@salilab.org> Date: Thu, 13 Sep 2001 16:33:20 +0000 Win32 support for high-score-convert command line option Diffstat: M src/winmain.c | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) --- (DIR) diff --git a/src/winmain.c b/src/winmain.c t@@ -123,6 +123,11 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance, g_set_print_handler(WindowPrintFunc); HandleHelpTexts(); WindowPrintEnd(); + } else if (WantConvert) { + WindowPrintStart(); + g_set_print_handler(WindowPrintFunc); + ConvertHighScoreFile(); + WindowPrintEnd(); } else { #ifdef NETWORKING StartNetworking();