Implement S-Chess
[capablanca.git] / lasker-2.2.3 / src / matchproc.c
index 020be38..88c0366 100644 (file)
@@ -158,7 +158,7 @@ static void output_match_messages(int wp,int bp,int g, char* mess)
           rstr[game_globals.garray[g].rated],
           //bstr[game_globals.garray[g].type],
           game_globals.garray[g].variant,
-          game_globals.garray[g].wInitTime, 
+          game_globals.garray[g].wInitTime/600, 
           game_globals.garray[g].wIncrement);
   pprintf(wp, "%s", outStr);
   pprintf(bp, "%s", outStr);
@@ -531,6 +531,9 @@ static int parse_match_string(int p, int* wt,int* bt,int* winc,int* binc,
        if(!strcmp("su", category)) {
          strcpy(category, "super");
        } else
+       if(!strcmp("sc", category)) {
+         strcpy(category, "seirawan");
+       } else
        if(!strcmp("sg", category)) {
          strcpy(category, "shogi");
        } else