Added CelestiaCatalog file type.
parent
89b5498534
commit
6f7869ff05
|
@ -23,6 +23,7 @@ static const string PNGExt(".png");
|
|||
static const string ThreeDSExt(".3ds");
|
||||
static const string CelestiaTextureExt(".ctx");
|
||||
static const string CelestiaMeshExt(".cms");
|
||||
static const string CelestiaCatalogExt(".ssc");
|
||||
static const string AVIExt(".avi");
|
||||
|
||||
|
||||
|
@ -49,6 +50,8 @@ ContentType DetermineFileType(const string& filename)
|
|||
return Content_CelestiaTexture;
|
||||
else if (compareIgnoringCase(CelestiaMeshExt, ext) == 0)
|
||||
return Content_CelestiaMesh;
|
||||
else if (compareIgnoringCase(CelestiaCatalogExt, ext) == 0)
|
||||
return Content_CelestiaCatalog;
|
||||
else if (compareIgnoringCase(AVIExt, ext) == 0)
|
||||
return Content_AVI;
|
||||
else
|
||||
|
|
|
@ -13,16 +13,17 @@
|
|||
#include <string>
|
||||
|
||||
enum ContentType {
|
||||
Content_JPEG,
|
||||
Content_BMP,
|
||||
Content_GIF,
|
||||
Content_PNG,
|
||||
Content_Targa,
|
||||
Content_CelestiaTexture,
|
||||
Content_3DStudio,
|
||||
Content_CelestiaMesh,
|
||||
Content_AVI,
|
||||
Content_Unknown
|
||||
Content_JPEG = 1,
|
||||
Content_BMP = 2,
|
||||
Content_GIF = 3,
|
||||
Content_PNG = 4,
|
||||
Content_Targa = 5,
|
||||
Content_CelestiaTexture = 6,
|
||||
Content_3DStudio = 7,
|
||||
Content_CelestiaMesh = 8,
|
||||
Content_AVI = 9,
|
||||
Content_CelestiaCatalog = 10,
|
||||
Content_Unknown = -1,
|
||||
};
|
||||
|
||||
ContentType DetermineFileType(const std::string& filename);
|
||||
|
|
Loading…
Reference in New Issue