Updated Celestia file types.

ver1_6_1
Chris Laurel 2008-08-07 00:31:32 +00:00
parent 586b291af3
commit dc5258c518
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ static const string CelestiaLegacyScriptExt(".cel");
static const string CelestiaScriptExt(".clx");
static const string CelestiaScriptExt2(".celx");
static const string CelestiaModelExt(".cmod");
static const string CelestiaParticleSystemExt(".cpart");
static const string CelestiaXYZTrajectoryExt(".xyz");
static const string CelestiaXYZVTrajectoryExt(".xyzv");
@ -77,6 +78,8 @@ ContentType DetermineFileType(const string& filename)
return Content_CelestiaScript;
else if (compareIgnoringCase(CelestiaModelExt, ext) == 0)
return Content_CelestiaModel;
else if (compareIgnoringCase(CelestiaParticleSystemExt, ext) == 0)
return Content_CelestiaParticleSystem;
else if (compareIgnoringCase(DXT5NormalMapExt, ext) == 0)
return Content_DXT5NormalMap;
else if (compareIgnoringCase(CelestiaXYZTrajectoryExt, ext) == 0)

View File

@ -32,6 +32,7 @@ enum ContentType {
Content_DXT5NormalMap = 17,
Content_CelestiaXYZTrajectory = 18,
Content_CelestiaXYZVTrajectory = 19,
Content_CelestiaParticleSystem = 20,
Content_Unknown = -1,
};