hedgewars/uWorld.pas
changeset 14307 8d2983ff939b
parent 14304 5cff42e1dd92
child 14308 2978d6405d88
equal deleted inserted replaced
14306:8fc6ac47f00a 14307:8d2983ff939b
   361         end;
   361         end;
   362     end;
   362     end;
   363 
   363 
   364 with pauseButton do
   364 with pauseButton do
   365     begin
   365     begin
   366     show:= true;
   366     show:= gameType <> gmtNet;
   367     sprite:= sprPauseButton;
   367     sprite:= sprPauseButton;
   368     frame.w:= Round(spritesData[sprPauseButton].Texture^.w * buttonScale);
   368     frame.w:= Round(spritesData[sprPauseButton].Texture^.w * buttonScale);
   369     frame.h:= Round(spritesData[sprPauseButton].Texture^.h * buttonScale);
   369     frame.h:= Round(spritesData[sprPauseButton].Texture^.h * buttonScale);
   370     frame.x:= cScreenWidth div 2 - frame.w;
   370     frame.x:= cScreenWidth div 2 - frame.w;
   371     frame.y:= 0;
   371     frame.y:= 0;
  1653 if isCursorVisible and bShowAmmoMenu then
  1653 if isCursorVisible and bShowAmmoMenu then
  1654     DrawSprite(sprArrow, CursorPoint.X, cScreenHeight - CursorPoint.Y, (RealTicks shr 6) mod 8);
  1654     DrawSprite(sprArrow, CursorPoint.X, cScreenHeight - CursorPoint.Y, (RealTicks shr 6) mod 8);
  1655 
  1655 
  1656 // FPS and demo replay time
  1656 // FPS and demo replay time
  1657 {$IFDEF USE_TOUCH_INTERFACE}
  1657 {$IFDEF USE_TOUCH_INTERFACE}
  1658 offsetX:= pauseButton.frame.y + pauseButton.frame.h + 12;
  1658 if pauseButton.show then
       
  1659     offsetX:= pauseButton.frame.y + pauseButton.frame.h + 12
       
  1660 else
       
  1661     offsetX:= 10;
  1659 {$ELSE}
  1662 {$ELSE}
  1660 offsetX:= 10;
  1663 offsetX:= 10;
  1661 {$ENDIF}
  1664 {$ENDIF}
  1662 offsetY:= cOffsetY;
  1665 offsetY:= cOffsetY;
  1663 if (RM = rmDefault) or (RM = rmRightEye) then
  1666 if (RM = rmDefault) or (RM = rmRightEye) then