| 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(-)
--- |
| 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(); |