diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 16:17:30 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 16:17:30 +0000 |
commit | 443035526dcdc02af8ae7546f29506c982013880 (patch) | |
tree | d82c66c4f184f29ccedf9db65a08551cf55ce9e6 /src/astar.h | |
parent | d0c97b98e477cfdf46ed7f36fd16c64f7943d551 (diff) | |
download | mana-443035526dcdc02af8ae7546f29506c982013880.tar.gz mana-443035526dcdc02af8ae7546f29506c982013880.tar.bz2 mana-443035526dcdc02af8ae7546f29506c982013880.tar.xz mana-443035526dcdc02af8ae7546f29506c982013880.zip |
Got stuff to work with Dev-C++
Diffstat (limited to 'src/astar.h')
-rw-r--r-- | src/astar.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/astar.h b/src/astar.h index e5cc3809..feafb7d7 100644 --- a/src/astar.h +++ b/src/astar.h @@ -1,10 +1,6 @@ #ifndef _ASTAR_H #define _ASTAR_H -#ifdef WIN32 - #pragma warning (disable:4312) -#endif - #include "map.h" #include "being.h" @@ -19,7 +15,7 @@ extern int G_cost[MAP_WIDTH+1][MAP_HEIGHT+1]; void ReadPath(int pathfinderID,int currentX,int currentY, int pixelsPerFrame); int ReadPathX(int pathfinderID,int pathLocation); int ReadPathY(int pathfinderID,int pathLocation); -void RenderScreen (bool stepByStep=false); +void RenderScreen (bool stepByStep = false); PATH_NODE *find_path(int pathfinderID,int startingX, int startingY, int targetX, int targetY); void ReadPath(int pathfinderID); |