diff options
author | rubidium <rubidium@openttd.org> | 2006-09-04 20:40:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-09-04 20:40:33 +0000 |
commit | 63687763e9680663e68754b47ee9f1511641faf8 (patch) | |
tree | b1e52d993ce60e919358d998b36ea08adfe26cba /yapf/yapf_ship.cpp | |
parent | a7cfb80c40d9a4c544ece10872fd3808f9f59f8d (diff) | |
download | openttd-63687763e9680663e68754b47ee9f1511641faf8.tar.xz |
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
-Cleanup: whitespace alignment of a few tables.
Diffstat (limited to 'yapf/yapf_ship.cpp')
-rw-r--r-- | yapf/yapf_ship.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/yapf/yapf_ship.cpp b/yapf/yapf_ship.cpp index 0682cd45f..728c41cd9 100644 --- a/yapf/yapf_ship.cpp +++ b/yapf/yapf_ship.cpp @@ -20,8 +20,8 @@ protected: public: /** Called by YAPF to move from the given node to the next tile. For each - * reachable trackdir on the new tile creates new node, initializes it - * and adds it to the open list by calling Yapf().AddNewNode(n) */ + * reachable trackdir on the new tile creates new node, initializes it + * and adds it to the open list by calling Yapf().AddNewNode(n) */ inline void PfFollowNode(Node& old_node) { TrackFollower F; @@ -95,8 +95,8 @@ protected: public: /** Called by YAPF to calculate the cost from the origin to the given node. - * Calculates only the cost of given node, adds it to the parent node cost - * and stores the result into Node::m_cost member */ + * Calculates only the cost of given node, adds it to the parent node cost + * and stores the result into Node::m_cost member */ FORCEINLINE bool PfCalcCost(Node& n) { // base tile cost depending on distance @@ -110,8 +110,8 @@ public: }; /** Config struct of YAPF for ships. - Defines all 6 base YAPF modules as classes providing services for CYapfBaseT. -*/ + * Defines all 6 base YAPF modules as classes providing services for CYapfBaseT. + */ template <class Tpf_, class Ttrack_follower, class Tnode_list> struct CYapfShip_TypesT { |