Summary: | Add option to not disallow adjacent ships | ||
---|---|---|---|
Product: | [Applications] knavalbattle | Reporter: | Richard Hartmann <richih-kde> |
Component: | general | Assignee: | Paolo Capriotti <p.capriotti> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | brendan |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/knavalbattle/411cdc90ee801825f8b96b9d1e87b225b90f117e | Version Fixed In: | 4.11.0 |
Description
Richard Hartmann
2008-08-07 20:54:11 UTC
I haven't known of a rule like this before though I can see how it might add variety to the game. Git commit 411cdc90ee801825f8b96b9d1e87b225b90f117e by Jaime Torres. Committed on 10/03/2013 at 10:25. Pushed by jtamate into branch 'master'. implement the possibility of non adjacent ships Before, the only game option was to play with adjacent ships. Now it is possible to choose between the two options, adjacent or not, including the network games. The game mode can not be changed in the middle of a battle. The local user settings are not affected by a network game. Both players will play the same game type, but after that, the local options will apply for new local games. FIXED-IN: 11.0 REVIEW: 106772 GUI: There is a new settings menu entry (Adjacent ships) M +38 -6 src/battlefield.cpp M +5 -5 src/battlefield.h M +3 -2 src/controller.cpp M +6 -5 src/controller.h M +4 -0 src/kbattleship.kcfg M +5 -1 src/kbattleshipui.rc M +6 -0 src/mainwindow.cpp M +9 -0 src/message.cpp M +39 -23 src/message.h M +20 -0 src/networkentity.cpp M +7 -1 src/playfield.cpp M +2 -1 src/playfield.h M +14 -1 src/protocol.cpp M +9 -3 src/sea.cpp M +7 -5 src/sea.h M +30 -0 src/ship.cpp http://commits.kde.org/knavalbattle/411cdc90ee801825f8b96b9d1e87b225b90f117e |