34 #define FEAT_NAME_SIZE 80 82 #define StartParamDesc(Name) const PARAM_DESC Name[] = { 83 #define DefineParam(Circular, NonEssential, Min, Max) \ 89 (((Max) - (Min)) / 2.0), \ 90 (((Max) + (Min)) / 2.0)}, 92 #define EndParamDesc }; 100 #define DefineFeature(Name, NL, NC, SN, PN) \ 101 const FEATURE_DESC_STRUCT Name = {((NL) + (NC)), SN, PN}; void WriteFeature(FEATURE Feature, STRING *str)
void FreeFeature(FEATURE Feature)
const PARAM_DESC * ParamDesc
void WriteFeatureSet(FEATURE_SET FeatureSet, STRING *str)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
FEATURE ReadFeature(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
FEATURE_SET NewFeatureSet(int NumFeatures)
FEATURE_SET ReadFeatureSet(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void FreeFeatureSet(FEATURE_SET FeatureSet)
bool AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
const FEATURE_DESC_STRUCT * Type