Updated outdated IArchive documentation and got rid of old template reader/writer classes

This commit is contained in:
Aruki
2018-10-21 19:23:41 -06:00
parent 1bc95a30a5
commit 64e0aa8a44
17 changed files with 11 additions and 1514 deletions

View File

@@ -95,9 +95,6 @@ struct SPropertyTemplatePath
/** CGameTemplate - Per-game template data */
class CGameTemplate
{
friend class CTemplateLoader;
friend class CTemplateWriter;
EGame mGame;
TString mSourceFile;
bool mFullyLoaded;

View File

@@ -43,9 +43,6 @@ struct SAttachment
*/
class CScriptTemplate
{
friend class CTemplateLoader;
friend class CTemplateWriter;
public:
enum ERotationType {
eRotationEnabled, eRotationDisabled

View File

@@ -23,7 +23,6 @@ struct SScriptArray
class CArrayProperty : public TTypedProperty<u32, EPropertyType::Array>
{
friend class IProperty;
friend class CTemplateLoader;
/** This class inherits from TTypedPropertyNew<int> in order to expose the array
* count value (the first member of SScriptArray). Outside users can edit this

View File

@@ -6,7 +6,6 @@
class CAssetProperty : public TSerializeableTypedProperty<CAssetID, EPropertyType::Asset>
{
friend class CTemplateLoader;
friend class IProperty;
CResTypeFilter mTypeFilter;

View File

@@ -13,7 +13,6 @@
template<EPropertyType TypeEnum>
class TEnumPropertyBase : public TSerializeableTypedProperty<s32, TypeEnum>
{
friend class CTemplateLoader;
friend class IProperty;
struct SEnumValue

View File

@@ -5,7 +5,6 @@
class CFlagsProperty : public TSerializeableTypedProperty<u32, EPropertyType::Flags>
{
friend class CTemplateLoader;
friend class IProperty;
struct SBitFlag

View File

@@ -5,7 +5,6 @@
class CPointerProperty : public TTypedProperty<void*, EPropertyType::Pointer>
{
friend class CTemplateLoader;
friend class IProperty;
CPointerProperty(EGame Game)

View File

@@ -1,6 +1,5 @@
#include "CPropertyNameGenerator.h"
#include "IUIRelay.h"
#include "Core/Resource/Factory/CTemplateLoader.h"
#include "Core/Resource/Script/CGameTemplate.h"
#include "Core/Resource/Script/NPropertyMap.h"
#include <Common/Hash/CCRC32.h>

View File

@@ -5,7 +5,6 @@
class CStructProperty : public IProperty
{
friend class CTemplateLoader;
friend class IProperty;
public:

View File

@@ -111,9 +111,6 @@ enum class ECookPreference
/** New property class */
class IProperty
{
friend class CTemplateLoader;
friend class CPropertyFactory;
protected:
/** Flags */
FPropertyFlags mFlags;