Author: sveinung
Date: Sun Oct 11 17:13:17 2015
New Revision: 30045
URL: http://svn.gna.org/viewcvs/freeciv?rev=30045=rev
Log:
The enum direction8 is used in unit orders
and therefore in the network protocol. Document it.
See patch #6401
Modified:
trunk/common/fc_types.h
Modified:
Author: sveinung
Date: Sun Oct 11 17:13:53 2015
New Revision: 30046
URL: http://svn.gna.org/viewcvs/freeciv?rev=30046=rev
Log:
Order system: avoid unsafe is_valid_dir() usage
If a direction is valid given certain game settings was stored in an array
in patch #6325. The function is_valid_dir()
Author: sveinung
Date: Sun Oct 11 17:14:02 2015
New Revision: 30047
URL: http://svn.gna.org/viewcvs/freeciv?rev=30047=rev
Log:
The enum direction8 is used in unit orders
and therefore in the network protocol. Document it.
See patch #6401
Modified:
branches/S2_6/common/fc_types.h
Modified:
Author: sveinung
Date: Sun Oct 11 17:13:06 2015
New Revision: 30044
URL: http://svn.gna.org/viewcvs/freeciv?rev=30044=rev
Log:
order system: avoid unsafe is_valid_dir() usage
If a direction is valid given certain game settings was stored in an array
in patch #6325. The function is_valid_dir()
Author: sveinung
Date: Sun Oct 11 19:19:34 2015
New Revision: 30050
URL: http://svn.gna.org/viewcvs/freeciv?rev=30050=rev
Log:
ai: hostile actors shouldn't fight en route
The function dai_fill_unit_paramdai_fill_unit_param() sets the path finding
parameters for an AI unit in some situations.
Author: sveinung
Date: Sun Oct 11 19:19:16 2015
New Revision: 30049
URL: http://svn.gna.org/viewcvs/freeciv?rev=30049=rev
Log:
ai: force setting tile behavior for new tasks
Have the compiler warn when a new ai_unit_task is added without explicitly
setting the tile behavior in
Author: sveinung
Date: Sun Oct 11 19:19:46 2015
New Revision: 30051
URL: http://svn.gna.org/viewcvs/freeciv?rev=30051=rev
Log:
Split Recycle Unit from regular disbanding
Introduce the new action Recycle Unit. It takes over disbanding a unit in a
city so 50% of the shields spent to produce it is
Author: sveinung
Date: Sun Oct 11 19:18:45 2015
New Revision: 30048
URL: http://svn.gna.org/viewcvs/freeciv?rev=30048=rev
Log:
Define the constant DIR8_ORIGIN
Use it, rather than the magic value -1, in situations where the lack of a
direction in an enum direction8 variable means the tile a
Author: sveinung
Date: Sun Oct 11 19:21:56 2015
New Revision: 30054
URL: http://svn.gna.org/viewcvs/freeciv?rev=30054=rev
Log:
ai: hostile actors shouldn't fight en route
The function dai_fill_unit_paramdai_fill_unit_param() sets the path finding
parameters for an AI unit in some situations.
Author: sveinung
Date: Sun Oct 11 19:21:48 2015
New Revision: 30053
URL: http://svn.gna.org/viewcvs/freeciv?rev=30053=rev
Log:
ai: force setting tile behavior for new tasks
Have the compiler warn when a new ai_unit_task is added without explicitly
setting the tile behavior in
Author: sveinung
Date: Sun Oct 11 19:21:40 2015
New Revision: 30052
URL: http://svn.gna.org/viewcvs/freeciv?rev=30052=rev
Log:
Define the constant DIR8_ORIGIN
Use it, rather than the magic value -1, in situations where the lack of a
direction in an enum direction8 variable means the tile a
11 matches
Mail list logo