[Freeciv-commits] r29471 - in /trunk/server: savecompat.c unithand.c

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:29:56 2015 New Revision: 29471 URL: http://svn.gna.org/viewcvs/freeciv?rev=29471view=rev Log: orders system: support the Join City action See patch #6219 Modified: trunk/server/savecompat.c trunk/server/unithand.c Modified: trunk/server/savecompat.c

[Freeciv-commits] r29468 - in /trunk: ./ common/ server/

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:28:51 2015 New Revision: 29468 URL: http://svn.gna.org/viewcvs/freeciv?rev=29468view=rev Log: orders system: replace ORDER_TRADE_ROUTE with ORDER_PERFORM_ACTION See patch #6216 Modified: trunk/common/unit.h trunk/fc_version

[Freeciv-commits] r29473 - in /trunk/server: savecompat.c savegame3.c

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:30:52 2015 New Revision: 29473 URL: http://svn.gna.org/viewcvs/freeciv?rev=29473view=rev Log: Fix join foreign city order upgrade The code that upgrades ORDER_BUILD_CITY to ORDER_PERFORM_ACTION was written with pre version 3 save games in mind. The rule that

[Freeciv-commits] r29467 - in /trunk/server: savecompat.c unithand.c

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:28:31 2015 New Revision: 29467 URL: http://svn.gna.org/viewcvs/freeciv?rev=29467view=rev Log: orders system: support the Establish Trade Route action See patch #6215 Modified: trunk/server/savecompat.c trunk/server/unithand.c Modified:

[Freeciv-commits] r29470 - in /trunk: common/actions.c common/unit.c common/unit.h doc/README.actions fc_version server/unithand.c

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:29:38 2015 New Revision: 29470 URL: http://svn.gna.org/viewcvs/freeciv?rev=29470view=rev Log: Allow joining cities at the neighbor tile This allows rulesets to let units join non allied cities. See patch #6218 Modified: trunk/common/actions.c

[Freeciv-commits] r29469 - in /trunk: common/unit.c common/unit.h server/cityhand.c server/unithand.c

2015-08-12 Thread sveinung84
Author: sveinung Date: Wed Aug 12 12:29:04 2015 New Revision: 29469 URL: http://svn.gna.org/viewcvs/freeciv?rev=29469view=rev Log: Split the hard coded join and found city requirements from each other Found City and Join City are different actions. Split their hard coded requirements in two

[Freeciv-commits] r29436 - /trunk/client/helpdata.c

2015-08-09 Thread sveinung84
Author: sveinung Date: Mon Aug 10 04:19:41 2015 New Revision: 29436 URL: http://svn.gna.org/viewcvs/freeciv?rev=29436view=rev Log: Help: use cache to figure out if a unit type can perform an action See patch #6197 Modified: trunk/client/helpdata.c Modified: trunk/client/helpdata.c URL:

[Freeciv-commits] r29437 - in /branches/S2_5: common/ server/

2015-08-10 Thread sveinung84
Author: sveinung Date: Mon Aug 10 16:06:25 2015 New Revision: 29437 URL: http://svn.gna.org/viewcvs/freeciv?rev=29437view=rev Log: Don't break unique unit rules via unit transfer See bug #23758 Modified: branches/S2_5/common/unittype.c branches/S2_5/common/unittype.h

[Freeciv-commits] r29438 - /branches/S2_5/server/citytools.c

2015-08-10 Thread sveinung84
Author: sveinung Date: Mon Aug 10 16:06:32 2015 New Revision: 29438 URL: http://svn.gna.org/viewcvs/freeciv?rev=29438view=rev Log: Try to save an untransferable game loss unit See bug #23691 Modified: branches/S2_5/server/citytools.c Modified: branches/S2_5/server/citytools.c URL:

[Freeciv-commits] r29496 - /trunk/server/unithand.c

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:04:57 2015 New Revision: 29496 URL: http://svn.gna.org/viewcvs/freeciv?rev=29496view=rev Log: orders system: support the Enter Marketplace action See patch #6225 Modified: trunk/server/unithand.c Modified: trunk/server/unithand.c URL:

[Freeciv-commits] r29497 - in /trunk: ai/default/aicity.c common/actions.c common/actions.h server/ruleset.c

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:05:05 2015 New Revision: 29497 URL: http://svn.gna.org/viewcvs/freeciv?rev=29497view=rev Log: Replace gen_action_is_valid() Add the new function action_id_is_valid(). It checks if an action ID is valid. Have it replace all calls to gen_action_is_valid(). See

[Freeciv-commits] r29498 - /trunk/server/unithand.c

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:05:10 2015 New Revision: 29498 URL: http://svn.gna.org/viewcvs/freeciv?rev=29498view=rev Log: orders system: support the Investigate City action See patch #6227 Modified: trunk/server/unithand.c Modified: trunk/server/unithand.c URL:

[Freeciv-commits] r29495 - in /trunk/common: actions.c actions.h

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:04:50 2015 New Revision: 29495 URL: http://svn.gna.org/viewcvs/freeciv?rev=29495view=rev Log: Tell if the actions are ready for use Add the new function actions_are_ready() to make it easy to test if the actions are completely initialized. See patch #6224

