Bridge flags properly enabled and working. Fix image paths in maps.

This commit is contained in:
2023-07-06 14:59:21 -05:00
parent 3939ee5693
commit ef83e7f865
16 changed files with 1771 additions and 840 deletions
+2 -1
View File
@@ -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);
};