summaryrefslogtreecommitdiff
path: root/aystar.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-07-26 03:33:12 +0000
committerbelugas <belugas@openttd.org>2006-07-26 03:33:12 +0000
commit6082507fea5070cfa7846a4bc9b0c02706fbeee7 (patch)
tree49db495ba0ae909a8a9645176b5b5b72483be02f /aystar.h
parentfd0305197ef5e50554ae06dd8e3ddd8238cbeca1 (diff)
downloadopenttd-6082507fea5070cfa7846a4bc9b0c02706fbeee7.tar.xz
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'aystar.h')
-rw-r--r--aystar.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/aystar.h b/aystar.h
index 6b2594033..fed4213ec 100644
--- a/aystar.h
+++ b/aystar.h
@@ -99,7 +99,7 @@ typedef void AyStar_GetNeighbours(AyStar *aystar, OpenListNode *current);
typedef void AyStar_FoundEndNode(AyStar *aystar, OpenListNode *current);
// For internal use, see aystar.c
-typedef void AyStar_AddStartNode(AyStar *aystar, AyStarNode* start_node, uint g);
+typedef void AyStar_AddStartNode(AyStar *aystar, AyStarNode *start_node, uint g);
typedef int AyStar_Main(AyStar *aystar);
typedef int AyStar_Loop(AyStar *aystar);
typedef int AyStar_CheckTile(AyStar *aystar, AyStarNode *current, OpenListNode *parent);
@@ -112,11 +112,11 @@ struct AyStar {
/* These should point to the application specific routines that do the
* actual work */
- AyStar_CalculateG* CalculateG;
- AyStar_CalculateH* CalculateH;
- AyStar_GetNeighbours* GetNeighbours;
- AyStar_EndNodeCheck* EndNodeCheck;
- AyStar_FoundEndNode* FoundEndNode;
+ AyStar_CalculateG *CalculateG;
+ AyStar_CalculateH *CalculateH;
+ AyStar_GetNeighbours *GetNeighbours;
+ AyStar_EndNodeCheck *EndNodeCheck;
+ AyStar_FoundEndNode *FoundEndNode;
/* These are completely untouched by AyStar, they can be accesed by
* the application specific routines to input and output data.
@@ -144,12 +144,12 @@ struct AyStar {
/* These will contain the methods for manipulating the AyStar. Only
* main() should be called externally */
- AyStar_AddStartNode* addstart;
- AyStar_Main* main;
- AyStar_Loop* loop;
- AyStar_Free* free;
- AyStar_Clear* clear;
- AyStar_CheckTile* checktile;
+ AyStar_AddStartNode *addstart;
+ AyStar_Main *main;
+ AyStar_Loop *loop;
+ AyStar_Free *free;
+ AyStar_Clear *clear;
+ AyStar_CheckTile *checktile;
/* These will contain the open and closed lists */
@@ -173,7 +173,7 @@ void AyStarMain_Clear(AyStar *aystar);
/* Initialize an AyStar. You should fill all appropriate fields before
* callling init_AyStar (see the declaration of AyStar for which fields are
* internal */
-void init_AyStar(AyStar* aystar, Hash_HashProc hash, uint num_buckets);
+void init_AyStar(AyStar *aystar, Hash_HashProc hash, uint num_buckets);
#endif /* AYSTAR_H */