Legacy cleanup, part 2 (#3659)

* Legacy cleanup, part 2

There are still things that can be removed, those will be likely done in part three:
`The Return of the Cleanup` :)

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix windows build

Somehow there were some unfixed errors from enabled warnings?
I'm unsure if I've pulled repo in unstable state, or those were somehow
missed.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
Artur K
2021-08-30 22:40:02 +02:00
committed by GitHub
parent fa0f2a1007
commit 96a5f06ca3
116 changed files with 189 additions and 18706 deletions
+5 -8
View File
@@ -108,9 +108,6 @@ public:
virtual void ForceSet(const char* s);
virtual void SetOnChangeCallback(ConsoleVarFunc pChangeFunc);
virtual uint64 AddOnChangeFunctor(const SFunctor& pChangeFunctor) override;
virtual bool RemoveOnChangeFunctor(const uint64 nFunctorId) override;
virtual uint64 GetNumberOfOnChangeFunctors() const;
virtual const SFunctor& GetOnChangeFunctor(uint64 nFunctorId) const override;
virtual ConsoleVarFunc GetOnChangeCallback() const;
virtual bool ShouldReset() const { return (m_nFlags & VF_RESETTABLE) != 0; }
@@ -250,7 +247,7 @@ public:
virtual void GetMemoryUsage(class ICrySizer* pSizer) const { pSizer->AddObject(this, sizeof(*this)); }
private: // --------------------------------------------------------------------------------------------
AZStd::string m_sValue;
AZStd::string m_sValue;
AZStd::string m_sDefault; //!<
};
@@ -315,7 +312,7 @@ public:
virtual void GetMemoryUsage(class ICrySizer* pSizer) const { pSizer->AddObject(this, sizeof(*this)); }
protected: // --------------------------------------------------------------------------------------------
int m_iValue;
int m_iValue;
int m_iDefault; //!<
};
@@ -382,7 +379,7 @@ public:
virtual void GetMemoryUsage(class ICrySizer* pSizer) const { pSizer->AddObject(this, sizeof(*this)); }
protected: // --------------------------------------------------------------------------------------------
int64 m_iValue;
int64 m_iValue;
int64 m_iDefault; //!<
};
@@ -488,7 +485,7 @@ protected:
private: // --------------------------------------------------------------------------------------------
float m_fValue;
float m_fValue;
float m_fDefault; //!<
};
@@ -578,7 +575,7 @@ public:
virtual void GetMemoryUsage(class ICrySizer* pSizer) const { pSizer->AddObject(this, sizeof(*this)); }
private: // --------------------------------------------------------------------------------------------
int& m_iValue;
int& m_iValue;
int m_iDefault; //!<
};