mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Add Astars pathing to ingame options (#124)
* Enabled astars pathing * Add toggleable pathfinding choice to ingame options You can choose between original and A* pathfinding algorithms
This commit is contained in:
@@ -10,12 +10,6 @@
|
||||
#define _PATHAI_H
|
||||
#include "isometric utils.h"
|
||||
|
||||
// WANNE: Please do not use ASTAR pathing,
|
||||
// because it is a HUGH PERFORMANCE KILLER on big maps!!
|
||||
//#define USE_ASTAR_PATHS
|
||||
|
||||
#ifdef USE_ASTAR_PATHS
|
||||
|
||||
namespace ASTAR {
|
||||
#include "BinaryHeap.hpp"
|
||||
#include <vector>
|
||||
@@ -188,8 +182,6 @@ private:
|
||||
|
||||
};//end namespace ASTAR
|
||||
|
||||
#endif// USE_ASTAR_PATHS
|
||||
|
||||
|
||||
BOOLEAN InitPathAI( void );
|
||||
void ShutDownPathAI( void );
|
||||
|
||||
Reference in New Issue
Block a user