[Freeciv-commits] r29499 - in /trunk/server: unithand.c unithand.h unittools.c

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:05:15 2015 New Revision: 29499 URL: http://svn.gna.org/viewcvs/freeciv?rev=29499view=rev Log: orders system: explain known illegal action A perform action order can be canceled if the player has enough information to know that the ordered action is illegal.

[Freeciv-commits] r29500 - in /branches/S2_6/common: actions.c actions.h

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:08:51 2015 New Revision: 29500 URL: http://svn.gna.org/viewcvs/freeciv?rev=29500view=rev Log: Tell if the actions are ready for use Add the new function actions_are_ready() to make it easy to test if the actions are completely initialized. See patch #6224

[Freeciv-commits] r29501 - in /branches/S2_6: ai/default/aicity.c common/actions.c common/actions.h server/ruleset.c

2015-08-14 Thread sveinung84
Author: sveinung Date: Fri Aug 14 15:08:58 2015 New Revision: 29501 URL: http://svn.gna.org/viewcvs/freeciv?rev=29501view=rev Log: Replace gen_action_is_valid() Add the new function action_id_is_valid(). It checks if an action ID is valid. Have it replace all calls to gen_action_is_valid(). See

[Freeciv-commits] r29250 - /trunk/common/actions.c

2015-07-27 Thread sveinung84
Author: sveinung Date: Mon Jul 27 16:38:49 2015 New Revision: 29250 URL: http://svn.gna.org/viewcvs/freeciv?rev=29250view=rev Log: Comment spell fix. Modified: trunk/common/actions.c Modified: trunk/common/actions.c URL:

[Freeciv-commits] r29251 - in /trunk/data: alien/ civ1/ civ2/ civ2civ3/ classic/ experimental/ multiplayer/ stub/

2015-07-27 Thread sveinung84
Author: sveinung Date: Mon Jul 27 19:13:21 2015 New Revision: 29251 URL: http://svn.gna.org/viewcvs/freeciv?rev=29251view=rev Log: Remove outdated ruleset comment Hard requirements haven't been auto appended to action enablers since patch #4997 Modified: trunk/data/alien/game.ruleset

[Freeciv-commits] r29241 - in /trunk: ./ ai/default/ client/ client/gui-gtk-2.0/ client/gui-gtk-3.0/ client/gui-qt/ client/gui-sdl/ client/gui...

2015-07-24 Thread sveinung84
Author: sveinung Date: Fri Jul 24 15:08:57 2015 New Revision: 29241 URL: http://svn.gna.org/viewcvs/freeciv?rev=29241view=rev Log: Make Explode Nuclear action enabler controlled See patch #6139 Modified: trunk/ai/default/advmilitary.c trunk/ai/default/aicity.c trunk/client/control.c

[Freeciv-commits] r29235 - in /trunk: client/gui-xaw/action_dialog.c data/Freeciv.in

2015-07-21 Thread sveinung84
Author: sveinung Date: Wed Jul 22 02:23:40 2015 New Revision: 29235 URL: http://svn.gna.org/viewcvs/freeciv?rev=29235view=rev Log: Xaw client: support the Suitcase Nuke spy action See patch #6137 Modified: trunk/client/gui-xaw/action_dialog.c trunk/data/Freeciv.in Modified:

[Freeciv-commits] r29234 - in /trunk/client: gui-sdl/action_dialog.c gui-sdl2/action_dialog.c

2015-07-21 Thread sveinung84
Author: sveinung Date: Wed Jul 22 02:23:33 2015 New Revision: 29234 URL: http://svn.gna.org/viewcvs/freeciv?rev=29234view=rev Log: SDL clients: support the Suitcase Nuke spy action See patch #6136 Modified: trunk/client/gui-sdl/action_dialog.c trunk/client/gui-sdl2/action_dialog.c

[Freeciv-commits] r29240 - in /trunk/client: gui-sdl/action_dialog.c gui-sdl2/action_dialog.c

2015-07-23 Thread sveinung84
Author: sveinung Date: Thu Jul 23 16:48:51 2015 New Revision: 29240 URL: http://svn.gna.org/viewcvs/freeciv?rev=29240view=rev Log: SDL clients: target kinds units and tile aren't unknown Insert missing break in action target kind handling. See bug #23705 Modified:

[Freeciv-commits] r29237 - /trunk/server/unithand.c

2015-07-22 Thread sveinung84
Author: sveinung Date: Wed Jul 22 16:08:17 2015 New Revision: 29237 URL: http://svn.gna.org/viewcvs/freeciv?rev=29237view=rev Log: If a unit is nuclear is irrelevant in unit_bombard() See bug #23703 Modified: trunk/server/unithand.c Modified: trunk/server/unithand.c URL:

[Freeciv-commits] r29236 - /trunk/server/unithand.c

2015-07-22 Thread sveinung84
Author: sveinung Date: Wed Jul 22 16:08:11 2015 New Revision: 29236 URL: http://svn.gna.org/viewcvs/freeciv?rev=29236view=rev Log: Separate nuclear attack handling from regular attack handling Move the code that deals with regular nuclear attacks from unit_attack_handling() to the new function

[Freeciv-commits] r29238 - /branches/S2_6/server/unithand.c

