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
37 lines (28 loc) · 1.23 KB
/
Copy pathpath.h
File metadata and controls
37 lines (28 loc) · 1.23 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
#ifndef _TCOD_C_CODE_PATH_H_
#define _TCOD_C_CODE_PATH_H_
typedef struct {
int width;
void *array;
} PathCostArray;
float PathCostArrayFloat32(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayUInt8(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayUInt16(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayUInt32(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayInt8(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayInt16(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
float PathCostArrayInt32(const int x1, const int y1,
const int x2, const int y2,
const PathCostArray *map);
#endif