Author: sveinung
Date: Fri Dec 26 01:31:03 2014
New Revision: 27410

URL: http://svn.gna.org/viewcvs/freeciv?rev=27410&view=rev
Log:
Let ruleset authors specify the action name shown to the user in the UI.

This can be used to give the actions names that fits the story of the
ruleset. This allows ruleset authors to avoid having the game breaking the
suspension of disbelief by offering to poison a city populated by inorganic
AIs.

It can also be used to set what mnemonic an action should have in the action
selection dialog. Bug #23088 changed the default mnemonic for some actions
to avoid collisions. Giving two actions the same mnemonic isn't a problem in
a ruleset were they never will share an action selection dialog.

The ruleset variables are conservatively named to avoid giving the
impression that generalized actions are supported in 2.6.

See patch #4582

Modified:
    trunk/client/packhand.c
    trunk/common/actions.c
    trunk/common/packets.def
    trunk/data/alien/game.ruleset
    trunk/data/civ1/game.ruleset
    trunk/data/civ2/game.ruleset
    trunk/data/civ2civ3/game.ruleset
    trunk/data/classic/game.ruleset
    trunk/data/experimental/game.ruleset
    trunk/data/multiplayer/game.ruleset
    trunk/fc_version
    trunk/server/ruleset.c

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

Modified: trunk/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/packhand.c?rev=27410&r1=27409&r2=27410&view=diff

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

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

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

Modified: trunk/data/civ1/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ1/game.ruleset?rev=27410&r1=27409&r2=27410&view=diff

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

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

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

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

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

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

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


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

Reply via email to