Added type for AVI files
parent
f36e4a40d9
commit
654d5ffb75
|
@ -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 AVIExt(".avi");
|
||||
|
||||
|
||||
ContentType DetermineFileType(const string& filename)
|
||||
|
@ -48,6 +49,8 @@ ContentType DetermineFileType(const string& filename)
|
|||
return Content_CelestiaTexture;
|
||||
else if (compareIgnoringCase(CelestiaMeshExt, ext) == 0)
|
||||
return Content_CelestiaMesh;
|
||||
else if (compareIgnoringCase(AVIExt, ext) == 0)
|
||||
return Content_AVI;
|
||||
else
|
||||
return Content_Unknown;
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ enum ContentType {
|
|||
Content_CelestiaTexture,
|
||||
Content_3DStudio,
|
||||
Content_CelestiaMesh,
|
||||
Content_AVI,
|
||||
Content_Unknown
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue