MCPcopy Create free account
hub / github.com/CelestiaProject/Celestia / initFeatureTypeTable

Function initFeatureTypeTable

src/celengine/location.cpp:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192
193static void initFeatureTypeTable()
194{
195 featureTableInitialized = true;
196
197 for (int i = 0; i < (int)(sizeof(FeatureNames) / sizeof(FeatureNames[0])); i++)
198 {
199 FeatureNameToFlag[string(FeatureNames[i].name)] = FeatureNames[i].flag;
200 }
201}
202
203
204Location::FeatureType Location::parseFeatureType(const string& s)

Callers 1

parseFeatureTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected