hedgewars/uWorld.pas
changeset 12831 1fbc0d5a82d0
parent 12793 575c0de98505
child 12890 9c259fb4d405
child 13018 0248cf0da834
child 13224 01ab48b253ef
equal deleted inserted replaced
12830:ffa905c96dd8 12831:1fbc0d5a82d0
  2012     end;
  2012     end;
  2013 end;
  2013 end;
  2014 
  2014 
  2015 procedure updateCursorVisibility;
  2015 procedure updateCursorVisibility;
  2016 begin
  2016 begin
  2017     if isPaused or isAFK or (GameState = gsConfirm) then
  2017     if isPaused or isAFK then
  2018         uCursor.setSystemCursor(true)
  2018         SDL_ShowCursor(1)
  2019     else
  2019     else
  2020         uCursor.setSystemCursor(false);
  2020         SDL_ShowCursor(ord(GameState = gsConfirm))
  2021 end;
  2021 end;
  2022 
  2022 
  2023 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  2023 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  2024 begin
  2024 begin
  2025 {$IFDEF USE_TOUCH_INTERFACE}
  2025 {$IFDEF USE_TOUCH_INTERFACE}