(svn r20865) -Codechange: Make AyStarMain_CheckTile() a method.

This commit is contained in:
alberth
2010-10-02 09:53:44 +00:00
parent 8e5aaca653
commit 776d541a89
2 changed files with 12 additions and 14 deletions

View File

@@ -106,7 +106,6 @@ typedef void AyStar_FoundEndNode(AyStar *aystar, OpenListNode *current);
/* For internal use, see aystar.cpp */
typedef void AyStar_AddStartNode(AyStar *aystar, AyStarNode *start_node, uint g);
typedef int AyStar_Main(AyStar *aystar);
typedef int AyStar_CheckTile(AyStar *aystar, AyStarNode *current, OpenListNode *parent);
struct AyStar {
/* These fields should be filled before initting the AyStar, but not changed
@@ -151,7 +150,7 @@ struct AyStar {
int Loop();
void Free();
void Clear();
AyStar_CheckTile *checktile;
int CheckTile(AyStarNode *current, OpenListNode *parent);
/* These will contain the open and closed lists */