Remove CYapfShipT template parameter T90deg_turns_allowed
commit6e8be7b0cc89b92b6c32a773e0d8f4e5d8741d90
authorcirdan <cirdansw@gmail.com>
Fri, 31 Jan 2014 09:20:05 +0000 (31 10:20 +0100)
committercirdan <cirdansw@gmail.com>
Fri, 31 Jan 2014 09:20:05 +0000 (31 10:20 +0100)
tree5f57f60b4219d2b870ec10684f3db255e62d4b06
parent51d070ca1b533a56f3b077a1b752955e68b92de7
Remove CYapfShipT template parameter T90deg_turns_allowed

Make whether to allow 90-degree turns a normal parameter to the
constructor of CYapfShipT, instead of a template parameter to the
class. This reduces the number of specialisations of CYapfShipT
that are required.
src/pathfinder/yapf/yapf_ship.cpp