CObjects.h
NodePool.hCode:#include "NodePool.h" class NodePool; class CObjects { class PathPoint { PathPoint(const NodePool::Node& node) { } } };
I try to comment out either includes, but there are some reference problems.Code:#include "CObjects.h" class CObjects; class NodePool { class Transition { float getCost(CObjects* unit) { ... } }; };
Can't post the errors, they aren't in English. How do I break the ties?
Thanks
Jack




Reply With Quote