hedgewars/hwengine.pas
branchhedgeroid
changeset 5365 326c7db9e410
parent 5359 86b76c93a612
child 5458 c3d01ba3ba3c
equal deleted inserted replaced
5363:7f7800581012 5365:326c7db9e410
   213     s: shortstring;
   213     s: shortstring;
   214     i: LongInt;
   214     i: LongInt;
   215 begin
   215 begin
   216 {$IFDEF HWLIBRARY}
   216 {$IFDEF HWLIBRARY}
   217     cBits:= 32;
   217     cBits:= 32;
       
   218     cTimerInterval:= 8;
       
   219 {$IFDEF ANDROID}
       
   220     PathPrefix:= gameArgs[11];
       
   221     cFullScreen:= true;
       
   222 {$ELSE}
       
   223     PathPrefix:= 'Data';
   218     cFullScreen:= false;
   224     cFullScreen:= false;
   219     cTimerInterval:= 8;
   225 {$ENDIF}
   220     PathPrefix:= '/sdcard/Data';
       
   221     UserPathPrefix:= '.';
   226     UserPathPrefix:= '.';
   222     cShowFPS:= {$IFDEF DEBUGFILE}true{$ELSE}false{$ENDIF};
   227     cShowFPS:= {$IFDEF DEBUGFILE}true{$ELSE}false{$ENDIF};
   223     val(gameArgs[0], ipcPort);
   228     val(gameArgs[0], ipcPort);
   224     val(gameArgs[1], cScreenWidth);
   229     val(gameArgs[1], cScreenWidth);
   225     val(gameArgs[2], cScreenHeight);
   230     val(gameArgs[2], cScreenHeight);