equal
deleted
inserted
replaced
54 * This function is called to check if the end-tile is found |
54 * This function is called to check if the end-tile is found |
55 * return values can be: |
55 * return values can be: |
56 * AYSTAR_FOUND_END_NODE : indicates this is the end tile |
56 * AYSTAR_FOUND_END_NODE : indicates this is the end tile |
57 * AYSTAR_DONE : indicates this is not the end tile (or direction was wrong) |
57 * AYSTAR_DONE : indicates this is not the end tile (or direction was wrong) |
58 */ |
58 */ |
59 typedef int32 AyStar_EndNodeCheck(AyStar *aystar, OpenListNode *current); |
59 typedef int32 AyStar_EndNodeCheck(AyStar *aystar, AyStarNode *node); |
60 |
60 |
61 /* |
61 /* |
62 * This function is called to calculate the G-value for AyStar Algorithm. |
62 * This function is called to calculate the G-value for AyStar Algorithm. |
63 * return values can be: |
63 * return values can be: |
64 * AYSTAR_INVALID_NODE : indicates an item is not valid (e.g.: unwalkable) |
64 * AYSTAR_INVALID_NODE : indicates an item is not valid (e.g.: unwalkable) |