tWin32 support for high-score-convert command line option - vaccinewars - be a … | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b60ede18a023484b718a3eb509d999cba892589c | |
parent ec9e4a2f2b66a29d198832dec6e18b590e7691b7 | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
diff --git a/src/winmain.c b/src/winmain.c | |
t@@ -123,6 +123,11 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevI… | |
g_set_print_handler(WindowPrintFunc); | |
HandleHelpTexts(); | |
WindowPrintEnd(); | |
+ } else if (WantConvert) { | |
+ WindowPrintStart(); | |
+ g_set_print_handler(WindowPrintFunc); | |
+ ConvertHighScoreFile(); | |
+ WindowPrintEnd(); | |
} else { | |
#ifdef NETWORKING | |
StartNetworking(); |