2015-07-22 Thread sveinung84
Author: sveinung Date: Wed Jul 22 16:08:55 2015 New Revision: 29238 URL: http://svn.gna.org/viewcvs/freeciv?rev=29238view=rev Log: If a unit is nuclear is irrelevant in unit_bombard() See bug #23703 Modified: branches/S2_6/server/unithand.c Modified: branches/S2_6/server/unithand.c URL:

[Freeciv-commits] r29239 - /branches/S2_5/server/unithand.c

2015-07-22 Thread sveinung84
Author: sveinung Date: Wed Jul 22 16:09:32 2015 New Revision: 29239 URL: http://svn.gna.org/viewcvs/freeciv?rev=29239view=rev Log: If a unit is nuclear is irrelevant in unit_bombard() See bug #23703 Modified: branches/S2_5/server/unithand.c Modified: branches/S2_5/server/unithand.c URL:

[Freeciv-commits] r29217 - /branches/S2_5/server/citytools.c

2015-07-13 Thread sveinung84
Author: sveinung Date: Mon Jul 13 15:54:48 2015 New Revision: 29217 URL: http://svn.gna.org/viewcvs/freeciv?rev=29217view=rev Log: Comment: Explain why a dying unit shouldn't be bounced. Modified: branches/S2_5/server/citytools.c Modified: branches/S2_5/server/citytools.c URL:

[Freeciv-commits] r29216 - /branches/S2_6/server/citytools.c

2015-07-13 Thread sveinung84
Author: sveinung Date: Mon Jul 13 15:54:29 2015 New Revision: 29216 URL: http://svn.gna.org/viewcvs/freeciv?rev=29216view=rev Log: Comment: Explain why a dying unit shouldn't be bounced. Modified: branches/S2_6/server/citytools.c Modified: branches/S2_6/server/citytools.c URL:

[Freeciv-commits] r29215 - /trunk/server/citytools.c

2015-07-13 Thread sveinung84
Author: sveinung Date: Mon Jul 13 15:54:09 2015 New Revision: 29215 URL: http://svn.gna.org/viewcvs/freeciv?rev=29215view=rev Log: Comment: Explain why a dying unit shouldn't be bounced. Modified: trunk/server/citytools.c Modified: trunk/server/citytools.c URL:

[Freeciv-commits] r29218 - /trunk/server/citytools.c

2015-07-15 Thread sveinung84
Author: sveinung Date: Wed Jul 15 14:33:21 2015 New Revision: 29218 URL: http://svn.gna.org/viewcvs/freeciv?rev=29218view=rev Log: Don't reveal dying units during city transfer. See bug #23684 Modified: trunk/server/citytools.c Modified: trunk/server/citytools.c URL:

[Freeciv-commits] r29219 - /branches/S2_6/server/citytools.c

2015-07-15 Thread sveinung84
Author: sveinung Date: Wed Jul 15 14:33:59 2015 New Revision: 29219 URL: http://svn.gna.org/viewcvs/freeciv?rev=29219view=rev Log: Don't reveal dying units during city transfer. See bug #23684 Modified: branches/S2_6/server/citytools.c Modified: branches/S2_6/server/citytools.c URL:

[Freeciv-commits] r29220 - /branches/S2_5/server/citytools.c

2015-07-15 Thread sveinung84
Author: sveinung Date: Wed Jul 15 14:34:22 2015 New Revision: 29220 URL: http://svn.gna.org/viewcvs/freeciv?rev=29220view=rev Log: Don't reveal dying units during city transfer. See bug #23684 Modified: branches/S2_5/server/citytools.c Modified: branches/S2_5/server/citytools.c URL:

[Freeciv-commits] r29223 - /branches/S2_6/server/rssanity.c

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 13:01:01 2015 New Revision: 29223 URL: http://svn.gna.org/viewcvs/freeciv?rev=29223view=rev Log: Sanity check: a unit capable of bombardment has a bombard_rate See patch #6128 Modified: branches/S2_6/server/rssanity.c Modified:

[Freeciv-commits] r29222 - /trunk/server/rssanity.c

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 13:00:36 2015 New Revision: 29222 URL: http://svn.gna.org/viewcvs/freeciv?rev=29222view=rev Log: Sanity check: a unit capable of bombardment has a bombard_rate See patch #6128 Modified: trunk/server/rssanity.c Modified: trunk/server/rssanity.c URL:

[Freeciv-commits] r29221 - in /trunk: client/gui-xaw/action_dialog.c data/Freeciv.in

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 13:00:28 2015 New Revision: 29221 URL: http://svn.gna.org/viewcvs/freeciv?rev=29221view=rev Log: Xaw client: support the Steal Maps spy action. See patch #6129 Modified: trunk/client/gui-xaw/action_dialog.c trunk/data/Freeciv.in Modified:

[Freeciv-commits] r29227 - in /trunk: client/gui-xaw/action_dialog.c data/Freeciv.in

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 15:33:48 2015 New Revision: 29227 URL: http://svn.gna.org/viewcvs/freeciv?rev=29227view=rev Log: Xaw client: support bombard as action. See patch #6132 Modified: trunk/client/gui-xaw/action_dialog.c trunk/data/Freeciv.in Modified:

