|
|
@@ -197,22 +197,22 @@ struct UpgradeInfo
|
|
|
UpgradeInfo(){oldID = -1;};
|
|
|
};
|
|
|
|
|
|
-struct CPathNode
|
|
|
-{
|
|
|
- bool accesible; //true if a hero can be on this node
|
|
|
- int dist; //distance from the first node of searching; -1 is infinity
|
|
|
- CPathNode * theNodeBefore;
|
|
|
- int3 coord; //coordiantes
|
|
|
- bool visited;
|
|
|
-};
|
|
|
-
|
|
|
-struct DLL_EXPORT CPath
|
|
|
-{
|
|
|
- std::vector<CPathNode> nodes; //just get node by node
|
|
|
-
|
|
|
- int3 startPos(); // start point
|
|
|
- int3 endPos(); //destination point
|
|
|
- void convert(ui8 mode); //mode=0 -> from 'manifest' to 'object'
|
|
|
+struct CPathNode
|
|
|
+{
|
|
|
+ bool accesible; //true if a hero can be on this node
|
|
|
+ int dist; //distance from the first node of searching; -1 is infinity
|
|
|
+ CPathNode * theNodeBefore;
|
|
|
+ int3 coord; //coordiantes
|
|
|
+ bool visited;
|
|
|
+};
|
|
|
+
|
|
|
+struct DLL_EXPORT CPath
|
|
|
+{
|
|
|
+ std::vector<CPathNode> nodes; //just get node by node
|
|
|
+
|
|
|
+ int3 startPos() const; // start point
|
|
|
+ int3 endPos() const; //destination point
|
|
|
+ void convert(ui8 mode); //mode=0 -> from 'manifest' to 'object'
|
|
|
};
|
|
|
|
|
|
class DLL_EXPORT CGameState
|