Searched refs:wpDistance (Results 1 – 5 of 5) sorted by relevance
/dports/games/brogue/BrogueCE-1.10.1/src/brogue/ |
H A D | RogueMain.c | 225 rogue.wpDistance[i] = allocGrid(); in initializeRogue() 226 fillGrid(rogue.wpDistance[i], 0); in initializeRogue() 933 freeGrid(rogue.wpDistance[i]); in freeEverything()
|
H A D | Monsters.c | 1166 && rogue.wpDistance[wpIndex][monst->xLoc][monst->yLoc] >= 0 in isValidWanderDestination() 1167 … && nextStep(rogue.wpDistance[wpIndex], monst->xLoc, monst->yLoc, monst, false) != NO_DIRECTION); in isValidWanderDestination() 1177 && rogue.wpDistance[i][monst->xLoc][monst->yLoc] < closestDistance) { in closestWaypointIndex() 1179 closestDistance = rogue.wpDistance[i][monst->xLoc][monst->yLoc]; in closestWaypointIndex() 1658 if (rogue.wpDistance[i][x][y] < closestDistance) { in closestWaypointIndexTo() 1659 closestDistance = rogue.wpDistance[i][x][y]; in closestWaypointIndexTo() 3469 …dir = nextStep(rogue.wpDistance[monst->targetWaypointIndex], monst->xLoc, monst->yLoc, monst, fals… in monstersTurn() 3477 …dir = nextStep(rogue.wpDistance[monst->targetWaypointIndex], monst->xLoc, monst->yLoc, monst, fals… in monstersTurn()
|
H A D | Architect.c | 2994 fillGrid(rogue.wpDistance[wpIndex], 30000); in refreshWaypoint() 2995 rogue.wpDistance[wpIndex][rogue.wpCoordinates[wpIndex][0]][rogue.wpCoordinates[wpIndex][1]] = 0; in refreshWaypoint() 2996 dijkstraScan(rogue.wpDistance[wpIndex], costMap, true); in refreshWaypoint()
|
H A D | IO.c | 2245 if (rogue.wpDistance[w][i][j] < lowestDistance) { in displayWaypoints() 2246 lowestDistance = rogue.wpDistance[w][i][j]; in displayWaypoints()
|
H A D | Rogue.h | 2367 short **wpDistance[MAX_WAYPOINT_COUNT]; member
|