Added type for AVI files

ver1_5_1
Chris Laurel 2001-12-10 23:06:05 +00:00
parent f36e4a40d9
commit 654d5ffb75
2 changed files with 4 additions and 0 deletions

View File

@ -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;
}

View File

@ -21,6 +21,7 @@ enum ContentType {
Content_CelestiaTexture,
Content_3DStudio,
Content_CelestiaMesh,
Content_AVI,
Content_Unknown
};