mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-14 15:46:17 +00:00
Updated outdated IArchive documentation and got rid of old template reader/writer classes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -43,9 +43,6 @@ struct SAttachment
|
||||
*/
|
||||
class CScriptTemplate
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class CTemplateWriter;
|
||||
|
||||
public:
|
||||
enum ERotationType {
|
||||
eRotationEnabled, eRotationDisabled
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
class CAssetProperty : public TSerializeableTypedProperty<CAssetID, EPropertyType::Asset>
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class IProperty;
|
||||
|
||||
CResTypeFilter mTypeFilter;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
template<EPropertyType TypeEnum>
|
||||
class TEnumPropertyBase : public TSerializeableTypedProperty<s32, TypeEnum>
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class IProperty;
|
||||
|
||||
struct SEnumValue
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
class CFlagsProperty : public TSerializeableTypedProperty<u32, EPropertyType::Flags>
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class IProperty;
|
||||
|
||||
struct SBitFlag
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
class CPointerProperty : public TTypedProperty<void*, EPropertyType::Pointer>
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class IProperty;
|
||||
|
||||
CPointerProperty(EGame Game)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
class CStructProperty : public IProperty
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class IProperty;
|
||||
|
||||
public:
|
||||
|
||||
@@ -111,9 +111,6 @@ enum class ECookPreference
|
||||
/** New property class */
|
||||
class IProperty
|
||||
{
|
||||
friend class CTemplateLoader;
|
||||
friend class CPropertyFactory;
|
||||
|
||||
protected:
|
||||
/** Flags */
|
||||
FPropertyFlags mFlags;
|
||||
|
||||
Reference in New Issue
Block a user