(svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp

This commit is contained in:
smatz
2011-04-19 15:00:11 +00:00
parent 4fc022a188
commit 5852b66c71
8 changed files with 46 additions and 17 deletions

View File

@@ -81,21 +81,4 @@ struct CYapfNodeT {
}
};
/** Yapf Node for ships */
template <class Tkey_>
struct CYapfShipNodeT
: CYapfNodeT<Tkey_, CYapfShipNodeT<Tkey_> >
{
};
/* now define two major node types (that differ by key type) */
typedef CYapfShipNodeT<CYapfNodeKeyExitDir> CYapfShipNodeExitDir;
typedef CYapfShipNodeT<CYapfNodeKeyTrackDir> CYapfShipNodeTrackDir;
/* Default NodeList types */
typedef CNodeList_HashTableT<CYapfShipNodeExitDir , 14, 16> CShipNodeListExitDir;
typedef CNodeList_HashTableT<CYapfShipNodeTrackDir, 16, 20> CShipNodeListTrackDir;
#endif /* YAPF_NODE_HPP */