Author: sveinung
Date: Fri Feb 12 15:56:32 2016
New Revision: 31900

URL: http://svn.gna.org/viewcvs/freeciv?rev=31900&view=rev
Log:
Action enabler control paradrop.

Introduce the "Paradrop Unit" action enabler. Its target is the tile
the actor unit tries to land on. It can't be used in unit orders because
its maximum range (distance from actor to target) is larger than the actor
unit's tile and those next to it.

Move the rule that a unit must have the "Paratroopers" unit type flag to
the ruleset. Move the flag it self too. Reserve its unit type flag number
so the next new unit type flag can use it rather than having to renumber
the unit type user flags and unit role ids.

See patch #6949

Modified:
    trunk/ai/default/advmilitary.c
    trunk/ai/default/aicity.c
    trunk/ai/default/aiparatrooper.c
    trunk/ai/default/aiunit.c
    trunk/client/control.c
    trunk/client/gui-gtk-2.0/menu.c
    trunk/client/gui-gtk-3.0/menu.c
    trunk/client/gui-gtk-3.x/menu.c
    trunk/client/gui-qt/menu.cpp
    trunk/client/gui-sdl2/menu.c
    trunk/client/helpdata.c
    trunk/common/actions.c
    trunk/common/actions.h
    trunk/common/packets.def
    trunk/common/unit.c
    trunk/common/unittype.h
    trunk/data/alien/game.ruleset
    trunk/data/alien/units.ruleset
    trunk/data/civ1/units.ruleset
    trunk/data/civ2/game.ruleset
    trunk/data/civ2/units.ruleset
    trunk/data/civ2civ3/game.ruleset
    trunk/data/civ2civ3/units.ruleset
    trunk/data/classic/game.ruleset
    trunk/data/classic/units.ruleset
    trunk/data/experimental/game.ruleset
    trunk/data/experimental/units.ruleset
    trunk/data/multiplayer/game.ruleset
    trunk/data/multiplayer/units.ruleset
    trunk/data/sandbox/game.ruleset
    trunk/data/sandbox/units.ruleset
    trunk/data/stub/units.ruleset
    trunk/doc/README.actions
    trunk/fc_version
    trunk/server/advisors/advdata.c
    trunk/server/rscompat.c
    trunk/server/ruleset.c
    trunk/server/unithand.c
    trunk/server/unittools.c
    trunk/tools/ruledit/rulesave.c

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/ai/default/advmilitary.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/advmilitary.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/ai/default/aicity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/aicity.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/ai/default/aiparatrooper.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/aiparatrooper.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/ai/default/aiunit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/aiunit.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/control.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/control.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/gui-gtk-2.0/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/menu.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/gui-gtk-3.0/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/menu.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/gui-gtk-3.x/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/menu.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/gui-qt/menu.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/menu.cpp?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/gui-sdl2/menu.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/menu.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/common/actions.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/common/actions.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.h?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/packets.def?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/common/unit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/unit.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/common/unittype.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/unittype.h?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/alien/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/alien/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/alien/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/alien/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/civ1/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ1/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/civ2/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/civ2/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/civ2civ3/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/civ2civ3/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/classic/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/classic/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/classic/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/classic/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/experimental/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/experimental/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/experimental/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/experimental/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/multiplayer/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/multiplayer/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/multiplayer/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/multiplayer/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/sandbox/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/sandbox/game.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/sandbox/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/sandbox/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/data/stub/units.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/stub/units.ruleset?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/doc/README.actions
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/doc/README.actions?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/fc_version
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/fc_version?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/server/advisors/advdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/advisors/advdata.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/server/rscompat.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/rscompat.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/server/unittools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unittools.c?rev=31900&r1=31899&r2=31900&view=diff

Modified: trunk/tools/ruledit/rulesave.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/rulesave.c?rev=31900&r1=31899&r2=31900&view=diff


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to