summaryrefslogtreecommitdiff
path: root/src/astar.h
blob: fe4820e008f5bb06409e22aafd23d46a6a6b783b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _ASTAR_H
#define _ASTAR_H

#include "map.h"
#include "being.h"

#define NOT_STARTED 0
#define FOUND 1
#define NOT_FOUND 2

PATH_NODE *find_path(int pathfinderID, int startingX, int startingY,
        int targetX, int targetY);

/** Read the path data */
void ReadPath(int pathfinderID);

#endif