From 6a01bf598276e5fd2437dd0c5d407b2b4ac1bbb9 Mon Sep 17 00:00:00 2001 From: Aruki Date: Tue, 4 Jul 2017 19:55:44 -0600 Subject: [PATCH] Removed raw extensions --- src/Core/Resource/CResTypeInfo.cpp | 17 ----------------- src/Core/Resource/CResTypeInfo.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/src/Core/Resource/CResTypeInfo.cpp b/src/Core/Resource/CResTypeInfo.cpp index d908f19d..c4c9659e 100644 --- a/src/Core/Resource/CResTypeInfo.cpp +++ b/src/Core/Resource/CResTypeInfo.cpp @@ -152,7 +152,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eAnimation, "Animation"); AddExtension(pType, "ANIM", ePrimeDemo, eReturns); - pType->mRawExtension = "ani"; } { 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"); AddExtension(pType, "ANCS", ePrimeDemo, eEchoes); - pType->mRawExtension = "acs"; } { CResTypeInfo *pType = new CResTypeInfo(eArea, "Area"); @@ -201,12 +199,10 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eBinaryData, "Generic Data"); AddExtension(pType, "DUMB", ePrimeDemo, eCorruption); - pType->mRawExtension = "dat"; } { CResTypeInfo *pType = new CResTypeInfo(eBurstFireData, "Burst Fire Data"); AddExtension(pType, "BFRC", eCorruptionProto, eCorruption); - pType->mRawExtension = "bfre"; } { CResTypeInfo *pType = new CResTypeInfo(eCharacter, "Character"); @@ -224,7 +220,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eFont, "Font"); AddExtension(pType, "FONT", ePrimeDemo, eReturns); - pType->mRawExtension = "rpff"; } { CResTypeInfo *pType = new CResTypeInfo(eGuiFrame, "Gui Frame"); @@ -264,7 +259,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eParticle, "Particle System"); AddExtension(pType, "PART", ePrimeDemo, eReturns); - pType->mRawExtension = "gpsm"; } { 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"); AddExtension(pType, "DPSC", ePrimeDemo, eCorruption); - pType->mRawExtension = "dpsm"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleElectric, "Electric Particle System"); AddExtension(pType, "ELSC", ePrimeDemo, eCorruption); - pType->mRawExtension = "elsm"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleSorted, "Sorted Particle System"); AddExtension(pType, "SRSC", eEchoesDemo, eEchoes); - pType->mRawExtension = "srsm"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleSpawn, "Spawn Particle System"); AddExtension(pType, "SPSC", eEchoesDemo, eReturns); - pType->mRawExtension = "spsm"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleSwoosh, "Swoosh Particle System"); AddExtension(pType, "SWHC", ePrimeDemo, eReturns); - pType->mRawExtension = "swsh"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleTransform, "Transform Particle System"); AddExtension(pType, "XFSC", eReturns, eReturns); - pType->mRawExtension = "xfsm"; } { CResTypeInfo *pType = new CResTypeInfo(eParticleWeapon, "Weapon Particle System"); AddExtension(pType, "WPSC", ePrimeDemo, eCorruption); - pType->mRawExtension = "wpsm"; } { CResTypeInfo *pType = new CResTypeInfo(ePathfinding, "Pathfinding Mesh"); @@ -340,7 +327,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eSkeleton, "Skeleton"); AddExtension(pType, "CINF", ePrimeDemo, eReturns); - pType->mRawExtension = "cin"; pType->mHidden = true; pType->mCanHaveDependencies = false; } @@ -366,12 +352,10 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() AddExtension(pType, "AFSM", ePrimeDemo, eEchoes); AddExtension(pType, "FSM2", eCorruptionProto, eCorruption); AddExtension(pType, "FSMC", eReturns, eReturns); - pType->mRawExtension = "fsm"; } { CResTypeInfo *pType = new CResTypeInfo(eStateMachine2, "State Machine 2"); AddExtension(pType, "FSM2", eEchoesDemo, eCorruption); - pType->mRawExtension = "fsm2"; } { CResTypeInfo *pType = new CResTypeInfo(eStaticGeometryMap, "Static Geometry Map"); @@ -411,7 +395,6 @@ void CResTypeInfo::CResTypeInfoFactory::InitTypes() { CResTypeInfo *pType = new CResTypeInfo(eWorld, "World"); AddExtension(pType, "MLVL", ePrimeDemo, eReturns); - pType->mRawExtension = "mwld"; pType->mCanBeSerialized = true; } } diff --git a/src/Core/Resource/CResTypeInfo.h b/src/Core/Resource/CResTypeInfo.h index d1ff54e2..d3e30475 100644 --- a/src/Core/Resource/CResTypeInfo.h +++ b/src/Core/Resource/CResTypeInfo.h @@ -19,7 +19,6 @@ class CResTypeInfo EResType mType; TString mTypeName; - TString mRawExtension; std::vector mCookedExtensions; bool mHidden; bool mCanBeSerialized; @@ -39,7 +38,6 @@ public: // Accessors inline EResType Type() const { return mType; } inline TString TypeName() const { return mTypeName; } - inline TString RawExtension() const { return mRawExtension; } inline bool IsVisibleInBrowser() const { return !mHidden; } inline bool CanBeSerialized() const { return mCanBeSerialized; } inline bool CanHaveDependencies() const { return mCanHaveDependencies; }