equal
deleted
inserted
replaced
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)); |