Bridge flags properly enabled and working. Fix image paths in maps.
This commit is contained in:
@@ -5,6 +5,7 @@ struct Pathfinding{
|
||||
struct sNode
|
||||
{
|
||||
bool bObstacle = false; // Is the node an obstruction?
|
||||
bool bObstacleUpper = false; // Is the node an obstruction on the upper level?
|
||||
bool bVisited = false; // Have we searched this node before?
|
||||
float fGlobalGoal; // Distance to goal so far
|
||||
float fLocalGoal; // Distance to goal if we took the alternative route
|
||||
@@ -21,5 +22,5 @@ struct Pathfinding{
|
||||
|
||||
void Initialize();
|
||||
//maxRange in tiles.
|
||||
int Solve_AStar(vf2d startPos,vf2d endPos,float maxRange=8);
|
||||
int Solve_AStar(vf2d startPos,vf2d endPos,float maxRange=8,bool upperLevel=false);
|
||||
};
|
||||
Reference in New Issue
Block a user