Prepare action counting for generic actions.
commit5463e7ef69ac55fbb5699984cd38477cfd8fde8c
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Tue, 14 Mar 2017 09:39:03 +0000 (14 09:39 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Tue, 14 Mar 2017 09:39:03 +0000 (14 09:39 +0000)
tree5685561b592f76be2d548d1fc3fa71ce5ab248fa
parentfde5d8a3249ff1a130b7742dfff38fa43a87df1f
Prepare action counting for generic actions.

Make it possible to distinguish the number of actions in the current
ruleset from the maximum number of actions. This will be needed when actions
becomes generic.

Introduce the distinction in action auto performers. Introduce the
distinction in action_iterate. Other areas should be clarified in follow up
patches.

See hrm Feature #644446

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@35107 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
common/actions.c
common/actions.h
common/networking/packets.def
server/ruleset.c
tools/ruleutil/rulesave.c