forked from libtcod/python-tcod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpath.h
More file actions
38 lines (27 loc) · 1.03 KB
/
path.h
File metadata and controls
38 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef PYTHON_TCOD_PATH_H_
#define PYTHON_TCOD_PATH_H_
#ifdef __cplusplus
extern "C" {
#endif
struct PathCostArray {
char *array;
long long strides[2];
};
float PathCostArrayFloat32(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayUInt8(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayUInt16(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayUInt32(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayInt8(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayInt16(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
float PathCostArrayInt32(int x1, int y1, int x2, int y2,
const struct PathCostArray *map);
#ifdef __cplusplus
}
#endif
#endif /* PYTHON_TCOD_PATH_H_ */