|
@@ -249,7 +249,7 @@ public:
|
|
|
std::vector<const CGHeroInstance *> getAvailableHeroes(const CGObjectInstance * townOrTavern) const; //heroes that can be recruited
|
|
|
std::string getTavernGossip(const CGObjectInstance * townOrTavern) const;
|
|
|
/// 0 - no more than one capitol, 1 - lack of water, 2 - forbidden, 3 - Add another level to Mage Guild, 4 - already built, 5 - cannot build, 6 - cannot afford, 7 - build, 8 - lack of requirements
|
|
|
- int canBuildStructure(const CGTownInstance *t, int ID);/
|
|
|
+ int canBuildStructure(const CGTownInstance *t, int ID);
|
|
|
|
|
|
std::set<int> getBuildingRequiments(const CGTownInstance *t, int ID);
|
|
|
virtual bool getTownInfo(const CGObjectInstance *town, InfoAboutTown &dest) const;
|