Home
last modified time | relevance | path

Searched refs:BLOCKMAP_UNIT (Results 1 – 2 of 2) sorted by relevance

/dports/games/edge/Edge-1.35-source/src/
H A Dp_blockmap.cc1046 if (fmod(x1 - bmap_orgx, BLOCKMAP_UNIT) == 0) in P_PathTraverse()
1049 if (fmod(y1 - bmap_orgy, BLOCKMAP_UNIT) == 0) in P_PathTraverse()
1062 int bx1 = (int)(x1 / BLOCKMAP_UNIT); in P_PathTraverse()
1063 int by1 = (int)(y1 / BLOCKMAP_UNIT); in P_PathTraverse()
1064 int bx2 = (int)(x2 / BLOCKMAP_UNIT); in P_PathTraverse()
1065 int by2 = (int)(y2 / BLOCKMAP_UNIT); in P_PathTraverse()
1088 partial = modf(x1 / BLOCKMAP_UNIT, &tmp); in P_PathTraverse()
1111 partial = modf(y1 / BLOCKMAP_UNIT, &tmp); in P_PathTraverse()
1248 x_dist = ABS((x1 / BLOCKMAP_UNIT) - (x0 / BLOCKMAP_UNIT)); in BlockAddLine()
1249 y_dist = ABS((y1 / BLOCKMAP_UNIT) - (y0 / BLOCKMAP_UNIT)); in BlockAddLine()
[all …]
H A Dp_blockmap.h33 #define BLOCKMAP_UNIT 128 macro
44 #define BLOCKMAP_GET_X(x) ((int) ((x) - bmap_orgx) / BLOCKMAP_UNIT)
45 #define BLOCKMAP_GET_Y(y) ((int) ((y) - bmap_orgy) / BLOCKMAP_UNIT)