[Freeciv-commits] r29224 - in /trunk: ./ ai/default/ client/ client/gui-gtk-2.0/ client/gui-gtk-3.0/ client/gui-qt/ client/gui-sdl/ client/gui...

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 15:33:27 2015 New Revision: 29224 URL: http://svn.gna.org/viewcvs/freeciv?rev=29224view=rev Log: Make bombardment action enabler controlled. See patch #5610 Modified: trunk/ai/default/aiair.c trunk/ai/default/aicity.c trunk/ai/default/aitools.c

[Freeciv-commits] r29225 - /trunk/client/gui-qt/dialogs.cpp

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 15:33:37 2015 New Revision: 29225 URL: http://svn.gna.org/viewcvs/freeciv?rev=29225view=rev Log: Qt client: support bombardment as action. See patch #6130 Modified: trunk/client/gui-qt/dialogs.cpp Modified: trunk/client/gui-qt/dialogs.cpp URL:

[Freeciv-commits] r29226 - in /trunk/client: gui-sdl/action_dialog.c gui-sdl2/action_dialog.c

2015-07-19 Thread sveinung84
Author: sveinung Date: Sun Jul 19 15:33:42 2015 New Revision: 29226 URL: http://svn.gna.org/viewcvs/freeciv?rev=29226view=rev Log: SDL clients: support bombardment as action. See patch #6131 Modified: trunk/client/gui-sdl/action_dialog.c trunk/client/gui-sdl2/action_dialog.c Modified:

[Freeciv-commits] r29228 - in /trunk: client/ common/ data/alien/ data/civ2civ3/ doc/ server/

2015-07-20 Thread sveinung84
Author: sveinung Date: Mon Jul 20 10:04:25 2015 New Revision: 29228 URL: http://svn.gna.org/viewcvs/freeciv?rev=29228view=rev Log: Unhardcode the ocean tiles can't be bombarded rule Requested by Jacob Nevins jtn See bug #22713 Modified: trunk/client/helpdata.c trunk/common/actions.c

[Freeciv-commits] r29229 - in /trunk: common/actions.c data/alien/game.ruleset data/civ2civ3/game.ruleset doc/README.actions server/rscompat.c

2015-07-20 Thread sveinung84
Author: sveinung Date: Mon Jul 20 10:04:33 2015 New Revision: 29229 URL: http://svn.gna.org/viewcvs/freeciv?rev=29229view=rev Log: Unhardcode the transported units can't bombard rule See patch #6133 Modified: trunk/common/actions.c trunk/data/alien/game.ruleset

[Freeciv-commits] r29230 - /trunk/common/actions.c

2015-07-21 Thread sveinung84
Author: sveinung Date: Tue Jul 21 15:46:55 2015 New Revision: 29230 URL: http://svn.gna.org/viewcvs/freeciv?rev=29230view=rev Log: Fix unit vs units action probability calculation Fix handling of special action probability values. See bug #23702 Modified: trunk/common/actions.c Modified:

[Freeciv-commits] r29232 - in /trunk: ./ ai/default/ client/gui-gtk-2.0/ client/gui-gtk-3.0/ common/ common/aicore/ data/ data/misc/ doc/ serv...

2015-07-21 Thread sveinung84
Author: sveinung Date: Tue Jul 21 16:15:47 2015 New Revision: 29232 URL: http://svn.gna.org/viewcvs/freeciv?rev=29232view=rev Log: Add the new spy unit action Suitcase Nuke The spy must defeat any defending diplomats and beat the diplchance odds. When successful a nuclear explosion occurs in the

[Freeciv-commits] r29233 - /trunk/client/gui-qt/dialogs.cpp

2015-07-21 Thread sveinung84
Author: sveinung Date: Tue Jul 21 16:16:06 2015 New Revision: 29233 URL: http://svn.gna.org/viewcvs/freeciv?rev=29233view=rev Log: Qt client: support the Suitcase Nuke spy action See patch #6135 Modified: trunk/client/gui-qt/dialogs.cpp Modified: trunk/client/gui-qt/dialogs.cpp URL:

[Freeciv-commits] r29673 - /branches/S2_6/data/alien/game.ruleset

2015-08-25 Thread sveinung84
Author: sveinung Date: Tue Aug 25 17:06:55 2015 New Revision: 29673 URL: http://svn.gna.org/viewcvs/freeciv?rev=29673view=rev Log: alien: force actions like before action enablers The alien ruleset allows allows trade route establishing. It used to be impossible to do Enter Marketplace when it

[Freeciv-commits] r29672 - /trunk/data/alien/game.ruleset

2015-08-25 Thread sveinung84
Author: sveinung Date: Tue Aug 25 17:06:25 2015 New Revision: 29672 URL: http://svn.gna.org/viewcvs/freeciv?rev=29672view=rev Log: alien: force actions like before action enablers The alien ruleset allows the attacks capture units and bombard. It also allows trade route establishing. Some units

[Freeciv-commits] r30203 - in /branches/S2_6/server: diplomats.c unithand.c

2015-10-24 Thread sveinung84
Author: sveinung Date: Sat Oct 24 23:37:38 2015 New Revision: 30203 URL: http://svn.gna.org/viewcvs/freeciv?rev=30203=rev Log: Make target/actor exists sanity checks asserts The checks that actor and target survived the Lua in the action doer functions are redundant because of the checks in

