hedgewars/hwengine.pas
changeset 4849 e7b1f0aaf36f
parent 4845 9a0f5377c529
parent 4814 e19791f08443
child 4894 efcea232bbf6
equal deleted inserted replaced
4847:7f21c08fd7d2 4849:e7b1f0aaf36f
   224     isSoundEnabled:= gameArgs[6] = '1';
   224     isSoundEnabled:= gameArgs[6] = '1';
   225     isMusicEnabled:= gameArgs[7] = '1';
   225     isMusicEnabled:= gameArgs[7] = '1';
   226     cAltDamage:= gameArgs[8] = '1';
   226     cAltDamage:= gameArgs[8] = '1';
   227     val(gameArgs[9], rotationQt);
   227     val(gameArgs[9], rotationQt);
   228     recordFileName:= gameArgs[10];
   228     recordFileName:= gameArgs[10];
       
   229     cStereoMode:= smNone;
   229 {$ENDIF}
   230 {$ENDIF}
   230 
   231 
   231     cLogfileBase:= 'game';
   232     cLogfileBase:= 'game';
   232     initEverything(true);
   233     initEverything(true);
       
   234 
   233     WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
   235     WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
   234 {$IFDEF DEBUGFILE}
   236 {$IFDEF DEBUGFILE}
   235     AddFileLog('Prefix: "' + PathPrefix +'"');
   237     AddFileLog('Prefix: "' + PathPrefix +'"');
   236     for i:= 0 to ParamCount do
   238     for i:= 0 to ParamCount do
   237         AddFileLog(inttostr(i) + ': ' + ParamStr(i));
   239         AddFileLog(inttostr(i) + ': ' + ParamStr(i));