hedgewars/hwengine.pas
changeset 3312 6d8f1c76756d
parent 3236 4ab3917d7d44
child 3365 37ac593e9027
equal deleted inserted replaced
3311:18436bb84bfe 3312:6d8f1c76756d
   242     cShowFPS:= true;
   242     cShowFPS:= true;
   243     cInitVolume:= 100;
   243     cInitVolume:= 100;
   244 
   244 
   245     UserNick:= gameArgs[0];
   245     UserNick:= gameArgs[0];
   246     val(gameArgs[1], ipcPort);
   246     val(gameArgs[1], ipcPort);
   247     isSoundEnabled:= false;//gameArgs[2] = '1';
   247     isSoundEnabled:= gameArgs[2] = '1';
   248     isMusicEnabled:= false;//gameArgs[3] = '1';
   248     isMusicEnabled:= gameArgs[3] = '1';
   249     cLocaleFName:= gameArgs[4];
   249     cLocaleFName:= gameArgs[4];
   250     cAltDamage:= gameArgs[5] = '1';
   250     cAltDamage:= gameArgs[5] = '1';
   251     val(gameArgs[6], cScreenHeight);
   251     val(gameArgs[6], cScreenHeight);
   252     val(gameArgs[7], cScreenWidth);
   252     val(gameArgs[7], cScreenWidth);
   253     cInitHeight:= cScreenHeight;
   253     cInitHeight:= cScreenHeight;