1. 12 Jan, 2014 1 commit
    • Alexander Schuch's avatar
      Update default theme SVGZ. · 9cc27c23
      Alexander Schuch authored
      The element "screen" has a transparent bar at the upper edge. The code
      tries to hide this bar by adjusting the shown area.
      This patch removes that transparent bar from the element. As the board is
      always aligned to the top of the viewport, a change is not visible right
      now. However, the SVGZ file now is compressed, so its size now is about
      80 kB rather than 1274 kB.
      Thanks to Ian Wadham for the updated theme.
  2. 04 Jan, 2014 2 commits
    • Alexander Schuch's avatar
      Update source code formatting. · a39578ec
      Alexander Schuch authored
    • Alexander Schuch's avatar
      Clean up code. · 86f04f58
      Alexander Schuch authored
      The method MapScene::displayPlanetInfo(Planet*, QPointF&) is public but is
      wrapped by MapScene::displayPlanetInfo(Planet*) already. Make the
      "internal" method private and update the calls of it to the public method.
  3. 03 Jan, 2014 1 commit
    • Alexander Schuch's avatar
      Update some general documentation. · a9154f8f
      Alexander Schuch authored
      Remove the totally outdated and not maintained changelog file. Remove
      information about already removed files and refactored code. Add link
      to original download page using the Wayback Machine.
  4. 28 Dec, 2013 1 commit
  5. 24 Dec, 2013 5 commits
    • Alexander Schuch's avatar
      Update source code formatting. · 65be5130
      Alexander Schuch authored
      The source code uses many different formatting styles. This is a very
      early attempt to harmonise the formatting: Remove trailing spaces, put
      method return data type on a separate line, remove spaces right after
      and right before brackets and so on.
    • Alexander Schuch's avatar
      Clean up code. · 2bb909c2
      Alexander Schuch authored
      As MiniMapView::hasSelection() now properly checks for a valid selection,
      there is no need anymore to repeat that condition.
    • Alexander Schuch's avatar
      Properly check for a valid selection in minimap. · 81b30322
      Alexander Schuch authored
      Changing the dimensions of the map in game setup dialogue recreates the
      game board. The sector selection is kept. However, the selection might
      become invalid if the game board shrinks and the selection is not on the
      board anymore. Adding a new player to the game will then result in
      checking a sector outside the game board (NULL is returned), so that
      a method is invoked on a NULL pointer, leading to a crash - see
      This is implemented in Konquest 2.1.
      BUG: 329163
      FIXED-IN: 4.11.5
      (cherry picked from commit 238c8f3f)
    • Alexander Schuch's avatar
      Rename variables. · ec39b306
      Alexander Schuch authored
      Rename m_score* into m_standings* for standings dialogue and table.
    • Alexander Schuch's avatar
      Show player colour in standings overview. · 810ee307
      Alexander Schuch authored
      The standings overview is much easier to read now as next to the player
      name, the player colour is shown. If multiple players have the same name,
      they now can be distinguished in the standings overview.
  6. 23 Dec, 2013 3 commits
    • Alexander Schuch's avatar
      Group messages by turn number. · 247de7bc
      Alexander Schuch authored
      All messages logged to the messages dock now are grouped by turn number
      for faster visual recognition.
      REVIEW: 113929
    • Alexander Schuch's avatar
      Exit loop as soon as result cannot change anymore. · 0affa342
      Alexander Schuch authored
      The default AI iterates over all own fleets when trying to find a target
      planet which does not yet have an own incoming fleet. As soon as an own
      incoming fleet is found, the loop can abort as checking the remaining
      fleets won't change the result anymore.
      (cherry picked from commit 489f0275)
    • Alexander Schuch's avatar
      Add production and fleet size to standings. · 0af7f515
      Alexander Schuch authored
      The standings overview now contains the current production and the overall
      fleet size (planet defence plus attacking fleets) of each player.
      This is implemented in Konquest 2.3.
      FEATURE: 301140
      FIXED-IN: 4.13
      REVIEW: 113914
  7. 08 Dec, 2013 1 commit
  8. 07 Dec, 2013 1 commit
    • Alexander Schuch's avatar
      Disable planet owner combo box if required. · c53883f6
      Alexander Schuch authored
      Changing the owner of a planet in new game dialogue currently crashes if
      the selected planet moves off the map due to a resize. Steps to reproduce
      are in the bug report. This patch makes owner combo box follow same rules
      for enabling as production and kill percentage.
      Patched by Michael Reeves.
      This is implemented in Konquest 2.1.
      BUG: 328236
      FIXED-IN: 4.11
      REVIEW: 114232
      (cherry picked from commit c937b221)
      (cherry picked from commit 285d5ea5)
  9. 30 Nov, 2013 1 commit
  10. 25 Nov, 2013 2 commits
  11. 24 Nov, 2013 2 commits
    • Alexander Schuch's avatar
      Remove unused code. · 90ab2865
      Alexander Schuch authored
    • Alexander Schuch's avatar
      Make "current standings" dialogue dockable. · 6e75b6b2
      Alexander Schuch authored
      The dialogue "current standings" is replaced by a dockable widget. This way
      the player is able to see the standings all the time without the need to
      open/close the dialogue at the beginning of each turn.
      The dockable widget can also be made floating, so it can be used almost the
      same as the modal dialogue before.
      REVIEW: 113782
  12. 19 Nov, 2013 1 commit
    • Pierre Ducroquet's avatar
      Use a menu in new game dialog · 5c1f601b
      Pierre Ducroquet authored
      This changes makes user mode selection much more obvious for anyone.
      I received complains that this was not easily understandable, hence
      this change.
  13. 16 Nov, 2013 3 commits
    • Alexander Schuch's avatar
      Make constructor explicit. · 190bcc6d
      Alexander Schuch authored
      Mark constructor of class "PlanetInfoItem" explicit. This fixes a Krazy issue.
    • Alexander Schuch's avatar
      Update version number. · dfd0f8e9
      Alexander Schuch authored
      Update version number from 2.1 to 2.3 and update copyright year.
    • Alexander Schuch's avatar
      Make messages list dockable. · 7b70db84
      Alexander Schuch authored
      The messages list was always visible and always at the bottom of the game
      view. It now is a dockable widget which can be moved to any edge of the
      window or even made floating, or closed altogether.
      REVIEW: 113596
  14. 10 Nov, 2013 1 commit
    • Alexander Schuch's avatar
      Improve "end turn" action handling. · 814a1368
      Alexander Schuch authored
      The recently added KStandardGameAction::endTurn() action now has an own
      default shortcut of Ctrl+E. The button is added to the toolbar by default.
      Furthermore, the "end turn" button now is enabled/disabled depending on the
      game state. It no longer is possible to end the turn while in the middle of
      a send fleet command sequence.
      Use the very same condition for enabling/disabling the custom "end turn"
      button and the "end turn" action. This required some code cleanup.
      The custom palette for the game board now colours disabled elements darker
      so that they actually look disabled.
      REVIEW: 113528
  15. 07 Nov, 2013 2 commits
  16. 30 Oct, 2013 3 commits
  17. 27 Oct, 2013 1 commit
  18. 25 Oct, 2013 1 commit
    • Alexander Schuch's avatar
      fix AI player controller name · 400ae70d
      Alexander Schuch authored
      The name should be "Default (Defensive)" so the relative "Hard" is not used. Furthermore it should match the term used in the handbook.
      This inconsistency was introduced in 2349a7c1.
      REVIEW: 113410
  19. 24 Oct, 2013 1 commit
  20. 23 Oct, 2013 2 commits
    • Alexander Schuch's avatar
      Becai now plays quite well against Default Normal and Default Hard in · 2349a7c1
      Alexander Schuch authored
      nearly all situations - 1on1 and FFA. It is mainly tested in games with
      two other players, 22x22 board with 40 neutral planets with 0-2 neutral
      It works nicely in cumulative games as well.
      The only known "issue" is that it uses neutral kill percentage for
      target selection even in blind games, where the player cannot see the
      kill percentage.
    • Alexander Schuch's avatar
      For AI development it is useful to watch the AIs play. This patch adds a · 447d9b1d
      Alexander Schuch authored
      new local human spectator player controller which does not have any
      planets and does not count as active player.
      In case all selected player controllers are spectators, or only one
      non-spectating player controller is set, consider the match as
      spectator-only and reject it as there is either no winner at all, or the
      winner is known already (the only non-spectating player).
  21. 19 Oct, 2013 1 commit
  22. 18 Oct, 2013 1 commit
  23. 10 Oct, 2013 3 commits