Shqype
Shqyptar
I noticed that in CvUnit.cpp and CvUnit.h (as well as the Cy files), there is no reference to "isMechanized," the tag that appears in the XML for a unit.
I tried to "expose" this tag to those files, by following the same format used for "isAnimal()" , declaring it a bool, etc. But, when I compile the DLL, I get an error that CvUnitInfo does not have "isMechanized()."
What am I missing here? Why isn't this a part of the CvUnit.cpp file to begin with? And could anyone perhaps point me in the right direction if I wanted to add completely new variables and tags to such files?
I tried to "expose" this tag to those files, by following the same format used for "isAnimal()" , declaring it a bool, etc. But, when I compile the DLL, I get an error that CvUnitInfo does not have "isMechanized()."
What am I missing here? Why isn't this a part of the CvUnit.cpp file to begin with? And could anyone perhaps point me in the right direction if I wanted to add completely new variables and tags to such files?