Added CelestiaStarCatalog file type.
parent
e5308d265f
commit
187c945cb5
|
@ -25,6 +25,7 @@ static const string ThreeDSExt(".3ds");
|
|||
static const string CelestiaTextureExt(".ctx");
|
||||
static const string CelestiaMeshExt(".cms");
|
||||
static const string CelestiaCatalogExt(".ssc");
|
||||
static const string CelestiaStarCatalogExt(".stc");
|
||||
static const string AVIExt(".avi");
|
||||
static const string DDSExt(".dds");
|
||||
|
||||
|
@ -54,6 +55,8 @@ ContentType DetermineFileType(const string& filename)
|
|||
return Content_CelestiaMesh;
|
||||
else if (compareIgnoringCase(CelestiaCatalogExt, ext) == 0)
|
||||
return Content_CelestiaCatalog;
|
||||
else if (compareIgnoringCase(CelestiaStarCatalogExt, ext) == 0)
|
||||
return Content_CelestiaStarCatalog;
|
||||
else if (compareIgnoringCase(AVIExt, ext) == 0)
|
||||
return Content_AVI;
|
||||
else if (compareIgnoringCase(DDSExt, ext) == 0)
|
||||
|
|
|
@ -24,6 +24,7 @@ enum ContentType {
|
|||
Content_AVI = 9,
|
||||
Content_CelestiaCatalog = 10,
|
||||
Content_DDS = 11,
|
||||
Content_CelestiaStarCatalog = 12,
|
||||
Content_Unknown = -1,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue