22 #ifndef SCUMM_HE_MOONBASE_AI_TREE_H 23 #define SCUMM_HE_MOONBASE_AI_TREE_H 25 #include "common/array.h" 26 #include "scumm/he/moonbase/ai_node.h" 30 const int MAX_DEPTH = 100;
31 const int MAX_NODES = 1000000;
49 int _currentChildIndex;
64 void duplicateTree(
Node *sourceNode,
Node *destNode);
66 Node *getBaseNode()
const {
return pBaseNode; }
67 void setMaxDepth(
int maxDepth) { _maxDepth = maxDepth; }
68 int getMaxDepth()
const {
return _maxDepth; }
70 void setMaxNodes(
int maxNodes) { _maxNodes = maxNodes; }
71 int getMaxNodes()
const {
return _maxNodes; }
75 Node *aStarSearch_singlePassInit();
76 Node *aStarSearch_singlePass();
78 int IsBaseNode(
Node *thisNode);