Added CelestiaStarCatalog file type.

ver1_5_1
Chris Laurel 2002-05-08 08:03:20 +00:00
parent e5308d265f
commit 187c945cb5
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -24,6 +24,7 @@ enum ContentType {
Content_AVI = 9,
Content_CelestiaCatalog = 10,
Content_DDS = 11,
Content_CelestiaStarCatalog = 12,
Content_Unknown = -1,
};