[Freeciv-commits] r30204 - in /branches/S2_6/server: savecompat.c savecompat.h savegame2.c

2015-10-24 Thread sveinung84
Author: sveinung Date: Sat Oct 24 23:37:46 2015 New Revision: 30204 URL: http://svn.gna.org/viewcvs/freeciv?rev=30204=rev Log: savegames: use stored diplstate_type order when loading save games. See patch #6468 Modified: branches/S2_6/server/savecompat.c

[Freeciv-commits] r30202 - in /trunk/server: savecompat.c savecompat.h savegame2.c savegame3.c

2015-10-24 Thread sveinung84
Author: sveinung Date: Sat Oct 24 23:33:23 2015 New Revision: 30202 URL: http://svn.gna.org/viewcvs/freeciv?rev=30202=rev Log: savegame: use stored diplstate_type order when loading save games. See patch #6468 Modified: trunk/server/savecompat.c trunk/server/savecompat.h

[Freeciv-commits] r30201 - in /trunk/server: diplomats.c unithand.c

2015-10-24 Thread sveinung84
Author: sveinung Date: Sat Oct 24 23:33:15 2015 New Revision: 30201 URL: http://svn.gna.org/viewcvs/freeciv?rev=30201=rev Log: Make target/actor exists sanity checks asserts The checks that actor and target survived the Lua in the action doer functions are redundant because of the checks in

[Freeciv-commits] r30182 - /branches/S2_6/server/diplomats.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:40:05 2015 New Revision: 30182 URL: http://svn.gna.org/viewcvs/freeciv?rev=30182=rev Log: Abort some actions on domestic target Have the action doer functions responsible for gold theft, city inciting and unit bribery abort if the target is domestic. Note

[Freeciv-commits] r30180 - /branches/S2_6/server/unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:39:48 2015 New Revision: 30180 URL: http://svn.gna.org/viewcvs/freeciv?rev=30180=rev Log: Remove unused trade route target finder The function do_unit_establish_trade() is never called without a target city. Remove the code that tries to find a target city at

[Freeciv-commits] r30181 - /branches/S2_6/server/unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:39:56 2015 New Revision: 30181 URL: http://svn.gna.org/viewcvs/freeciv?rev=30181=rev Log: Send actor and target, not id, to action doers Functions that have performing an action enabler controlled action as their only job should deal in actors and targets,

[Freeciv-commits] r30178 - /trunk/server/diplomats.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:39:05 2015 New Revision: 30178 URL: http://svn.gna.org/viewcvs/freeciv?rev=30178=rev Log: Abort some actions on domestic target Have the action doer functions responsible for map theft, gold theft, city inciting and unit bribery abort if the target is

[Freeciv-commits] r30175 - /trunk/server/unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:38:37 2015 New Revision: 30175 URL: http://svn.gna.org/viewcvs/freeciv?rev=30175=rev Log: Explicitly send target tile to city_build() rather than sending it implicitly (the actor unit's location). See patch #6461 Modified: trunk/server/unithand.c

[Freeciv-commits] r30176 - /trunk/server/unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:38:49 2015 New Revision: 30176 URL: http://svn.gna.org/viewcvs/freeciv?rev=30176=rev Log: Remove unused trade route target finder The function do_unit_establish_trade() is never called without a target city. Remove the code that tries to find a target city at

[Freeciv-commits] r30177 - /trunk/server/unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:38:58 2015 New Revision: 30177 URL: http://svn.gna.org/viewcvs/freeciv?rev=30177=rev Log: Send actor and target, not id, to action doers Functions that have performing an action enabler controlled action as their only job should deal in actors and targets,

[Freeciv-commits] r30179 - in /trunk/server: diplomats.c unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:39:13 2015 New Revision: 30179 URL: http://svn.gna.org/viewcvs/freeciv?rev=30179=rev Log: Don't get the id from a potentially dead struct Don't access a potentially dead city or unit to get its id number to check if it is alive. There is no way to know what

[Freeciv-commits] r30183 - in /branches/S2_6/server: diplomats.c unithand.c

2015-10-23 Thread sveinung84
Author: sveinung Date: Fri Oct 23 13:40:15 2015 New Revision: 30183 URL: http://svn.gna.org/viewcvs/freeciv?rev=30183=rev Log: Don't get the id from a potentially dead struct Don't access a potentially dead city or unit to get its id number to check if it is alive. There is no way to know what

[Freeciv-commits] r30155 - /trunk/server/unithand.c

2015-10-21 Thread sveinung84
Author: sveinung Date: Wed Oct 21 17:58:19 2015 New Revision: 30155 URL: http://svn.gna.org/viewcvs/freeciv?rev=30155=rev Log: Tile and units targets aren't invalid Insert missing break so tile targets and all units on tile targets don't run the code for invalid targets. (At the moment the code

[Freeciv-commits] r30156 - in /trunk: client/ client/gui-gtk-2.0/ client/gui-gtk-3.0/ client/gui-qt/ client/gui-sdl2/ common/ doc/ server/ ser...

2015-10-21 Thread sveinung84
Author: sveinung Date: Wed Oct 21 17:58:29 2015 New Revision: 30156 URL: http://svn.gna.org/viewcvs/freeciv?rev=30156=rev Log: Support enabler controlled actions with no target Some actions only have an effect on the actor it self. Make it possible to make them action enabler controlled without

[Freeciv-commits] r30154 - in /trunk/server: unithand.c unithand.h unittools.c

2015-10-21 Thread sveinung84
Author: sveinung Date: Wed Oct 21 17:57:17 2015 New Revision: 30154 URL: http://svn.gna.org/viewcvs/freeciv?rev=30154=rev Log: Split disband unit from packet handling Separate disbanding a unit (without reusing its shields) from handling the order to do so in the unit_disband packet. See patch

[Freeciv-commits] r30158 - in /trunk/common: actions.c actions.h

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:07:11 2015 New Revision: 30158 URL: http://svn.gna.org/viewcvs/freeciv?rev=30158=rev Log: Centralize action blocks action Move the code checking if an enabler controlled action is blocked by the legality of another enabler controlled action to a central

[Freeciv-commits] r30161 - /trunk/client/helpdata.c

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:07:43 2015 New Revision: 30161 URL: http://svn.gna.org/viewcvs/freeciv?rev=30161=rev Log: Update help generation for Recycle Unit It became possible to disband a unit in a city without getting 50% of its production cost when Recycle Unit was split from

[Freeciv-commits] r30164 - in /branches/S2_6/client: gui-sdl/menu.c gui-sdl2/menu.c

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:08:57 2015 New Revision: 30164 URL: http://svn.gna.org/viewcvs/freeciv?rev=30164=rev Log: SDL clients: Use ruleset defined action ui names for Establish Trade Route and Help Build Wonder. See patch #6455 Modified: branches/S2_6/client/gui-sdl/menu.c

[Freeciv-commits] r30159 - /trunk/server/unithand.c

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:07:20 2015 New Revision: 30159 URL: http://svn.gna.org/viewcvs/freeciv?rev=30159=rev Log: Explain if action blocks action See patch #6454 Modified: trunk/server/unithand.c Modified: trunk/server/unithand.c URL:

[Freeciv-commits] r30162 - in /trunk/client/gui-sdl2: mapctrl.c menu.c

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:07:53 2015 New Revision: 30162 URL: http://svn.gna.org/viewcvs/freeciv?rev=30162=rev Log: SDL 2 client: Use ruleset defined action ui names for Establish Trade Route, Help Build Wonder, Join City and Found City. See patch #6455 Modified:

[Freeciv-commits] r30163 - /branches/S2_6/configure.ac

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:08:49 2015 New Revision: 30163 URL: http://svn.gna.org/viewcvs/freeciv?rev=30163=rev Log: i18n: the Freeciv source files are UTF-8 The --from-code option was introduced in gettext version 0.12. Use it to make gettext aware that the Freeciv input source files

[Freeciv-commits] r30157 - /trunk/configure.ac

2015-10-22 Thread sveinung84
Author: sveinung Date: Thu Oct 22 11:07:01 2015 New Revision: 30157 URL: http://svn.gna.org/viewcvs/freeciv?rev=30157=rev Log: i18n: the Freeciv source files are UTF-8 The --from-code option was introduced in gettext version 0.12. Use it to make gettext aware that the Freeciv input source files

[Freeciv-commits] r30301 - /branches/S2_6/common/generate_packets.py

2015-10-29 Thread sveinung84
Author: sveinung Date: Thu Oct 29 15:47:51 2015 New Revision: 30301 URL: http://svn.gna.org/viewcvs/freeciv?rev=30301=rev Log: generate_packets.py: ignore argument position Stop depending on the position of command line arguments. Currently not an issue. Only one argument exists. See patch

[Freeciv-commits] r30300 - in /trunk: common/Makefile.am common/generate_packets.py configure.ac

2015-10-29 Thread sveinung84
Author: sveinung Date: Thu Oct 29 15:45:12 2015 New Revision: 30300 URL: http://svn.gna.org/viewcvs/freeciv?rev=30300=rev Log: New configure option --disable-delta-protocol A third party project without a working delta protocol implementation may need the ability to communicate with Freeciv.

[Freeciv-commits] r30298 - /trunk/common/city.c

2015-10-29 Thread sveinung84
Author: sveinung Date: Thu Oct 29 15:44:55 2015 New Revision: 30298 URL: http://svn.gna.org/viewcvs/freeciv?rev=30298=rev Log: Access correct member of union A diplomatic relationship requirement source value belongs in the diplrel member of universals_u. This fixes a Clang warning. Reported

[Freeciv-commits] r30299 - /trunk/common/generate_packets.py

2015-10-29 Thread sveinung84
Author: sveinung Date: Thu Oct 29 15:45:04 2015 New Revision: 30299 URL: http://svn.gna.org/viewcvs/freeciv?rev=30299=rev Log: generate_packets.py: ignore argument position Stop depending on the position of command line arguments. Currently not an issue. Only one argument exists. See patch

[Freeciv-commits] r30238 - /branches/S2_6/server/settings.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:54:33 2015 New Revision: 30238 URL: http://svn.gna.org/viewcvs/freeciv?rev=30238=rev Log: Allow changing killstack in heavy scenarios Allow changing the killstack setting before the game start in scenarios that includes players, cities, etc. See patch #6482

[Freeciv-commits] r30234 - /trunk/server/settings.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:39 2015 New Revision: 30234 URL: http://svn.gna.org/viewcvs/freeciv?rev=30234=rev Log: Allow changing killstack in heavy scenarios Allow changing the killstack setting before the game start in scenarios that includes players, cities, etc. See patch #6482

[Freeciv-commits] r30235 - in /trunk/server: settings.c srv_main.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:47 2015 New Revision: 30235 URL: http://svn.gna.org/viewcvs/freeciv?rev=30235=rev Log: Allow changing sciencebox in heavy scenarios Allow changing the sciencebox setting before the game start in scenarios that includes players, cities, etc. The corner

[Freeciv-commits] r30240 - in /branches/S2_5/server: diplhand.c savegame.c savegame2.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:55:25 2015 New Revision: 30240 URL: http://svn.gna.org/viewcvs/freeciv?rev=30240=rev Log: Peace and Alliance is closer than "Never met" The closest diplomatic relationship two players have had is recorded. (Currently only Peace and Alliance is seen as a

[Freeciv-commits] r30232 - /trunk/data/scenarios/europe_1901.sav

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:23 2015 New Revision: 30232 URL: http://svn.gna.org/viewcvs/freeciv?rev=30232=rev Log: Europe 1901: fix closest diplstate Change closest diplstate from "Never met" to the current diplstate for nations that have Peace or an Alliance. (It had been stored as

[Freeciv-commits] r30241 - /trunk/server/savecompat.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:58:45 2015 New Revision: 30241 URL: http://svn.gna.org/viewcvs/freeciv?rev=30241=rev Log: Fix comment that mentions the wrong field Modified: trunk/server/savecompat.c Modified: trunk/server/savecompat.c URL:

[Freeciv-commits] r30239 - in /branches/S2_6/server: settings.c srv_main.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:54:42 2015 New Revision: 30239 URL: http://svn.gna.org/viewcvs/freeciv?rev=30239=rev Log: Allow changing sciencebox in heavy scenarios Allow changing the sciencebox setting before the game start in scenarios that includes players, cities, etc. The corner

[Freeciv-commits] r30237 - /branches/S2_6/server/settings.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:54:25 2015 New Revision: 30237 URL: http://svn.gna.org/viewcvs/freeciv?rev=30237=rev Log: Introduce a heavy scenario rule setting class The player is normally allowed to change rule settings before the game starts. This is true both for completely new games

[Freeciv-commits] r30231 - in /trunk/server: diplhand.c savecompat.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:15 2015 New Revision: 30231 URL: http://svn.gna.org/viewcvs/freeciv?rev=30231=rev Log: Peace and Alliance is closer than "Never met" The closest diplomatic relationship two players have had is recorded. (Currently only Peace and Alliance is seen as a

[Freeciv-commits] r30230 - in /trunk/server: savecompat.c savegame3.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:05 2015 New Revision: 30230 URL: http://svn.gna.org/viewcvs/freeciv?rev=30230=rev Log: savegame3: store diplstate_type by name rather than by number. See patch #6478 Modified: trunk/server/savecompat.c trunk/server/savegame3.c Modified:

[Freeciv-commits] r30233 - /trunk/server/settings.c

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 16:44:32 2015 New Revision: 30233 URL: http://svn.gna.org/viewcvs/freeciv?rev=30233=rev Log: Introduce a heavy scenario rule setting class The player is normally allowed to change rule settings before the game starts. This is true both for completely new games

[Freeciv-commits] r30242 - in /branches/S2_6: data/scenarios/Makefile.am data/scenarios/europe_1901.sav translations/freeciv/POTFILES.in

2015-10-27 Thread sveinung84
Author: sveinung Date: Tue Oct 27 18:18:19 2015 New Revision: 30242 URL: http://svn.gna.org/viewcvs/freeciv?rev=30242=rev Log: Include the scenario Europe 1901 The Europe 1901 scenario is Europe just prior the the outbreak of World War I. It tries to be historically accurate. Scenario by Jamie

[Freeciv-commits] r30254 - /branches/S2_6/data/civ2civ3/game.ruleset

2015-10-27 Thread sveinung84
Author: sveinung Date: Wed Oct 28 02:43:25 2015 New Revision: 30254 URL: http://svn.gna.org/viewcvs/freeciv?rev=30254=rev Log: civ2civ3: force establish trade route I don't know what bardo, the civ2civ3 maintainer, had in mind when we talked about this in patch #5995. Avoid a rule change for 2.6

[Freeciv-commits] r30253 - /trunk/data/civ2civ3/game.ruleset

2015-10-27 Thread sveinung84
Author: sveinung Date: Wed Oct 28 02:42:41 2015 New Revision: 30253 URL: http://svn.gna.org/viewcvs/freeciv?rev=30253=rev Log: civ2civ3: force establish trade route I don't know what bardo, the civ2civ3 maintainer, had in mind when this was mentioned in patch #5995. Avoid a rule change for 2.6

[Freeciv-commits] r30218 - in /branches/S2_6/client: gui-gtk-2.0/ gui-gtk-3.0/ gui-qt/ gui-sdl/ gui-sdl2/

