hedgewars/hwengine.pas
changeset 3803 e4a8a4e378de
parent 3799 5341dc5a8919
child 3843 50e75cb38c18
equal deleted inserted replaced
3802:2ccfc93c6b5e 3803:e4a8a4e378de
   225     cLocaleFName:= gameArgs[4];
   225     cLocaleFName:= gameArgs[4];
   226     UserNick:= gameArgs[5];
   226     UserNick:= gameArgs[5];
   227     isSoundEnabled:= gameArgs[6] = '1';
   227     isSoundEnabled:= gameArgs[6] = '1';
   228     isMusicEnabled:= gameArgs[7] = '1';
   228     isMusicEnabled:= gameArgs[7] = '1';
   229     cAltDamage:= gameArgs[8] = '1';
   229     cAltDamage:= gameArgs[8] = '1';
   230     if CompareStr(gameArgs[9],'0') = 0 then
   230     //gameArgs[9] unused
   231         cReadyDelay:= 0;
       
   232     recordFileName:= gameArgs[10];
   231     recordFileName:= gameArgs[10];
   233 {$ENDIF}
   232 {$ENDIF}
   234 
   233 
   235     initEverything(true);
   234     initEverything(true);
   236     WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
   235     WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');