1. 27 Jul, 2017 1 commit
    • Julian Helfferich's avatar
      Fix incorrect resize before game is started · 6ee61601
      Julian Helfferich authored
      When the game window is resized before a game is started, the game scene is not correctly rescaled. When starting the game it might be too small (it seems never to be too large).
      
      This commit fixes the bug by triggering a fitInView() call of the gameView. The same function is triggered by a resize event.
      
      BUGS: 380464
      REVIEW: 130167
      6ee61601
  2. 13 Mar, 2017 1 commit
  3. 29 Mar, 2016 1 commit
  4. 28 Mar, 2016 1 commit
    • Julian Helfferich's avatar
      Stop playing sounds when game is paused · 06831e32
      Julian Helfferich authored
      KBlocksWin now tells the AIPlayer and the KeyboardPlayer when the game
      is paused and resumed. The pauseGame() functions are already available
      for the two classes, but they have not been used yet.
      
      REVIEW: 127489
      06831e32
  5. 22 Mar, 2016 1 commit
    • Julian Helfferich's avatar
      Activate sounds in KBlocks · d8d4f559
      Julian Helfferich authored
      Activate sounds making use of the new KgSound system. Sounds are played
      only for the human (keyboard) player. Keyboard input is connected to
      the game scene which owns an instance of KBlocksSound playing the
      sounds.
      
      BUG: 319372
      FIXED-IN: KDE Applications 16.04
      
      REVIEW: 127370
      d8d4f559
  6. 28 Feb, 2016 1 commit
    • Julian Helfferich's avatar
      Fix unplayable game when changing difficulty · 145820a7
      Julian Helfferich authored
      Previously, changing the difficulty before the first game was started
      by selecting "Single Game" or "Human vs. AI" started an unplayable
      game.
      
      Now, levelChanged() calls singleGame() or pveStepGame() instead of
      startGame(). These functions are also called when selecting "Single
      Game" or "Human vs. AI", respectively, and correctly connect keyboard
      events to the game.
      
      BUG: 339038
      REVIEW: 127171
      145820a7
  7. 23 Feb, 2016 1 commit
    • Julian Helfferich's avatar
      Disable pause button when game stops · a08ba94a
      Julian Helfferich authored
      Previously, the pause button remained enabled even when no game was
      running. Only when it was pressed, KBlocks checked if a game was running
      and disabled the button if not.
      
      Now, a signal is emitted when the game stops and the pause button is
      disabled right away.
      
      REVIEW: 126788
      a08ba94a
  8. 10 Jan, 2016 1 commit
  9. 17 Dec, 2015 1 commit
    • Julian Helfferich's avatar
      Deactivate pause button when no game is running · 6879ab00
      Julian Helfferich authored
      Before, the pause button was always activated even when no game was
      running. This lead to undesired behavior, e.g. making it necessary to
      press the pause button twice to pause the game.
      
      With this fix, the pause button is deactivated on startup. The button
      gets activated when a game is started and when the button is pressed, it
      checks whether there is a running game.
      
      BUG: 264088
      REVIEW: 126200
      6879ab00
  10. 28 Oct, 2015 1 commit
  11. 07 Feb, 2015 1 commit
  12. 29 Jan, 2015 1 commit
  13. 18 Jan, 2015 1 commit
  14. 14 Dec, 2014 1 commit
  15. 09 Dec, 2014 1 commit
  16. 04 Dec, 2014 1 commit
  17. 13 Sep, 2014 2 commits
  18. 27 Apr, 2014 1 commit
  19. 01 May, 2012 1 commit
  20. 07 Mar, 2012 1 commit
  21. 31 Jul, 2011 1 commit
  22. 30 May, 2011 1 commit
  23. 16 Mar, 2011 1 commit
  24. 25 Sep, 2010 1 commit
  25. 13 Apr, 2010 1 commit
  26. 13 Jan, 2010 1 commit
  27. 02 Dec, 2009 1 commit
  28. 30 Nov, 2009 1 commit