1. 28 Dec, 2013 1 commit
  2. 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.
      65be5130
    • 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.
      2bb909c2
    • 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
      NewGameDlg::slotNewOwner().
      
      This is implemented in Konquest 2.1.
      
      BUG: 329163
      FIXED-IN: 4.11.5
      (cherry picked from commit 238c8f3f)
      81b30322
    • Alexander Schuch's avatar
      Rename variables. · ec39b306
      Alexander Schuch authored
      Rename m_score* into m_standings* for standings dialogue and table.
      ec39b306
    • 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.
      810ee307
  3. 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
      GUI:
      247de7bc
    • 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)
      0affa342
    • 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
      GUI:
      0af7f515
  4. 08 Dec, 2013 1 commit
  5. 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)
      c53883f6
  6. 30 Nov, 2013 1 commit
  7. 25 Nov, 2013 2 commits
  8. 24 Nov, 2013 2 commits
    • Alexander Schuch's avatar
      Remove unused code. · 90ab2865
      Alexander Schuch authored
      90ab2865
    • 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
      GUI:
      6e75b6b2
  9. 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.
      5c1f601b
  10. 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.
      190bcc6d
    • Alexander Schuch's avatar
      Update version number. · dfd0f8e9
      Alexander Schuch authored
      Update version number from 2.1 to 2.3 and update copyright year.
      dfd0f8e9
    • 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
      GUI:
      7b70db84
  11. 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
      GUI:
      814a1368
  12. 07 Nov, 2013 2 commits
  13. 30 Oct, 2013 3 commits
  14. 27 Oct, 2013 1 commit
  15. 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
      400ae70d
  16. 24 Oct, 2013 1 commit
  17. 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
      production.
      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.
      REVIEW:112747
      2349a7c1
    • 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).
      REVIEW:113113
      447d9b1d
  18. 19 Oct, 2013 1 commit
  19. 18 Oct, 2013 1 commit
  20. 10 Oct, 2013 5 commits
  21. 04 Aug, 2013 1 commit
  22. 06 May, 2013 1 commit