Removed raw extensions
This commit is contained in:
parent
2c21276f5a
commit
6a01bf5982
|
@ -152,7 +152,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eAnimation, "Animation");
|
CResTypeInfo *pType = new CResTypeInfo(eAnimation, "Animation");
|
||||||
AddExtension(pType, "ANIM", ePrimeDemo, eReturns);
|
AddExtension(pType, "ANIM", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "ani";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eAnimCollisionPrimData, "Animation Collision Primitive Data");
|
CResTypeInfo *pType = new CResTypeInfo(eAnimCollisionPrimData, "Animation Collision Primitive Data");
|
||||||
|
@ -168,7 +167,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eAnimSet, "Animation Character Set");
|
CResTypeInfo *pType = new CResTypeInfo(eAnimSet, "Animation Character Set");
|
||||||
AddExtension(pType, "ANCS", ePrimeDemo, eEchoes);
|
AddExtension(pType, "ANCS", ePrimeDemo, eEchoes);
|
||||||
pType->mRawExtension = "acs";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eArea, "Area");
|
CResTypeInfo *pType = new CResTypeInfo(eArea, "Area");
|
||||||
|
@ -201,12 +199,10 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eBinaryData, "Generic Data");
|
CResTypeInfo *pType = new CResTypeInfo(eBinaryData, "Generic Data");
|
||||||
AddExtension(pType, "DUMB", ePrimeDemo, eCorruption);
|
AddExtension(pType, "DUMB", ePrimeDemo, eCorruption);
|
||||||
pType->mRawExtension = "dat";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eBurstFireData, "Burst Fire Data");
|
CResTypeInfo *pType = new CResTypeInfo(eBurstFireData, "Burst Fire Data");
|
||||||
AddExtension(pType, "BFRC", eCorruptionProto, eCorruption);
|
AddExtension(pType, "BFRC", eCorruptionProto, eCorruption);
|
||||||
pType->mRawExtension = "bfre";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eCharacter, "Character");
|
CResTypeInfo *pType = new CResTypeInfo(eCharacter, "Character");
|
||||||
|
@ -224,7 +220,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eFont, "Font");
|
CResTypeInfo *pType = new CResTypeInfo(eFont, "Font");
|
||||||
AddExtension(pType, "FONT", ePrimeDemo, eReturns);
|
AddExtension(pType, "FONT", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "rpff";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eGuiFrame, "Gui Frame");
|
CResTypeInfo *pType = new CResTypeInfo(eGuiFrame, "Gui Frame");
|
||||||
|
@ -264,7 +259,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticle, "Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticle, "Particle System");
|
||||||
AddExtension(pType, "PART", ePrimeDemo, eReturns);
|
AddExtension(pType, "PART", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "gpsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleCollisionResponse, "Collision Response Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleCollisionResponse, "Collision Response Particle System");
|
||||||
|
@ -273,37 +267,30 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleDecal, "Decal Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleDecal, "Decal Particle System");
|
||||||
AddExtension(pType, "DPSC", ePrimeDemo, eCorruption);
|
AddExtension(pType, "DPSC", ePrimeDemo, eCorruption);
|
||||||
pType->mRawExtension = "dpsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleElectric, "Electric Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleElectric, "Electric Particle System");
|
||||||
AddExtension(pType, "ELSC", ePrimeDemo, eCorruption);
|
AddExtension(pType, "ELSC", ePrimeDemo, eCorruption);
|
||||||
pType->mRawExtension = "elsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleSorted, "Sorted Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleSorted, "Sorted Particle System");
|
||||||
AddExtension(pType, "SRSC", eEchoesDemo, eEchoes);
|
AddExtension(pType, "SRSC", eEchoesDemo, eEchoes);
|
||||||
pType->mRawExtension = "srsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleSpawn, "Spawn Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleSpawn, "Spawn Particle System");
|
||||||
AddExtension(pType, "SPSC", eEchoesDemo, eReturns);
|
AddExtension(pType, "SPSC", eEchoesDemo, eReturns);
|
||||||
pType->mRawExtension = "spsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleSwoosh, "Swoosh Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleSwoosh, "Swoosh Particle System");
|
||||||
AddExtension(pType, "SWHC", ePrimeDemo, eReturns);
|
AddExtension(pType, "SWHC", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "swsh";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleTransform, "Transform Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleTransform, "Transform Particle System");
|
||||||
AddExtension(pType, "XFSC", eReturns, eReturns);
|
AddExtension(pType, "XFSC", eReturns, eReturns);
|
||||||
pType->mRawExtension = "xfsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eParticleWeapon, "Weapon Particle System");
|
CResTypeInfo *pType = new CResTypeInfo(eParticleWeapon, "Weapon Particle System");
|
||||||
AddExtension(pType, "WPSC", ePrimeDemo, eCorruption);
|
AddExtension(pType, "WPSC", ePrimeDemo, eCorruption);
|
||||||
pType->mRawExtension = "wpsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(ePathfinding, "Pathfinding Mesh");
|
CResTypeInfo *pType = new CResTypeInfo(ePathfinding, "Pathfinding Mesh");
|
||||||
|
@ -340,7 +327,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eSkeleton, "Skeleton");
|
CResTypeInfo *pType = new CResTypeInfo(eSkeleton, "Skeleton");
|
||||||
AddExtension(pType, "CINF", ePrimeDemo, eReturns);
|
AddExtension(pType, "CINF", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "cin";
|
|
||||||
pType->mHidden = true;
|
pType->mHidden = true;
|
||||||
pType->mCanHaveDependencies = false;
|
pType->mCanHaveDependencies = false;
|
||||||
}
|
}
|
||||||
|
@ -366,12 +352,10 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
AddExtension(pType, "AFSM", ePrimeDemo, eEchoes);
|
AddExtension(pType, "AFSM", ePrimeDemo, eEchoes);
|
||||||
AddExtension(pType, "FSM2", eCorruptionProto, eCorruption);
|
AddExtension(pType, "FSM2", eCorruptionProto, eCorruption);
|
||||||
AddExtension(pType, "FSMC", eReturns, eReturns);
|
AddExtension(pType, "FSMC", eReturns, eReturns);
|
||||||
pType->mRawExtension = "fsm";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eStateMachine2, "State Machine 2");
|
CResTypeInfo *pType = new CResTypeInfo(eStateMachine2, "State Machine 2");
|
||||||
AddExtension(pType, "FSM2", eEchoesDemo, eCorruption);
|
AddExtension(pType, "FSM2", eEchoesDemo, eCorruption);
|
||||||
pType->mRawExtension = "fsm2";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eStaticGeometryMap, "Static Geometry Map");
|
CResTypeInfo *pType = new CResTypeInfo(eStaticGeometryMap, "Static Geometry Map");
|
||||||
|
@ -411,7 +395,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes()
|
||||||
{
|
{
|
||||||
CResTypeInfo *pType = new CResTypeInfo(eWorld, "World");
|
CResTypeInfo *pType = new CResTypeInfo(eWorld, "World");
|
||||||
AddExtension(pType, "MLVL", ePrimeDemo, eReturns);
|
AddExtension(pType, "MLVL", ePrimeDemo, eReturns);
|
||||||
pType->mRawExtension = "mwld";
|
|
||||||
pType->mCanBeSerialized = true;
|
pType->mCanBeSerialized = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ class CResTypeInfo
|
||||||
|
|
||||||
EResType mType;
|
EResType mType;
|
||||||
TString mTypeName;
|
TString mTypeName;
|
||||||
TString mRawExtension;
|
|
||||||
std::vector<SGameExtension> mCookedExtensions;
|
std::vector<SGameExtension> mCookedExtensions;
|
||||||
bool mHidden;
|
bool mHidden;
|
||||||
bool mCanBeSerialized;
|
bool mCanBeSerialized;
|
||||||
|
@ -39,7 +38,6 @@ public:
|
||||||
// Accessors
|
// Accessors
|
||||||
inline EResType Type() const { return mType; }
|
inline EResType Type() const { return mType; }
|
||||||
inline TString TypeName() const { return mTypeName; }
|
inline TString TypeName() const { return mTypeName; }
|
||||||
inline TString RawExtension() const { return mRawExtension; }
|
|
||||||
inline bool IsVisibleInBrowser() const { return !mHidden; }
|
inline bool IsVisibleInBrowser() const { return !mHidden; }
|
||||||
inline bool CanBeSerialized() const { return mCanBeSerialized; }
|
inline bool CanBeSerialized() const { return mCanBeSerialized; }
|
||||||
inline bool CanHaveDependencies() const { return mCanHaveDependencies; }
|
inline bool CanHaveDependencies() const { return mCanHaveDependencies; }
|
||||||
|
|
Loading…
Reference in New Issue