2015-10-26 Thread sveinung84
Author: sveinung Date: Mon Oct 26 16:43:12 2015 New Revision: 30218 URL: http://svn.gna.org/viewcvs/freeciv?rev=30218=rev Log: Fix comments that talked about Spy/Diplomat in code that show the action selection dialog for all actors. Modified: branches/S2_6/client/gui-gtk-2.0/action_dialog.c

[Freeciv-commits] r30217 - in /trunk/client: gui-gtk-2.0/action_dialog.c gui-gtk-3.0/action_dialog.c gui-qt/dialogs.cpp gui-sdl2/action_dialog.c

2015-10-26 Thread sveinung84
Author: sveinung Date: Mon Oct 26 16:41:36 2015 New Revision: 30217 URL: http://svn.gna.org/viewcvs/freeciv?rev=30217=rev Log: Fix comments that talked about Spy/Diplomat in code that show the action selection dialog for all actors. Modified: trunk/client/gui-gtk-2.0/action_dialog.c

[Freeciv-commits] r30264 - /trunk/client/gui-qt/dialogs.cpp

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:24:49 2015 New Revision: 30264 URL: http://svn.gna.org/viewcvs/freeciv?rev=30264=rev Log: Qt client: respect holes in tech tgt selector Reported by Marko Lindqvist See bug #23982 Modified: trunk/client/gui-qt/dialogs.cpp Modified:

[Freeciv-commits] r30263 - in /trunk/client: gui-gtk-2.0/action_dialog.c gui-gtk-3.0/action_dialog.c

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:24:01 2015 New Revision: 30263 URL: http://svn.gna.org/viewcvs/freeciv?rev=30263=rev Log: GTK clients: respect holes in tech tgt selector Reported by Marko Lindqvist See bug #23947 Modified: trunk/client/gui-gtk-2.0/action_dialog.c

[Freeciv-commits] r30278 - /branches/S2_6/client/gui-qt/dialogs.cpp

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:45:27 2015 New Revision: 30278 URL: http://svn.gna.org/viewcvs/freeciv?rev=30278=rev Log: Qt client: respect holes in tech tgt selector Reported by Marko Lindqvist See bug #23982 Modified: branches/S2_6/client/gui-qt/dialogs.cpp Modified:

[Freeciv-commits] r30277 - in /branches/S2_6/client: gui-gtk-2.0/action_dialog.c gui-gtk-3.0/action_dialog.c

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:45:13 2015 New Revision: 30277 URL: http://svn.gna.org/viewcvs/freeciv?rev=30277=rev Log: GTK clients: respect holes in tech tgt selector Reported by Marko Lindqvist See bug #23947 Modified: branches/S2_6/client/gui-gtk-2.0/action_dialog.c

[Freeciv-commits] r30279 - /branches/S2_6/data/scenarios/europe_1901.sav

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:45:38 2015 New Revision: 30279 URL: http://svn.gna.org/viewcvs/freeciv?rev=30279=rev Log: Europa 1901: increase default sciencebox to decrease the chance of having a Stealth Bomber show up during WWI. See patch #6492 Modified:

[Freeciv-commits] r30280 - /branches/S2_6/data/scenarios/europe_1901.sav

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:45:47 2015 New Revision: 30280 URL: http://svn.gna.org/viewcvs/freeciv?rev=30280=rev Log: Europe 1901: make all players AI controlled so the scenario will work better "out of the box" for single or few player games. See patch #6493 Modified:

[Freeciv-commits] r30266 - /trunk/data/scenarios/europe_1901.sav

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:25:07 2015 New Revision: 30266 URL: http://svn.gna.org/viewcvs/freeciv?rev=30266=rev Log: Europa 1901: increase default sciencebox to decrease the chance of having a Stealth Bomber show up during WWI. See patch #6492 Modified:

[Freeciv-commits] r30267 - /trunk/data/scenarios/europe_1901.sav

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:25:17 2015 New Revision: 30267 URL: http://svn.gna.org/viewcvs/freeciv?rev=30267=rev Log: Europe 1901: make all players AI controlled so the scenario will work better "out of the box" for single or few player games. See patch #6493 Modified:

[Freeciv-commits] r30265 - /trunk/client/goto.c

2015-10-28 Thread sveinung84
Author: sveinung Date: Wed Oct 28 10:24:59 2015 New Revision: 30265 URL: http://svn.gna.org/viewcvs/freeciv?rev=30265=rev Log: client goto: consider action order direction Most actions can be done to a target on the same tile as the actor or to a target on a tile next to it. The hard coded rules

[Freeciv-commits] r30511 - /trunk/common/actions.c

2015-11-10 Thread sveinung84
Author: sveinung Date: Tue Nov 10 16:30:24 2015 New Revision: 30511 URL: http://svn.gna.org/viewcvs/freeciv?rev=30511=rev Log: Improve comment language Modified: trunk/common/actions.c Modified: trunk/common/actions.c URL:

[Freeciv-commits] r30512 - /branches/S2_6/common/actions.c

2015-11-10 Thread sveinung84
Author: sveinung Date: Tue Nov 10 16:30:42 2015 New Revision: 30512 URL: http://svn.gna.org/viewcvs/freeciv?rev=30512=rev Log: Improve comment language Modified: branches/S2_6/common/actions.c Modified: branches/S2_6/common/actions.c URL:

<    2   3   4   5   6   7   8   9   10   11   >