34 #define ILLEGAL_NUM_SETS 3001
36 #define PICO_FEATURE_LENGTH 0.05
49 DefineParam(0, 0, -0.25, 0.75)
50 DefineParam(0, 1, 0.0, 1.0)
51 DefineParam(1, 0, 0.0, 1.0)
52 DefineParam (0, 1, -0.5, 0.5)
53 DefineParam (0, 1, -0.5, 0.5)
60 DefineParam(0, 0, -0.25, 0.75)
61 DefineParam(0, 1, 0.0, 1.0)
62 DefineParam(0, 0, 0.0, 1.0)
63 DefineParam(0, 0, 0.0, 1.0)
70 DefineParam(0, 0, 0.0, 255.0)
71 DefineParam(0, 0, 0.0, 255.0)
72 DefineParam(1, 0, 0.0, 255.0)
79 DefineParam(0, 0, 0.0, 255.0)
80 DefineParam(0, 0, 0.0, 255.0)
81 DefineParam(0, 0, 0.0, 255.0)
93 DefineParam(0, 0, -0.25, 0.75)
94 DefineParam(1, 0, 0.0, 1.0)
95 DefineParam(0, 0, -0.5, 0.5)
102 DefineParam(0, 0, -0.5, 0.5)
103 DefineParam(0, 0, -0.25, 0.75)
104 DefineParam(0, 0, 0.0, 1.0)
105 DefineParam(1, 0, 0.0, 1.0)
200 int NumSetsToWrite = 0;
221 bool anything_written =
false;
222 bool well_formed =
true;
231 anything_written =
true;
238 return anything_written && well_formed;
270 if (
tfscanf(File,
"%d", &NumSetsToRead) != 1 ||
275 for (; NumSetsToRead > 0; NumSetsToRead--) {
276 tfscanf(File,
"%s", ShortName);
303 const char *ShortName) {
CHAR_DESC ReadCharDescription(const FEATURE_DEFS_STRUCT &FeatureDefs, FILE *File)
void FreeCharDescription(CHAR_DESC CharDesc)
void InitFeatureDefs(FEATURE_DEFS_STRUCT *featuredefs)
int tfscanf(FILE *stream, const char *format,...)
const char * kIntFeatureType
#define PICO_FEATURE_LENGTH
const FEATURE_DESC_STRUCT * FeatureDesc[NUM_FEATURE_TYPES]
FEATURE_SET FeatureSets[NUM_FEATURE_TYPES]
const FEATURE_DESC_STRUCT PicoFeatDesc
StartParamDesc(MicroFeatureParams) DefineParam(0
void WriteCharDescription(const FEATURE_DEFS_STRUCT &FeatureDefs, CHAR_DESC CharDesc, STRING *str)
const FEATURE_DESC_STRUCT * Type
const char * kCNFeatureType
#define ILLEGAL_SHORT_NAME
void WriteFeatureSet(FEATURE_SET FeatureSet, STRING *str)
DefineParam(0, 0,-0.25, 0.75) DefineParam(0
MicroFeatureParams CharNormParams EndParamDesc DefineFeature(IntFeatDesc, 2, 1, kIntFeatureType, IntFeatParams) StartParamDesc(GeoFeatParams) DefineParam(0
bool ValidCharDescription(const FEATURE_DEFS_STRUCT &FeatureDefs, CHAR_DESC CharDesc)
const FEATURE_DESC_STRUCT CharNormDesc
const char * kGeoFeatureType
const char * kMicroFeatureType
#define NUM_FEATURE_TYPES
const FEATURE_DESC_STRUCT IntFeatDesc
void add_str_int(const char *str, int number)
FLOAT32 PicoFeatureLength
int ShortNameToFeatureType(const FEATURE_DEFS_STRUCT &FeatureDefs, const char *ShortName)
void DoError(int Error, const char *Message)
CHAR_DESC NewCharDescription(const FEATURE_DEFS_STRUCT &FeatureDefs)
const FEATURE_DESC_STRUCT GeoFeatDesc
const FEATURE_DESC_STRUCT OutlineFeatDesc
void FreeFeatureSet(FEATURE_SET FeatureSet)
FEATURE_SET ReadFeatureSet(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
CHAR_DESC_STRUCT * CHAR_DESC
const FEATURE_DESC_STRUCT MicroFeatureDesc